This script plots time-based key price levels directly on the main price chart, including Wednesday high, low, and open levels, Midnight levels, and NY PreMarket session high/low levels.
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
Wed, Midnight & NY PreMarket DST System tracks global market session opens, London fixes, and key economic event timestamps. Visual markers and alerts trigger when price wicks interact with active support and resistance levels. Settings allow customizing toggles for specific Wednesday occurrences, lookback days, and color styles. Historical lines and higher-timeframe data requests repaint on live bars.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Show Wednesday High/Low Lines
bool
false
showWednesdays
Show Wednesday Open Line
bool
false
showWednesdayOpen
Show 1st Wednesday
bool
false
showW1
High Color
color
color.new(color.red, 0)
hiC1
Low Color
color
color.new(color.blue, 0)
loC1
Open Color
color
color.new(color.gray, 0)
opC1
Show 2nd Wednesday
bool
false
showW2
High Color
color
color.new(color.orange, 0)
hiC2
Low Color
color
color.new(color.aqua, 0)
loC2
Open Color
color
color.new(color.gray, 0)
opC2
Show 3rd Wednesday
bool
false
showW3
High Color
color
color.new(color.green, 0)
hiC3
Show all 40 settings
Setting
Type
Default
Variable
Low Color
color
color.new(color.fuchsia, 0)
loC3
Open Color
color
color.new(color.gray, 0)
opC3
Show 4th Wednesday
bool
false
showW4
High Color
color
color.new(color.purple, 0)
hiC4
Low Color
color
color.new(color.lime, 0)
loC4
Open Color
color
color.new(color.gray, 0)
opC4
Show 5th Wednesday
bool
false
showW5
High Color
color
color.new(color.gray, 0)
hiC5
Low Color
color
color.new(color.black, 0)
loC5
Open Color
color
color.new(color.gray, 0)
opC5
Show Midnight Levels
bool
true
showMidnightLevelsInput
Lookback (Days)
int
21
midnightLookbackDaysInput
High Color
color
color.new(color.orange, 50)
midnightHighColorInput
High Style
string
Solid
midnightHighStyleInput
Low Color
color
color.new(color.purple, 50)
midnightLowColorInput
Low Style
string
Solid
midnightLowStyleInput
Show NY PreMarket Levels
bool
false
showNYPreMarketLevelsInput
Lookback (Days)
int
21
nyPreMarketLookbackDaysInput
High Color
color
color.new(color.purple, 50)
nyPreMarketHighColorInput
High Style
string
Solid
nyPreMarketHighStyleInput
Low Color
color
color.new(color.blue, 50)
nyPreMarketLowColorInput
Low Style
string
Solid
nyPreMarketLowStyleInput
Show Daily Session Levels
bool
false
showDailySessions
Lookback (Days)
int
14
dailyLookbackDaysInput
Tokyo Open (04:00 EST)
bool
false
showTokyoOpen
High Color
color
color.new(color.yellow, 50)
tokyoHighColor
Low Color
color
color.new(color.yellow, 50)
tokyoLowColor
Asian Physical Open (20:00 EST)
bool
false
showAsianPhysicalOpen
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
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
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 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