Entry bsed on ATMIV — Tradetron Community
← Community

Entry bsed on ATMIV

Strategy 1,714 views

DDsAlgo

I want to add an entry condition based on ATM IV movement for last 15 min.
for example:
it will start tracking ATMIV from 9:20am, then @ 9:35am after 15 min based on the % of movement also will decide wheather to enter or keep on tracking ATM IV till it meets desired % change in last 15min duration.
please help

Tradetron Team Tradetron team

Short answer: use the Atmiv keyword (ATM implied volatility of an underlying). Capture a starting value, then compare the live value with it after 15 minutes.

Simple version (fixed 9:20 → 9:35 window)

  1. Advanced Settings: set the first condition check so it starts at your tracking time, e.g. “Start condition check after exchange open” = 5 minutes. Initialize Variables are written at the first condition check of the counter.
  2. Initialize: iv0 = Atmiv ( 'NIFTY 50' ). This captures ATM IV at about 9:20.
  3. Entry: Time ( 'NSE' ) >= Number ( 935 ) AND Atmiv ( 'NIFTY 50' ) >= Math Operation ( Get Runtime Number ( iv0 ), Number ( 1.05 ), '*' ) for a 5% rise (use 0.95 and <= for a 5% fall).

Notes:

  • Atmiv picks ATM from the futures chart, not spot.
  • A rolling 15-minute window (keep tracking until it qualifies) needs updating a variable without taking a trade. Runtime variables write only after a leg is taken, so that part needs custom Python.
  • Test in Live Offline.

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