Use previous day high/low, pivots (S1, S2) or CPR for Bank Nifty strike selection — Tradetron Community
← Community

Use previous day high/low, pivots (S1, S2) or CPR for Bank Nifty strike selection

Uncategorized 1,162 views

vasu

i want create strategy based on previous day high low or pivot, s1,s2,r1,r2 price levels strike price straddle based on cpr.

Tradetron Team Tradetron team

All of these levels have keywords. Use daily candles and read the previous day with Position(…, -1).

  • Previous day high / low: Position(HIGH(Symbol(<instrument>, 'day')), -1) and Position(LOW(Symbol(<instrument>, 'day')), -1)
  • Pivot levels: Pivot Point, with type 'standard', 'fibonacci' or 'camarilla' and level 'pivot', 'r1', 'r2', 's1', 's2', etc. Example: Position(Pivot Point(Symbol(<instrument>, 'day'), 'standard', 's1'), -1) (there is no ‘classical’ type).
  • CPR: the Central Pivot Range keyword returns pivot, TC and BC from the previous day.

To turn a level into a strike: in the leg’s strike Fx, wrap it in Round with that index’s strike gap (check the option chain), e.g. Round(<level>, 100) if strikes are 100 apart, or use Get Strike(underlying, ). Round goes to the nearest multiple. Test in Live Offline.

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