Indicator · Pine Script v6 · On the chart

XAUUSD Volatility Multi-Filter Signal

by neZQan

An experimental gold indicator that scores several conditions before drawing a signal on the price chart: RSI levels, MACD, ADX strength, a Supertrend, an ATR volatility threshold against a baseline, and VWAP.

View on GitHub

GitHub stars1on the repository
Pine versionv6current
Lines of code561
Settings40inputs
LicenceNone stated
Last update3 weeks ago8 Oct 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

Optional filters add a session window, a higher-timeframe bias, a premium and discount range and smart money checks such as liquidity sweeps, structure shifts, order blocks and fair value gaps. Stop and take-profit levels use ATR or fixed pip targets, including three take-profit steps. A minimum score sets how many conditions must agree.

Details

Published by

neZQan on GitHub

Type

Indicator, Pine Script v6

Draws

On the price chart

Category

SMC / ICT / price action, Oscillators & momentum, Volatility & bands, Trend

Markets

Gold

Timeframes

M15-H1

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
NotestringUse on M15-H1 for XAUUSDtfNote
VWAP Line Widthint4vwapLineWidth
RSI Lengthint14rsiLen
RSI Long Minint55rsiLongMin
RSI Short Maxint45rsiShortMax
MACD Fastint12macdFast
MACD Slowint26macdSlow
MACD Signalint9macdSignal
ADX Lengthint14adxLen
ADX Min Trend Strengthfloat18.0adxMin
ATR Lengthint14atrLen
ATR Baseline Lengthint50atrVolLen
Show all 40 settings
SettingTypeDefaultVariable
Volatility Threshold Multiplierfloat1.05atrVolMult
Supertrend ATR Lengthint10stAtrLen
Supertrend Factorfloat2.5stFactor
Minimum Score to Triggerint3minScore
Use Session FilterboolfalseuseSession
Session (Exchange Time)session1300-2300sessionInput
HTF Bias Timeframetimeframe240htfTf
Use HTF Bias FilterboolfalseuseHTFBias
Premium/Discount Rangeint60dealingLen
Use Premium/Discount FilterboolfalseusePDFilter
Use SMC/ICT FiltersbooltrueuseSMCICT
SMC/ICT ModestringAggressivesmcMode
SMC Swing Lengthint5smcSwingLen
Use Liquidity SweepbooltruerequireSweep
Use Market Structure Shift (BOS)boolfalserequireMSS
Use CHoCH ConfirmationboolfalserequireCHoCH
Require Order Block RetestboolfalserequireOB
Require Recent FVGboolfalserequireFVG
Require FVG FillboolfalserequireFVGFill
FVG Lookback Barsint10fvgLookback
Use Fast EntriesbooltrueuseFastEntries
Fast Entry Min Scoreint3fastMinScore
Fast Entry Min SMC Hitsint0fastSMCHits
Use MACD ConfirmboolfalseuseMACDConfirm
MACD Cross Lookbackint5macdCrossLookback
Use High-Confidence ModeboolfalseuseHighConfidence
HC Min Scoreint6hcMinScore
HC Min SMC Hitsint2hcMinSMCHits
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

9 stars

Vein: Trend is a signal aggregator indicator that plots directional markers on the main price chart based on a weighted composite confluence score. It evaluates technical conditions across three layers: momentum setup using RSI, MFI, and Bollinger Bands; confi

Indicator v6 TrendOscillators & momentum
Updated 2 days ago · MIT GitHub repository of Vein: Trend [WavesUnchained]

The Momentum Setup is a multi-indicator visual tool designed for trend and momentum analysis directly on the price chart. It combines Relative Strength Index (RSI), Money Flow Index (MFI), Commodity Channel Index (CCI), Supertrend, and a 250-bar percentage cha

Indicator v5 Oscillators & momentumTrend
Updated 1 year ago · MPL-2.0 GitHub repository of Momentum Setup - Ankush Bajaj Momentum Investing Setup
257 stars

An overlay indicator that combines an ATR-based SuperTrend trailing stop with an integrated RSI-derived midline calculation on the price chart. The SuperTrend uses an ATR period and factor multiplier to plot dynamic green or red trend lines based on price dire

Indicator v5 TrendVolatility & bands
Updated 6 weeks ago · None stated GitHub repository of SuperTrend ATR + RSI
114 stars

ADX Strategy (original) is an overlay indicator that identifies trend-following trade signals using the Average Directional Index (ADX) combined with a Simple Moving Average filter. A long signal is generated when the ADX rises above a user-defined trend level

Indicator v4 TrendOscillators & momentum
Updated 1 year ago · None stated GitHub repository of ADX Strategy (original)

Moon Dev Lunar Sniper

by moondevonyt
92 stars

Moon Dev Lunar Sniper is a multi-indicator overlay that scores confluence across fast and slow EMAs, RSI, MACD, DMI, and BB width to fire signals only when score meets the minimum threshold. It plots buy and sell signals on the price chart, highlights cosmic b

Indicator v6 TrendOscillators & momentum Repaints
Updated 2 months ago · Custom licence GitHub repository of Moon Dev Lunar Sniper

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