One option at any time to be there in deployment

In SAR I entered CE and PE in set 1 and set 2. When CE is squared off , PE should be entered . When PE squared off, CE to be entered . But in my deployment at the same time both CE and PE are getting traded. And in last 10 minutes 200 trades took place . How to avoid 1) both CE and PE option getting traded and have one at the time according to the SAR direction,upper or lower level ?? 2) How to avoid too many trades taking place??

Try this
Set1
Entry condition - buy signal generated
Position builder - buy CE

Repair continuous - sell signal generated
Position builder -sell CE which bought in Entry

Set2
Entry condition - sell signal generated
Position builder - buy PE

Repair continuous - buy signal generated
Position builder - sell PE which bought in Entry

To avoid multiple trade use ‘Net Quantity’ in sets
Set1:
Entry condition : Net Quantity CE = 0
Repair Continuous : Net Quantity CE != 0
Set2:
Entry condition : Net Quantity PE = 0
Repair Continuous : Net Quantity PE != 0

How to add the above? buy signal generated , buy CE etc
similarly, sell signal generated , buy PE ?
There are no keywords for them

Is the last one correct ?? Netquantity then instrument name , option ce , and = number 0??

Use ‘Traded Instrument’ ( not Instrument Name) for Net Quantity

ok changed. Parabolic SAR retraces to old positinos or travels unchanged once it is formed?

I have not much knowledge on SAR. I have just given the framework to build strategy