The Linear Regression Oscillator by ChartPrime calculates a custom linear regression slope and intercept over a user-defined lookback period, normalizing the result with a 100-period simple moving average and standard deviation.
Linear Regression Oscillator [ChartPrime] plots a normalized oscillator in a separate pane with dynamic gradient colors. The script detects zero-line crossovers, highlights customizable overbought and oversold extreme thresholds, and tracks invalidation price levels using recent five-bar high and low extremes. User inputs configure the regression length, threshold levels, and optional bar coloring on the main chart.
Custom linear regression slope and intercept calculation
Z-score normalization using SMA and standard deviation
Overbought and oversold threshold detection
Dynamic gradient plot coloring in a separate pane
Price invalidation levels based on recent price extremes
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Length
int
20
length
Upper Threshold
float
1.5
upper
Lower Threshold
float
-1.5
lower
Plot Bar Color
bool
false
candles
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 calculates the statistical autocorrelation coefficient of an input series over a user-defined lookback window at a specified lag. It tracks values using an internal circular buffer, computes sample mean, variance, and autocovariance, and normali
Calculates a composite carry and decay oscillator fusing impulse-autocorrelation half-life, a Hurst exponent approximation, path efficiency, and range expansion ratios. It evaluates whether an impulse is likely to persist or mean-revert, plotting the oscillato
This indicator combines MACD and RSI to generate pullback signals on forex pairs. It plots MACD line, signal line and histogram alongside RSI and Wave Trend oscillator. Higher-timeframe MACD provides trend bias while RSI identifies overbought and oversold zone
Rolling Z-Score Trend [QuantAlgo] calculates a rolling Z-score using mean and standard deviation over a user-defined lookback window to evaluate statistical price deviations and momentum. Plotted in a separate indicator pane, it displays the rolling Z-score li
Quantum State Space & Probabilistic Agents projects a horizontal state space grid directly on the price chart. It evaluates momentum from RSI, trend strength from an EMA/ATR ratio, and mean-reversion from standard deviation to compute directional probabilities
A chart-overlay indicator that classifies market regime with ADX and Bollinger Bands, then scores momentum, volume and mean-reversion conditions using adjustable weights, optionally normalised. A signal appears when the score passes a threshold. It draws a tre