The script plots horizontal lines on the price chart for key trading levels, including previous day high and low, daily session ranges split into Asia and London, and gaps labeled NDOG daily, NWOG weekly, and NMOG monthly.
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
Key Levels Pro optionally shows wick rejection symbols when a candle's wick touches a level but closes on the opposite side. Users adjust visibility, colors, line style, width, and label display for each level type, plus set chart timezone and history lookback for gaps. It draws all elements directly on the main price chart with no separate pane or signals. Main settings control which levels appear and their visual properties. It provides no entry or exit rules, making it a static level reference tool without stop loss or position sizing.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Chart Timezone (Set to New York)
string
UTC-4
timezone_info
Show Wick Rejection Symbols
bool
true
show_rejections
[DAILY] Previous Day High/Low
bool
true
show_pd_levels
pd_color
color
color.new(#ffffff, 60)
pd_color
[DAILY] Session Highs/Lows
bool
true
show_session_levels
Asia Range
color
color.new(color.red, 75)
asia_color
London Range
color
color.new(color.yellow, 75)
london_color
[GAPS] Daily (NDOG)
bool
true
show_ndog
History
int
3
ndog_history
ndog_color
color
color.new(color.blue, 70)
ndog_color
[GAPS] Weekly (NWOG)
bool
true
show_nwog
History
int
4
nwog_history
Show all 23 settings
Setting
Type
Default
Variable
nwog_color
color
color.new(color.orange, 70)
nwog_color
[GAPS] Monthly (NMOG)
bool
true
show_nmog
History
int
3
nmog_history
nmog_color
color
color.new(color.purple, 70)
nmog_color
Line Style
string
Dotted
line_style_input
Line Width
int
1
line_width
Show Line Labels
bool
true
show_labels
Bullish Symbol
string
Triangle Up
bull_symbol_str
bull_color
color
color.new(color.lime, 0)
bull_color
Bearish Symbol
string
Triangle Down
bear_symbol_str
bear_color
color
color.new(color.red, 0)
bear_color
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.
This indicator builds Market Profile Time Price Opportunity (TPO) structures across defined session timeframes directly on the main price chart. It visualizes the Point of Control (POC) and Value Area boundaries using dynamic box drawings. An integrated multi-
This indicator plots auto trade signals for E-mini S&P 500 futures on the price chart. It computes an EMA200 filter along with day ETH RTH session levels and percentage-based entry zones. Signals trigger CALL or PUT cases when price crosses defined thresholds
The Golden Bullet Strategy is an overlay signal indicator based on Smart Money Concepts and time-based liquidity models. It identifies liquidity sweeps of a designated reference session range during a specified hunt window. It then confirms Market Structure Sh
Indicatorv6SMC / ICT / price actionSessions & time
This indicator plots reference levels for previous daily high and low prices directly on the price chart. It requests daily timeframe data using the security function and plots the offset values as continuous lines, displaying resistance in red and support in
This overlay indicator plots option strike walls and an optional session VWAP on the price chart for SPY or ES. It spaces major strikes by the selected instrument, draws a set number of strikes on each side, and marks wall-trap and sweep events after a cooldow
This indicator plots reference levels and session markers directly on the price chart. It calculates and draws lines for the daily open, weekly open, monthly open, previous day OHLC, and previous week extremes, along with a selectable day-of-week range and ini