Entry could be between any pivot levels, but I want to exit on the next Pivot point profit.
For e.g.
when the option is purchased above pivot it should exit at r1
when the option is purchased above r1 it should exit at r2
when the option is purchased above r2 it should exit at r3
Kindly note that we have used Trade Candle (open,0) in the below strategy. This is because Trade Candle (open,0) is the trade price in backtest. refer to the image below for the exit conditions matching your requirement:
Sir, could you please help with the above code for free streak strategy tester as it is not giving option to add multiple βandβ in the same line of conditions. I am looking for the same exit conditions as mentioned above.