An overlay that draws 4-hour, 7-hour and daily candles next to the current chart and marks the closes of the second and third candles in a multi-candle framework, with an optional alert on the third.
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
Model X can show previous day, week and month high and low levels and session dividers with short or long labels. Candle colors, offset and spacing are adjustable. The higher timeframes are fixed in the code.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
HTF 1 (4H)
bool
true
show
max_display
int
5
max_display
HTF 2 (7H)
bool
true
show
max_display
int
4
max_display
HTF 3 (D)
bool
true
show
max_display
int
3
max_display
C2
bool
true
show_ltf_c2_line
ltf_c2_line_style
string
⎯⎯
ltf_c2_line_style
sweep_c2_line_color
color
color.new(sweep_line_color, 50)
sweep_c2_line_color
C3
bool
true
show_ltf_c3_line
ltf_c3_line_style
string
⎯⎯
ltf_c3_line_style
sweep_c3_line_color
color
sweep_line_color
sweep_c3_line_color
Show all 40 settings
Setting
Type
Default
Variable
Alert C3
bool
true
enable_alert_c3
Session Dividers
bool
true
show_session_divider
session_line_style
string
······
session_line_style
session_line_color
color
color.new(#000000, 10)
session_line_color
Label
string
Short
session_label
Previous Levels
bool
true
showPrevLevels
Day
bool
true
dhl
d_color
color
#90bff9
d_color
Week
bool
false
whl
w_color
color
#90bff9
w_color
Month
bool
false
mhl
m_color
color
#90bff9
m_color
Coloring
color
color.new(#ffffff, 0)
bull_body
bear_body
color
color.new(#2e2e2e, 0)
bear_body
bull_border
color
color.new(#2e2e2e, 0)
bull_border
bear_border
color
color.new(#2e2e2e, 0)
bear_border
padding from current candles
int
15
offset
space between candles
int
1
buffer
space between Higher Timeframes
int
10
htf_buffer
Candle Width
int
1
width
Show Info Table
bool
true
show_htf_table
Position
string
Bottom Right
table_position
Size
string
size.small
table_size
Header
color
color.new(#dbdbdb, 0)
table_header_bg
Text
color
#000000
table_header_text
Label
color
color.new(#dbdbdb, 0)
table_label_bg
Text
color
#000000
table_label_text
Cell
color
color.new(#dbdbdb, 0)
table_cell_bg
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 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 overlays options gamma-exposure levels, session VWAP bands, and intraday market structure tools directly on the price chart. It provides three modular components: strike walls with standard deviation bands and opening ranges, a gamma regime engi
This indicator detects and draws the first Fair Value Gap (FVG) that forms in each hourly session based on a selected lower timeframe, with specialized handling for Regular Trading Hours (RTH) confluence windows. It draws FVG range boxes, midpoint lines, hourl
This indicator combines six trading tools into a single chart overlay to optimize indicator limits. It calculates Bollinger Bands, projects weekend price boundaries, plots market structure elements like order blocks, breaker blocks, and MSB lines, marks New Yo
This indicator highlights Inner Circle Trader (ICT) killzones and key session pivot points directly on the price chart. It projects shaded boxes for specific trading sessions, including Asia, London, NY AM, NY Lunch, and NY PM, to help traders identify high-li
Indicatorv5SMC / ICT / price actionSessions & time
Bandz Session Ranges + ORG + Opening Prices plots trading session ranges, killzones, opening RTH gaps, standard deviation projections, and key opening prices directly on the price chart. It calculates gap ranges based on prior regular trading hours close sourc