How to reenter in same strike once SL is hit?
Let say , I sold 22500 straddle which is at ATM.
22500 CE = 55 rupees
22500 PE = 62 rupees.
My SLL for each leg is at 100 rupees. i.e. if 22500 CE hit 100 then 22500 CE will be closed.
However, I would like to reenter 22500 CE if price comes down to 90 with SL of 100 again.
note: As market moved in CE side the current ATM would be different but I do not want to enter in different ATM strike. I want to enter in same strike 22500 ce @ 90 rupees.
How to create this in algotest?