A multi-part chart overlay that draws fan lines from short, mid and long lookback windows and shows a forecast label gated by a minimum confidence level.
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
Omni-Architect: Unified Bayesian Engine adds head and shoulders and double top or bottom detection, a regime filter using ADX and a higher-timeframe EMA, session VWAP with deviation bands, standard deviation levels and RSI divergence labels. Lookbacks, tolerances and thresholds are all adjustable. It draws on the price chart and uses many lines, labels and boxes.
Fan lines over short, mid and long windows
Head and shoulders and double top or bottom patterns
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Long Start
int
120
s_lk_l
Long End
int
15
e_lk_l
Mid Start
int
60
s_lk_m
Mid End
int
5
e_lk_m
Short Start
int
15
s_lk_s
Short End
int
2
e_lk_s
Fan Line Density
int
12
l_dens
Vector Spread Sensitivity
float
0.85
v_spread
Min Confidence %
int
60
conf_lvl
HTF Trend Context
timeframe
D
htf_tf
Slope Intensity Min
float
0.0005
slope_intensity_min
StDev Length
int
20
stdev_length
Show all 40 settings
Setting
Type
Default
Variable
StDev Multiplier
float
1.5
stdev_mult
Show Forecast Label
bool
true
show_forecast_label
Pivot Left
int
3
hs_pivot_left
Pivot Right
int
3
hs_pivot_right
Shoulder Tolerance %
float
2.0
hs_tolerance
DT/DB Pivot Left
int
3
dp_pivot_left
DT/DB Pivot Right
int
3
dp_pivot_right
Peak Tolerance %
float
1.0
dp_tolerance
Min Valley Depth %
float
2.0
dp_depth
Enable Regime Gate
bool
true
use_regime
ADX Length
int
14
adx_length
ADX Trending Threshold
float
20.0
adx_threshold
HTF EMA Length
int
200
htf_ema_len
Show Session VWAP
bool
true
show_vwap
Deviation Band Multiplier
float
2.0
vwap_dev_mult
RSI Length
int
14
rsi_length
Divergence Pivot Lookback
int
5
div_pivot_lk
Show Divergence Labels
bool
true
show_div_labels
Color Macro
color
#00ffcc
c_l
Color Meso
color
#00e6ff
c_m
Color Micro
color
#0099ff
c_s
Bullish Pattern
color
#00ffcc
bull_c
Breakout/Target
color
#ff3366
bear_c
Alert: H&S Detected
bool
true
alert_hs
Alert: iH&S Detected
bool
true
alert_ihs
Alert: Double Top Detected
bool
true
alert_dt
Alert: Double Bottom Detected
bool
true
alert_db
Alert: Bullish RSI Divergence
bool
true
alert_bull_div
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 overlay indicator maps market structure on the price chart. It marks confirmed swing points and draws continuation breaks and reversal breaks, with optional higher-high and lower-low labels. A baseline and volatility envelope can sit on price, and an opti
This overlay indicator marks ICT liquidity void fills on the price chart and can show long and short signals. It places a Fibonacci level inside a displacement candle, defaulting to the midpoint, and draws lines in a chosen style. Optional filters limit the fi
This indicator maps market structure and supply and demand zones on the price chart. It marks validated and optional unvalidated swing highs and lows using a pivot length and extra confirmation bars. Consolidation and impulse moves are measured against ATR to
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 Pine Script indicator overlays institutional liquidity levels on the price chart. It identifies order block levels using pivot highs and lows, then draws mean reversion lines from the 20 and 50 period simple moving averages, a volatility range midpoint pr
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