Pine Script Developer for NSE, BSE and MCX Traders
Custom TradingView indicators and strategies for NIFTY, BANKNIFTY, F&O stocks and MCX commodities, built around IST sessions, exchange holidays and expiry days.
Many TradingView scripts are written for US markets and simply assume their hours. Indian equities and F&O trade 9:15 to 15:30 IST, MCX runs into the evening, and expiry days and exchange holidays change how levels and signals should behave.
We write Pine Script for Indian traders with those details built in from the start.
Regulation: SEBI introduced a framework in 2025 for retail algorithmic trading through brokers. Our scripts are for charting, research and alerts; any automated order placement must go through your broker's approved channels. We do not provide investment advice or tips.
//@version=6
indicator("Opening range (NSE, IST)", overlay = true)
sess = input.session("0915-0930", "Opening range")
inRange = not na(time(timeframe.period, sess, "Asia/Kolkata"))
var float hi = na
var float lo = na
if inRange and not inRange[1] // first bar of a new range
hi := high
lo := low
else if inRange
hi := math.max(hi, high)
lo := math.min(lo, low)
plot(inRange ? na : hi, "Range high", color.teal, style = plot.style_linebr)
plot(inRange ? na : lo, "Range low", color.red, style = plot.style_linebr)
Opening range, CPR, VWAP, previous day levels and supertrend variants.
Indicators that mark weekly and monthly expiries and option strikes you supply.
Tables scanning NIFTY 50 or your watchlist for your setup.
Crude oil, natural gas, gold and silver with MCX session handling.
| Detail | How the script handles it |
|---|---|
| NSE and BSE sessions | Sessions defined in Asia/Kolkata time for 9:15-15:30, with the pre-open excluded |
| Expiry days | Expiry logic configured from current exchange calendars, which change from time to time |
| MCX sessions | Longer evening sessions for commodities, kept separate from equity session logic |
| Exchange holidays | Logic that copes with missing sessions and special trading days |
| Lot sizes and costs | Sizing in lots and realistic brokerage, taxes and slippage in strategy tests |
| Data feeds | TradingView data for NSE, BSE and MCX depends on your plan; we note any delayed-data effects |
Working together, pricing and compliance.