INVITE-ONLY SCRIPT
מעודכן

QaSH Linear Regression + SuperTrend

1 123
This script uses linear regression and standard deviation measurements to trigger entries and calculate placement of TP and SL prices. A larger linear regression line will provide the market trend, while a smaller linear regression line will look for pullback entries within the larger trend. Up to 10 orders can run in parallel as a form of pyramiding in and out of a position. The supertrend is used as an additional filter for trend confirmation.
Trend following and mean reversion entries can be used per your preference. Several other entry filters are available for confirmation.

The stoplosses can be moved to breakeven during a trade, and an alert will be sent that includes the exact order ID that needs to be moved, and to what price. This is an advanced feature that is very powerful when used with a capable automation service.
הערות שחרור
added max drawdown input
הערות שחרור
added placeholder for syminfo.mintick in alert messages. This will be used for limit loops in an automation service
הערות שחרור
Added support for % risk of equity position sizing
הערות שחרור
minor fix for plots on the chart not updating when they should
הערות שחרור
added placeholder in alert messages for closing all positions
הערות שחרור
minor typo fixes
הערות שחרור
added some placeholders in alert messages

כתב ויתור

המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.