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
VQZL Z Score + MA Options provides numerous smoothing modes such as SMMA, EMA, JMA, ALMA, and others to customize the base calculation. The Z-Score uses a chosen length and generates signals via threshold values applied to the normalized series. The main plot appears in a separate pane below the price chart. Users adjust the MA mode, thresholds, Z length, and mode-specific parameters. The indicator uses only historical data.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Price Smoothing
int
15
PriceSmoothing
MA Mode
string
SMMA
Mode
Threshold 1
float
1.64
vq0_th
Threshold 2
float
1.96
vq0_th2
Threshold 3
float
2.58
vq0_th3
Z Length
int
100
zlength
* Least Squares (LSMA) Only - Offset Value
int
0
lsma_offset
* Arnaud Legoux (ALMA) Only - Offset Value
float
0.85
alma_offset
* Arnaud Legoux (ALMA) Only - Sigma Value
int
6
alma_sigma
* Jurik (JMA) Only - Phase
int
50
jurik_phase
* Jurik (JMA) Only - Power
int
2
jurik_power
* Volatility Adjusted (VAMA) Only - Volatility lookback length
int
51
volatility_lookback
Show all 25 settings
Setting
Type
Default
Variable
* Fractal Adjusted (FRAMA) Only - FC
int
1
frama_FC
* Fractal Adjusted (FRAMA) Only - SC
int
200
frama_SC
* Kaufman (KAMA) Only - Fast EMA Length
int
2
kama_fast_len
* Kaufman (KAMA) Only - Slow EMA Length
int
30
kama_slow_len
* Trend Impulse Filter Only - Center
int
10
center
Modular Filter, General Filter Only - Beta
float
0.8
beta
Modular Filter Only - Feedback
bool
false
feedback
Modular Filter Only - Feedback Weighting
float
0.5
z
ARMA, A2RMA, General Filter Gamma
float
3.
gamma
ARMA, DAF, WRMA, Zero-Lag
bool
false
zl
General Filter Zeta
float
1
zeta
EDSMA - Super Smoother Filter Length
int
20
ssfLength
EDSMA - Super Smoother Filter Poles
int
2
ssfPoles
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.
The Derivative Oscillator calculates a double-exponentially smoothed Relative Strength Index (RSI) and subtracts its Simple Moving Average (SMA) to form the main oscillator line. A secondary signal line is plotted using an SMA of the main oscillator values. Th
This indicator calculates a modified MACD oscillator and signal line alongside a trend EMA filter, plotting the output as a stylized column histogram in a separate pane. Instead of plotting true MACD distance, it quantifies positive and negative histogram mome
This indicator calculates and plots the standard Moving Average Convergence Divergence oscillator in a separate pane. It computes the difference between a fast and slow moving average, derives a signal line through smoothing, and plots a histogram representing
MACD-V is a volatility-normalized momentum indicator based on research by Alex Spiroglou. It calculates the standard MACD histogram and normalizes it by dividing by the Average True Range (ATR). Plotted in a separate pane as a colored histogram, it includes us
Multi-Timeframe Analysis Suite calculates trend direction and momentum conditions across five user-selected timeframes using moving averages, RSI, and Stochastic oscillators. It evaluates moving average slope and oscillator levels to compute trend alignment, m
KamaFama is an indicator that translates a Freqtrade trading strategy into Pine Script for visualization. It combines Kaufman Adaptive Moving Average (KAMA), MAMA/FAMA calculations derived via Hilbert Transform, Williams %R, and correlation trend filters to ev