Avoid duplicate ATM strike straddle

Hello,

I need to create ATM straddle at every hour say 10am , 11am etc.
While creating a new straddle I need to check if the straddle at same price has been created earlier at entry or repaironce on repair continuous time?

for example if I created ATM straddle at strike price Nifty 16300 at 10am, while creating second ATM straddle at 11am I need to check if the ATM straddle is not at Nifty 16300

How do I achieve this?

Thanks

add this in entry run time variable
strikeselected ( Round ( LTP ( Instrument Name ( ‘NFO,NIFTY BANK,’ ) , ‘LTP’ ) , ‘100’ ) )

While creating next straddle , check below condition
Round(LTP(Instrument Name (NFO,NIFTY BANK,)),100 != Get Runtime strikeselected