The first step compares 9 and 18 period EMAs on the daily, four-hour and one-hour timeframes and requires all three to agree. The second uses Bollinger %B thresholds and a Stochastic RSI, with fractal settings for the third. Higher-timeframe values are requested with lookahead on and no offset, so signals can differ between live and historical bars. Candle colouring is optional.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Strategy Source
source
close
src
Fractal Periods
int
2
n
Fractal Type
string
5
fractalBars
Colored Candles
bool
false
colorcandles
BB% Length
int
20
length_bbr
BB% Std Dev
float
2.0
mult_bbr
BB% Upper Threshold
float
1.00
upper_thresh
BB% Lower Threshold
float
0.00
lower_thresh
Stoch RSI %K Smooth
int
3
smoothK
Stoch RSI %D Smooth
int
3
smoothD
RSI Length
int
14
lengthRSI
Stochastic Length
int
14
lengthStoch
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.
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
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