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 maps the high, low, and open levels of the first five Wednesdays of each month, daily midnight candles, and New York pre-market levels derived from a 15-minute timeframe. It also highlights major session opens, fixes, and scheduled economic event windows. Users can customize visibility, lookback periods, line colors, and styles. Higher-timeframe calculations cause levels to repaint on real-time bars until closed.
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
High Label Color
color
color.new(color.orange, 0)
midnightHighLabelColorInput
Low Label Color
color
color.new(color.purple, 0)
midnightLowLabelColorInput
Label Text Size
string
Normal
midnightLabelSizeInput
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
High Label Color
color
color.new(color.purple, 0)
nyPreMarketHighLabelColorInput
Low Label Color
color
color.new(color.blue, 0)
nyPreMarketLowLabelColorInput
Label Text Size
string
Normal
nyPreMarketLabelSizeInput
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