Nifty 10m Simple ORB TEST harish — Strategy by harrishdade
By version
Performance Metrics
- Author: version
- Symbol: NSE:NIFTY
- Timeframe: 10 minutes
- Net P&L: +5,904.05 INR (+0.59%)
- Win Rate: 41.0%
- Profit Factor: 1.453
- Max Drawdown: 1,960.80 INR (0.20%)
- Total Trades: 232
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)