I am using Streak on a free trial. Can you help me to code this?
ENTRY WHEN - 1) CLOSE(0) IS HIGHER THAN PRE CANDLE (-1, HIGH)
2) AND -1 CANDLE HIGH IS LOWER THAN LBB (BOLLINGER BAND)
EXIT 1) LOW OF -1 (CANDLE HIGH IS LOWER THAN LBB (BOLLINGER BAND)
I have created a strategy based on your requirement. Click on the below link to access the strategy.
In the above strategy, the Stop loss (SL) is randomly selected as high so that the levels are highly unlikely to be met and exit happens solely based on the exit conditions. The Target profit is also randomly selected as 2%, you can change the SL/TP as desired. The exit conditions will trigger an exit when any 5-minute candle has close lower than the low of Signal candle -1 (i.e. the candle with the high lower than Lower Bollinger bands). I have selected the 5-minute time frame, you can change the time frame as per your preference.
To select the previous candle high I have used the Offset function of Streak and to create the exit conditions I have used the Signal candle function. You can refer to the below links to learn more about this:
Offset- In-depth - Streak Help
Signal candle- Indicators - Streak Help
Thank you brother its working fine.