I am using two set strategy with Entry , Repair and Exit condition . For Call and Put , want the entry in set-2 immediately after set -1 exit .
For ex Exit condition of set-1
LTP < Last Repaired Price -40 ( Exit of CE ), Now immediately after exit want to take the entry in PE . in set -2
What will be the Entry condition
Assuming you buy CE in Set 1 entry and exit (sell it) in set exit (means traded quantity in ext is negative number) these should be the conditions for set 2 entry:
Note: Leg number in Traded Instrument keyword should be “None” when condition type is exit, as shown above.
Use runtime variable in set exit of set 1
Use that runtime in entry of set 2 with AND condition