Assuming Nifty Spot is 20567 , I need to get the strike price which is 1% lower than current spot and 1% higher that current spot. In this example 20567 - 0.01 * 20567 = 20361 which would be strike of 20400. How to build this rule ?
Assuming Nifty Spot is 20567 , I need to get the strike price which is 1% lower than current spot and 1% higher that current spot. In this example 20567 - 0.01 * 20567 = 20361 which would be strike of 20400. How to build this rule ?
first do math operation and then use round keyword to get the strike of 20400.
Multiply the spot by 0.99 (or 1.01) with Math Operation, then snap it to a strike with Round.
Round ( Math Operation ( LTP ( NIFTY 50 ), Number ( 0.99 ), '*' ), 100 )Number ( 1.01 ).Round snaps to the nearest multiple of the base you give:
100 → 20400 (your example).50 → 20350.Use base 100 if you want only round-hundred strikes, or your index’s strike interval for the closest listed strike. Check the interval on the option chain.
Put the formula in the leg’s Strike Fx, pick the expiry and CE/PE as usual, and test in Live Offline to confirm the strike in the Notification Log. Keyword reference: Keyword Documentation — Tradetron
Answer written with AI from Tradetron docs (Oct 2026). Original replies are kept above. Spot something wrong? Reply below.
Joins open 10 minutes before. You'll also see a Join button on your dashboard.
Pricing, brokers, strategies — anything.
AI can make mistakes. Consider checking important information.
How good was it?
We store the question and the answer with your report so the team can audit it.