Indicator · Pine Script v5 · On the chart

Omni-Architect: Unified Bayesian Engine

by majixai

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.

View on GitHub

GitHub stars1on the repository
Pine versionv5runs as is
Lines of code713
Settings40inputs
LicenceNone stated
Last updateyesterday28 Oct 2026

Add It to Your TradingView Chart

  1. 1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
  2. 2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
  3. 3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
  4. 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.

Details

Published by

majixai on GitHub

Type

Indicator, Pine Script v5

Draws

On the price chart

Category

Support & resistance, Divergence, Volatility & bands, SMC / ICT / price action

Markets

Any symbol

Timeframes

Any timeframe

Risk Notes

No repainting, lookahead or stacked entries were found in its code or README. That says nothing about how well it works: test it first.

Settings

The inputs you can change from the gear icon on the chart. Defaults are the author's.

SettingTypeDefaultVariable
Long Startint120s_lk_l
Long Endint15e_lk_l
Mid Startint60s_lk_m
Mid Endint5e_lk_m
Short Startint15s_lk_s
Short Endint2e_lk_s
Fan Line Densityint12l_dens
Vector Spread Sensitivityfloat0.85v_spread
Min Confidence %int60conf_lvl
HTF Trend ContexttimeframeDhtf_tf
Slope Intensity Minfloat0.0005slope_intensity_min
StDev Lengthint20stdev_length
Show all 40 settings
SettingTypeDefaultVariable
StDev Multiplierfloat1.5stdev_mult
Show Forecast Labelbooltrueshow_forecast_label
Pivot Leftint3hs_pivot_left
Pivot Rightint3hs_pivot_right
Shoulder Tolerance %float2.0hs_tolerance
DT/DB Pivot Leftint3dp_pivot_left
DT/DB Pivot Rightint3dp_pivot_right
Peak Tolerance %float1.0dp_tolerance
Min Valley Depth %float2.0dp_depth
Enable Regime Gatebooltrueuse_regime
ADX Lengthint14adx_length
ADX Trending Thresholdfloat20.0adx_threshold
HTF EMA Lengthint200htf_ema_len
Show Session VWAPbooltrueshow_vwap
Deviation Band Multiplierfloat2.0vwap_dev_mult
RSI Lengthint14rsi_length
Divergence Pivot Lookbackint5div_pivot_lk
Show Divergence Labelsbooltrueshow_div_labels
Color Macrocolor#00ffccc_l
Color Mesocolor#00e6ffc_m
Color Microcolor#0099ffc_s
Bullish Patterncolor#00ffccbull_c
Breakout/Targetcolor#ff3366bear_c
Alert: H&S Detectedbooltruealert_hs
Alert: iH&S Detectedbooltruealert_ihs
Alert: Double Top Detectedbooltruealert_dt
Alert: Double Bottom Detectedbooltruealert_db
Alert: Bullish RSI Divergencebooltruealert_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.

Similar Pine Scripts

ICT Liquidity Void Fill

by ArunKBhaskar
575 stars

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

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 1 year ago · MPL-2.0 GitHub repository of ICT Liquidity Void Fill
218 stars

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

Indicator v6 SMC / ICT / price actionSupport & resistance Repaints
Updated 3 months ago · None stated GitHub repository of Market Structure + Supply/Demand
55 stars

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

Indicator v6 Support & resistanceSMC / ICT / price action Repaints
Updated 6 months ago · Apache-2.0 GitHub repository of AAPL Institutional Liquidity Grid

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

Indicator v6 Support & resistanceSMC / ICT / price action Repaints

More indicators

Trade Your Charts With a Regulated Broker

Compare brokers that connect to TradingView, with spreads, minimum deposits and leverage side by side.

Compare brokers