Suppose Banknifty spot price is 51311, I wants close prices of 5 minute candles of strike multipes 500. i.e. of 51000 CE , 50500 CE,…
Suppose Banknifty spot price is 51311, I wants close prices of 5 minute candles of strike multipes 500. i.e. of 51000 CE , 50500 CE,…
try with round keyword.
Get the strikes with Round to base 500, then step by 500.
Round(LTP(NIFTY BANK), '500'). Round goes to the nearest multiple, so 51311 gives 51500.Round(Math Operation(LTP(NIFTY BANK), Number(250), '-'), '500') → 51061 rounds to 51000.For each strike, build the option instrument (NIFTY BANK, expiry, that strike, CE) and read the last closed candle:
Position(CLOSE(Symbol(<that option>, '5m')), -1)
Check on the live option chain that each strike exists for your expiry. Test in Live Offline and see the values in the Notification Log. Keyword reference: Keyword Documentation — Tradetron
Answer written with AI from Tradetron docs (Oct 2026). Original replies are kept above. Spot something wrong? Reply below.
Joins open 10 minutes before. You'll also see a Join button on your dashboard.
Pricing, brokers, strategies — anything.
AI can make mistakes. Consider checking important information.
How good was it?
We store the question and the answer with your report so the team can audit it.