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.