I want to backtest, if I sell 200 point up and down from ATM both side
and also buy 300 point up and down both sides from ATM.
Daily trade time is 3.15 pm daily (BTST) and exit this position on next day 3.15
After exiting the previous day position enter into strikes with respect to current price.
It will generate an entry alert on the following instruments:
Current Weekly Nifty 50 4 strikes above the ATM CE option (short position)
Current Weekly Nifty 50 4 strikes below the ATM PE option (short position)
Current Weekly Nifty 50 6 strikes above the ATM CE option (long position)
Current Weekly Nifty 50 6 strikes below the ATM PE option (long position)
When the candle time is 15:14(at the close i.e. at 15:15:xy). Moreover, we have kept a High SL and TP value so that an exit alert is only generated the next day at 15:15:xy.
Please refer to the below link to learn about the indicator used to create your conditions: