Indicator · Pine Script v6 · Own pane

FracDiff Z NQ 5m Filter Lab

by qmqvt44stq-del

A fractional differencing Z-score oscillator in a separate pane, set up for testing optional entry filters on five-minute Nasdaq futures charts.

View on GitHub

GitHub stars1on the repository
Pine versionv6current
Lines of code267
Settings35inputs
LicenceNone stated
Last update4 months ago15 Jun 2026

Add It to Your TradingView Chart

  1. 1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
  2. 2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
  3. 3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
  4. 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

Signal modes include the base snapback, a volume-exhaustion mode, a conservative mode and an early mode. Filters cover a trend-versus-stable regime check using ADX, EMA slope and consecutive highs or lows, volume spikes, an absorption proxy and reversal candles. Risky or still-expanding signals can be flagged.

Details

Published by

qmqvt44stq-del on GitHub

Type

Indicator, Pine Script v6

Draws

Separate pane below the chart

Category

Mean reversion, Oscillators & momentum, Volume

Markets

Indices

Timeframes

M1-M5

Risk Notes

No repainting, lookahead or stacked entries were found in its code or README. That says nothing about how well it works: test it first.

Settings

The inputs you can change from the gear icon on the chart. Defaults are the author's.

SettingTypeDefaultVariable
Integration Order (d)float0.71d
Lag Truncation (N)int130N
Price Sourcesourcehlc3src
Z Lookbackint60z_len
Deviation Band (σ)float2.618band_w
Extreme Multiplierfloat1.05extreme_mult
Z Entry Threshold (σ)float2.618z_entry
Z Exit Reference (σ)float0.0z_exit
Signal ModestringOriginalsignal_mode
Require STABLE for Entriesbooltrueuse_regime_filter
Allow Entries in TREND (test)boolfalseallow_trend_entries
ADX Lengthint14adx_len_reg
Show all 35 settings
SettingTypeDefaultVariable
ADX Trend Thresholdfloat25.0adx_trend
EMA Slope Lengthint20ema_slope_len
EMA Slope Thresholdfloat0.15ema_slope_thr
Z Extended Bars (trend)int3z_ext_bars
HH / LL Consecutive Barsint3hhll_bars
Trend Score Thresholdint2trend_score_thr
Enable Volume Exhaustionbooltrueuse_vol_exhaust
Volume SMA Lengthint20vol_len
Volume Spike Multiplierfloat1.5vol_mult
Close Off Extreme (wick fraction)float0.35wick_pct
Enable Absorption Proxybooltrueuse_absorption
Short-Term High/Low Lookbackint10abs_lookback
Max Body / Bar Rangefloat0.35body_thresh
Close Away From Extremefloat0.25close_edge
Enable Reversal Candlebooltrueuse_reversal
Include Engulfing Logicboolfalseuse_engulf
Mark Risky Signalsbooltrueshow_risky
Mark Z Still Expandingbooltrueshow_expanding
Large Bar vs ATRfloat2.0large_bar_atr
Skip 9:30–10:00booltrueskip_open_30
Show Z Linebooltrueshow_z_line
Show Entry Labelsbooltrueshow_labels
Show TREND / STABLE Tablebooltrueshow_regime_lbl
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.

Similar Pine Scripts

Money Flow Index

by everget
948 stars

Calculates the standard Money Flow Index (MFI) oscillator alongside an exponential moving average signal line in a separate pane. The script visually highlights trend conditions through dynamic ribbon filling, optional difference histogram bars, and overbought

Indicator v4 Oscillators & momentumVolume
Updated 11 days ago · GPL-3.0 GitHub repository of Money Flow Index
261 stars

This indicator calculates standardized z-scores of price data across four different lookback periods (6, 14, 26, and 100). Standardizing data subtracts the moving average from the price and divides by the standard deviation. It applies a Double Exponential Mov

Indicator v5 Mean reversionVolatility & bands

Commitment Gauge

by harryguiacorn
219 stars

This indicator measures directional momentum by evaluating candlestick body proportions and volume over a user-defined lookback window. It computes the ratio of candle body to total range, weights the cumulative value by volume and absolute body size, and dete

Indicator v4 VolumeCandlestick patterns
Updated 1 year ago · None stated GitHub repository of Commitment Gauge

Aggregate Signal

by capissimo
114 stars

This indicator builds an aggregate oscillator in a separate pane. It scales open, high, low, close, and volume into a 0 to 1 range, then averages scaled readings from MACD, a MACD histogram, RSI, stochastic, CCI, momentum, OBV, a directional index, volume-weig

Indicator v4 Oscillators & momentumVolume Repaints
Updated 1 year ago · None stated GitHub repository of Aggregate Signal
99 stars

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

Indicator v6 TrendMean reversion
Updated 4 weeks ago · Apache-2.0 GitHub repository of Autocorrelation Function (ACF)

PPO ATR Bands

by cryptorife
75 stars

PPO ATR Bands plots a percentage price oscillator in a separate pane. It compares a Hull average of typical price with a volume-weighted exponential average of Parabolic SAR, then scales three true-range bands around the slow average into matching oscillator l

Indicator v4 Oscillators & momentumMoving averages
Updated 3 years ago · GPL-3.0 GitHub repository of PPO ATR Bands

More indicators

Trade Your Charts With a Regulated Broker

Compare brokers that connect to TradingView, with spreads, minimum deposits and leverage side by side.

Compare brokers