Nifty 10m Simple ORB TEST harish — Strategy by harrishdade

By version

Performance Metrics

Description

//version=5strategy("Nifty 10m Simple ORB TEST", overlay=true)// 10m timeframe checkif timeframe.period != "10" runtime.error("Use this on 10 minute timeframe")// First 10m candle high/low (no PCR, no opposite logic – just test syntax)newDay = ta.change(time("D")) != 0var float dayHigh = navar float dayLow = naif newDay dayHigh := na dayLow := nasessStart = 0915sessEnd = 0925hhmm = hour * 100 + minuteisFirst = na(dayHigh) and hhmm >= sessStart and hhmm dayHighshortCond = not na(dayLow) and close < dayLowif longCond strategy.entry("LONG", strategy.long)if shortCond strategy.entry("SHORT", strategy.short)

Browse all 5,900+ TradingView Pine Script strategies

View on TradingView