How to use Open price to set strike price — Tradetron Community
← Community

How to use Open price to set strike price

Strategy 1,547 views

Pulkit Singhal

How to use today open price to set ATM strike price in formula builder?
By default it takes ATM strike to be what the price is at that time but I want to fix it to day open price.

Pulkit Singhal

@Ujjwal can you help with this please?
I am having trouble using OHLC prices in any formula.

Learn

@pulkit92
I haven’t tried it, but just thinking loudly…you may want to find out (use position) day Open of day and then round it to appropriate level so that you get the strike price.

Tradetron Team Tradetron team

Use Initialize Variables to freeze the strike at the open.

  1. In Advanced Settings, set Start condition check after exchange open to 1 second.
  2. In Initialize Variables, store the strike from the day’s open, for example by rounding the spot price: Round(LTP(NIFTY 50 spot), '50') (base 50 for NIFTY, 100 for BANKNIFTY). Initialize Variables are written when the run counter starts, so the value stays fixed.
  3. In the Position Builder Strike Fx, use Get Runtime(yourvariable) instead of ATM.

The strategy must be active at 09:15. Guides: Runtime Variables in Tradetron — Capture Once, Use Anywhere | Tradetron Helpdesk and Keyword Documentation — Tradetron

:sparkles: Answer written with AI from Tradetron docs (Oct 2026). Original replies are kept above. Spot something wrong? Reply below.