This is enhanced version of BuyTheDip Strategy which can be used for stocks and cryptos as well along with indices.
In addition to V1, the enhancement include breaking the zone into multiple levels based on multiple standard deviation Bollinger bands. Dip is confirmed only when price bounce back certain levels from the bottom. If price keeps going down, strategy does not generate signal.
Input parameters are as below:
ATR Parameters : AtrLength and AtrMult to calculate trailing stops
Trailing Condition parameters: TrailAfterBars, TrailTargetState - Trailing does not happen immediately. It either waits for TrailAfterBars to complete or price moves up by TrailTargetState levels in multi bollinger band level setup - whichever happens first.
Force Exit Parameters: If the price state based on multi-bollinger bands drop by TargetStopStateDiff level from its peak, then it will force exit from the trade if ExitOnFailureSignal is checked.
Entry Filters: It is not a dip if the instrument is already in downtrend. ConsiderYearlyHighLow, ConsiderNewLongTermHighLows and ConsiderMAAlignment are used for filtering entries so that we only buy the dip for uptrending instruments.
הערות שחרור
Remove calc_on_order_fills
סקריפט מוגן
סקריפט זה פורסם כמקור סגור. עם זאת, אתה יכול להשתמש בו באופן חופשי וללא כל הגבלה - למד עוד כאן.
המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.
המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.