Entry Condition: When ATM ( rounded to 50) price is equal/same — Tradetron Community
← Community

Entry Condition: When ATM ( rounded to 50) price is equal/same

Strategy 1,296 views

Gav

Hi Everyone,

I want to put an entry condition to enter the trade when ATM CE & PE Trading price is equal or near.

There is no option to round the strike acc to future price…

Thanks

Kiran

If you keep ATM instead of Fx, it will select strike price according too Futures

Tradetron Team Tradetron team

You can do this in the entry condition, and you don’t need to round anything yourself.

Pick the strike

In the Position builder’s Strike Fx:

  • ATM picks the ATM strike from the futures price.
  • ATM SPOT picks it from the spot price.
    Both already snap to a valid strike, so no rounding to 50 is needed.

Entry when CE and PE are close

Absolute(Math Operation(LTP(<ATM CE>), LTP(<ATM PE>), '-')) < Number(5)

  • Absolute removes the sign, so it doesn’t matter which one is higher.
  • Use the same expiry and the same ATM keyword for both, so you compare the same strike.
  • Change 5 to the gap you want.

Example

CE 102, PE 99 → gap 3 → entry is true. CE 110, PE 95 → gap 15 → no entry.

Test in Live Offline. Keyword reference: Keyword Documentation — Tradetron

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