Difference in strike in instrument name and position builder — Tradetron Community
← Community

Difference in strike in instrument name and position builder

Uncategorized 1,356 views

MEGHARAJ

I have created a strategy where EMA of ATM-2 strikes are being compared for entry. This “ATM-2” strike in entry set is achieved through Instrument Name keyword. There is no issue in this.

But the same strike is required in position builder also. So, in the Strike–> selected Fx—> Now, Round formula with Instrument as Nifty Spot. Now, this provides, not ATM strike, always.

Ex: If spot is 17122, then as per NSE, ATM should be 17100. But Round formula is rounding it to 17150. So, the trades are taken as 17150, not as 17100.

But if Nifty spot is 17140, then ATM should be 17150 and then the formula works.

This is as per my experience. Please suggest how to correct this.

Rudresh

Use round to 50 for ATM

Tradetron Team Tradetron team

Round snaps to the nearest multiple of the base. With base 50, 17122 → 17100. If you got 17150, check that the base is 50 and that the value is the spot price, not futures.

Easier: use the ATM SPOT keyword in the leg’s Strike Fx. ATM SPOT(NIFTY 50, -2) gives the strike 2 steps below spot ATM, the same as your entry condition.

Each step in ATM SPOT’s offset is one strike, so -2 is two strikes, not two points. Plain ATM uses the futures price, which is another reason strikes can differ from what you expect.

Using the same ATM SPOT offset in the condition (inside Instrument Name) and in the leg keeps both on the same strike. Test in Live Offline and compare the strike in the Notification Log. Keywords: Keyword Documentation — Tradetron

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