An overlay indicator that builds opening range levels from a configurable market open time in the Asia/Kolkata timezone, then derives sub-levels and second and third support and resistance lines from the range.
1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
4Add it to the chartPress Add to chart, then adjust the settings with the gear icon next to its name.
Source Code
The code stays on GitHub. The author has not published this script under an open licence, so ForexR does not show its code. Copy script reads the file straight from GitHub into your clipboard, so you can still try it on your own chart. Ask the author before reusing the code anywhere else.
Overview
OR Levels + EMA Cross Integrated v2 adds 9 and 21 EMAs with crossover arrows and counters for crosses and alerts per day. Inputs set the open time, range candle count, days shown and which levels display. Aimed at index charts such as NIFTY.
Opening range levels with R2/S2 and R3/S3 extensions
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Market Open Hour
int
9
marketHour
Market Open Minute
int
15
marketMinute
Opening Range Candle Count
int
1
rangeCandles
Show Past Days
int
30
showDays
Show Formula Labels
bool
false
showFormulaLabels
Show EMA Cross Labels
bool
false
showEMALabels
Index Chart (NIFTY/SENSEX)
bool
true
isIndexChart
Show Sub Support/Resistance
bool
false
showSubLevels
Show Resistance2 / Support2
bool
false
showR2S2
Show Resistance3 / Support3
bool
false
showR3S3
Show Buy CE/PE
bool
false
showBuyLevels
Fast EMA Length
int
9
ema9Length
Show all 13 settings
Setting
Type
Default
Variable
Slow EMA Length
int
21
ema21Length
Third-party code. ForexR did not write, test or endorse this script, and the summary above was generated automatically from its code and README. Indicators describe the past, and a strategy's backtest can look better than live trading, especially when a script repaints. Check it in the Strategy Tester and on a demo account before you rely on it.
The Midnight VWAP indicator calculates and overlays two distinct Volume Weighted Average Price (VWAP) lines on the price chart based on customizable session timeframes. It tracks an overnight or pre-market session alongside regular trading hours, resetting cal
This indicator estimates gamma exposure levels and intraday context for index instruments like SPY and ES. It calculates VWAP with standard deviation bands as a gamma flip proxy, highlighting market regimes through background colors. It plots prior day high, l
Edge Atlas draws a right-edge price-level atlas on the price chart. Modules produce day, week, and other period highs, lows, opens, and closes, plus pivot points, Fibonacci levels, support and resistance zones, session ranges, round numbers, and VWAP. A shared
LunarTick Levels plots key daily reference levels and multi-timeframe simple moving averages directly on the price chart. It highlights key price points including the Opening Print, Previous Day High and Low, and Overnight High and Low. Additionally, it projec
This indicator plots price action tools directly on the main price chart. It shades candles according to Internal Bar Strength (IBS) and optional wick-length thresholds to differentiate trend bars from trading ranges. The script tracks session bar counts durin
TradeKit is an all-in-one technical analysis indicator that consolidates multiple chart overlays into a single script on the price chart. It plots up to four customizable moving averages (SMA, EMA, SMMA, WMA, or VWMA), Bollinger Bands, VWAP, and reference leve