Finding a particular strike price & Tracking its price
Strategy1,474 views
Kedar Shamrao Kulkarni
Want to achieve following:
First, find out nearest 50 ATM strike relating to Open of Nifty 50 Spot.
Then, track price of that particular ATM strike PE & CE and take position only when LTP goes above certain % of their Open prices.
All is intra-day only.
Example:
Nifty 50 Spot opens @ 17232. So first, want to fix ATM strike at 17250 (nearest 50).
Then find out Open price of this ATM PE and CE strike. Say, its 100 Rs & 120 Rs respectively.
Want to take Buy position If & only when price of this ATM PE or CE goes above, say, 10% of Open. i.e. if & only when 17250 PE is > 110 Rs, Buy or if & only when 17250 CE is > 132 Rs, Buy.
Can someone help in this?
Suresh
I am also looing the same.
Tradetron TeamTradetron team
Fix the strike from the day’s open with a formula, then use the same formula in the condition and the leg:
The strike:Round ( Position ( OPEN ( Symbol ( NIFTY 50 spot, 1d ) ), 0 ), 50 ). Round snaps to the nearest multiple of 50, so a 17232 open gives 17250. Because it uses the day’s open, it stays the same all day.
Entry condition for CE: LTP of the CE at that strike > its own day OPEN × Number(1.10) (10% above its open). Build the PE the same way, in a second set.
Position Builder Strike Fx: put the same Round(…) formula there, so the leg trades the strike you checked.
Don’t try to store the strike in a runtime variable first: runtime variables are written only after a leg is taken. Test it in Live Offline before going live, and check the strike in the Notification Logs.
Answer written with AI from Tradetron docs (Oct 2026). Original replies are kept above. Spot something wrong? Reply below.