A complex chart overlay that draws bullish, bearish and neutral forecast objects, filtered by a minimum confidence and a strategy filter such as trend following or mean reversion.
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
Advanced Quantum Optimization Kernel estimates the next likely pattern with a Bayesian style probability, tracks relative volume and liquidity states, and shows overlays for object cleanup and telemetry. An optional external seed feed can be switched on. The inputs are mostly display controls, and the forecast logic is experimental and hard to verify.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Show Bullish Forecasts
bool
true
i_show_bullish_forecasts
Show Bearish Forecasts
bool
true
i_show_bearish_forecasts
Show Neutral Forecasts
bool
true
i_show_neutral_forecasts
Minimum Forecast Confidence
float
0.62
i_min_forecast_confidence
Strategy Filter
string
All
i_strategy_filter
Pathology Selection Mode
string
Auto
i_pathology_mode
Show GC Overlay
bool
true
i_show_gc_overlay
Show Telemetry Overlay
bool
true
i_show_telemetry_overlay
Show Pattern Overlay
bool
true
i_show_pattern_overlay
Overlay Opacity
float
0.78
i_overlay_opacity
Forecast Next Most Probable Pattern
bool
true
i_enable_next_pattern_forecast
Persist Pattern State Compactly
bool
true
i_enable_bayesian_persistence
Show all 18 settings
Setting
Type
Default
Variable
Compact Encoding
string
hex
i_compact_encoding
Pattern Capacity Multiplier
float
2.5
i_pattern_capacity_multiplier
Minimum Pattern Probability
float
0.55
i_min_pattern_probability
Math Seed Source
string
seed_majixai_math
i_math_seed_source
Math Seed Symbol
string
ALGEBRA_CALCULUS_COS
i_math_seed_symbol
Use request.seed() Math Feed
bool
false
i_use_math_seed
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.
Volume Weighted Distance applies statistical and machine learning distance metrics between source prices and their rolling mean, weighted by volume, to identify local trend reversals. Users can select from Manhattan, Euclidean, Mahalanobis, Cosine Similarity,
Atomic Tick Predictor — Statistical Next-Candle Engine estimates the likelihood of the next candle direction by combining a K-Nearest Neighbors algorithm with live tick updates. It tracks up and down ticks, tick volume, and price pressure within the active bar
This indicator uses a two-dimensional k-nearest-neighbours model on scaled oscillator values to classify the current bar as buy, sell, or hold from similar historical states. Users select RSI, ROC, CCI, momentum, or all of them, and set the neighbour count, fa
The ML Decision Tree Classifier uses rule-based decision tree logic to evaluate trend, momentum, volume, and MACD indicators for market direction classification. It calculates exponential moving averages, relative strength index values, volume relative to a mo
This indicator scores seven approaches on every bar: RSI, volume, VWAP, EMA trend, MACD, Bollinger Bands and a volume-delta module. Each score is weighted by a rolling record of that approach's recent agreement with price, and the weighted total must pass an a
The Expectation Maximization Gaussian Mixture Regime indicator clusters market states into two to five components using an online Expectation-Maximization Gaussian Mixture Model. It processes three input features: volatility-normalized momentum, relative volat