A large chart overlay that builds standard deviation bands from relationships between a bar's open, high, low and close, using three timeframes chosen from preset trading horizon profiles or set manually.
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
Visibility toggles control each band pair. The script also exposes inputs for volume profile buckets, candlestick labels, macro chart pattern lines, pivot structure and a higher-timeframe background box. It draws many boxes, lines and labels on the price chart, so it can be heavy to load.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Trading Horizon Profile
string
OPT_1
presetProfile
Manual Short TF
timeframe
1
manual_tf_s
Manual Medium TF
timeframe
5
manual_tf_m
Manual Long TF
timeframe
15
manual_tf_l
StDev Lookback Period
int
20
lengthInput
StDev Multiplier
float
1.0
multInput
Show OC (Open/Close Bands)
bool
true
showOC
Show OH (Open/High Bands)
bool
true
showOH
Show OL (Open/Low Bands)
bool
true
showOL
Show LH (Low/High Bands)
bool
true
showLH
Show HC (High/Close Bands)
bool
true
showHC
Show LC (Low/Close Bands)
bool
true
showLC
Show all 40 settings
Setting
Type
Default
Variable
Show CO (Close/Open Bands)
bool
true
showCO
Show HL (High/Low Bands)
bool
true
showHL
Show Boxes
bool
false
showT
Show The Last
int
5
showlast
h_i
int
100
h_i
l_i
int
100
l_i
Base Volatility Coeff
float
1.5
b_cf
Common Period
int
14
al_pr
Source Data
source
close
al_sr
HTF Background Box
timeframe
15
hf_in
Layer 1 Length (Micro)
int
20
c_l1
Layer 2 Length (Macro)
int
40
c_l2
Layer 3 Length (Global)
int
80
c_l3
Volume Profile Buckets
int
10
vp_bk
Breakout Synergy Multiplier (Fib)
float
1.618
bk_ml
Show Candlestick Labels
bool
true
sh_cp
Draw Macro Chart Patterns (Lines)
bool
true
sh_mp
Structure Pivot Lookback
int
10
pv_lb
Pattern Tolerance (%)
float
0.02
st_tl
Bullish Pattern Color
color
color.new(color.lime, 75)
p_clB
Bearish Pattern Color
color
color.new(color.red, 75)
p_clR
Forecast Horizon (Bars)
int
20
fc_hz
Feedback Learning Rate
float
0.1
lr_rt
Bayes Lookback Period
int
500
by_lb
Enable Mean Reversion Gravity
bool
true
en_mr
Model Weight Matrix
text
1.0 0.5 0.2
0.2 1.0 0.5
0.5 0.2 1.0
wt_in
Require Synergy
bool
true
rq_syn
Relaxed MACD
bool
true
rl_md
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 plots optional candlestick pattern signals on the price chart. It detects engulfing bars, inside bars, HOLP and LOHP, kicker patterns, body-mass extremes, higher highs and lower lows, ATR warnings, and four-bar fractals. Optional pivot marks use
Signal Quality Engine [WavesUnchained] is a range-fade indicator that identifies exhaustion at range extremes and signals potential reversals. It applies an ADX and EMA slope regime gate to stand down during strong trends. Using distance, structure, and moment
Candle Filters is an overlay indicator that marks bullish and bearish engulfing candles on the price chart. A bullish signal requires a prior down candle whose body is engulfed by the current candle near a swing low, while a bearish signal does the reverse nea
The Ighodalo Gold CRT indicator plots candlestick range lines on the price chart using user-defined lookback periods and multiple timeframes. It calculates high, low, and midpoint lines for each enabled CRT set to identify support and resistance levels based o
This indicator overlays rolling cost anchors, volatility-derived GetDelta bands, and liquidity provider ranges onto the price chart alongside pinbar candlestick detection. It calculates market valuation zones, shading discount and premium areas while tracking
Symmetric Attraction is an indicator that plots mirrored candles on the price chart by reflecting OHLC data around a regression basis line. The basis is computed using linear regression on the selected source with an optional logarithmic transformation. It als