Auto selection of strikprice based on market direction — Tradetron Community
← Community

Auto selection of strikprice based on market direction

General 1,042 views

ris

How to automate strike selection based on market direction along with relevant option to buy in order to move with the direction of the trend?

Tradetron Team Tradetron team

Use two sets, one for each direction.

  • Set 1 (bullish): entry = your up-trend condition (for example LTP > EMA(..., 20) or Supertrend up). Position = buy CE, Strike Fx = ATM SPOT(NIFTY 50, 0).
  • Set 2 (bearish): entry = the opposite condition. Position = buy PE, same strike.

The ATM SPOT keyword picks the strike from the spot price at the time of entry. Use the “ATM +/- n Step(s)” offset to go ITM or OTM. Add a check so both sets cannot be open together, for example Open Positions Detail count == 0.

We cannot suggest which trend rule to use. Strike selection guide: "Strike" Fx in Position Builder: Different Examples of its uses

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