An indicator that builds a feature matrix from price z-score, RSI, ATR ratio and momentum over a lookback window, weights the four features, smooths them with a covariance based decomposition, and classifies a regime.
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
JINXAI Tensor Forecast then draws a forecast line a chosen number of bars ahead with sigma bands, plus regime dots, a horizon label and a summary table on the price chart. The forecast is a statistical projection from past data and is not a signal on its own.
Feature matrix of price, RSI, volatility, momentum
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
n — Lookback (Time Axis)
int
20
N
Horizon (forecast bars ahead)
int
10
H
w₁ Price
float
0.40
w1
w₂ RSI
float
0.25
w2
w₃ Volatility
float
0.20
w3
w₄ Momentum
float
0.15
w4
Show Tensor Forecast Line
bool
true
showForecast
Show Probability Field (σ)
bool
true
showBands
Show Horizon Label
bool
true
showLabels
Show Regime Dot Markers
bool
true
showRegime
Show Summary Table
bool
true
showTable
Forecast Line
color
#00ff88
cForecast
Show all 14 settings
Setting
Type
Default
Variable
Probability Field Tint
color
#00ff88
cField
σ Scale
float
1.0
sigmaScale
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 uses a Hidden Markov Model (HMM) framework combined with an adaptive dual moving average engine and Directional Movement Index (DMI) features to identify market regimes (bullish, bearish, or ranging/chop). It calculates regime probabilities on e
This overlay indicator plots a SuperTrend-style band on the price chart using ATR length, a selectable source, and a base factor. Optional settings enable an adaptive factor driven by rate of change, a volatility filter, K-means clustering, and an LSTM layer w
Chandelier Flip Radar plots an ATR trailing stop on the price chart and tracks a directional trend state. It holds a ratchet stop until an accepted flip, using close or wick extremums and a body filter so weak breaks do not change direction. Distance to the fl
This overlay indicator builds many SuperTrend trailing stops across a user-set ATR length, factor range, and step. Each factor is scored with an exponential performance memory. K-means clustering groups those results, and the user chooses the best, average, or
This overlay indicator draws Nadaraya-Watson smoothed Bollinger Bands on the price chart using short, medium, and long periods and deviations. A smoothing factor controls the kernel bandwidth, and an optional setting can allow the estimate to repaint. Users ca
Farid Makram Custom Levels is a multi-signal indicator for TradingView that combines RSI momentum analysis with MOBO oscillator signals based on the DPO. It generates buy and sell signals when RSI crosses its moving average or when DPO crosses zero, with confi