Find strike based on atm with percentage

how to find strike 7% of atm (spot price). I did this (below image), but I am wrong.

E.g.: CE ATM = 450, and 7% of 450 is 31.5, so I want to find a strike whose LTP is below 31.5.

I got the answer; my mistake was that I hadn’t provided the LTP( instrument name detail). To make it cleaner, like what I did below:

Runtime Variable : “ce_price_atm” - ( LTP ( Instrument Name ( ‘NFO,NIFTY BANK,Current Week,CE,ATM-SPOT,’ ) , ‘LTP’ ) )

and to find strike based on 10% of ATM

Find Strike (NIFTY BANK, Select Expiry ( week, 0 ) , ltp, Math Operation ( Get Runtime Number ( ce_price_atm ) , Number ( 0.1 ) , * ) , CE, lesser)

1 Like