Open-source Pine scripts written for gold (XAU/USD): session and range tools, breakout and scalping strategies, and indicators tuned to gold's volatility.
A price-chart overlay for gold that marks wait, pending, confirmed and caution buy and sell setups. It uses pivot market structure, liquidity sweeps, candlestick patterns, breakout and retest logic and a higher-timeframe filter, with separate minimum scores fo
A long-only strategy for the gold-backed PAXG token that buys near the lower edge of a smoothed channel. The channel is an EMA of the highest high and lowest low over an adjustable range, and a buy needs price at the lower line with RSI turning up from oversol
This indicator combines RSI and MFI into a hybrid oscillator scaled to 0-1. It detects divergences by comparing price and MFI slopes from linear regression. The MFI receives extra weight during divergence to amplify the effect. A TMA smooths the hybrid result
This strategy plots on the gold price chart and combines stochastic, RSI, and three EMAs with ATR to confirm buy and sell entries. Confirm trades can require an M15 overbought or oversold rejection wick and a Fibonacci or EMA zone, while a no-chase filter limi
This indicator plots net positions for Commercial and Non-Commercial (Large Speculators) traders using Commitment of Traders (COT) legacy report data. It automatically converts root symbols to their corresponding CFTC codes to fetch daily long and short positi
The XAUUSD Scalping Confluence Engine is a separate-pane indicator that calculates a composite trading score based on multiple technical factors. It evaluates a four-period exponential moving average stack, SuperTrend trend direction, Relative Strength Index,
This large indicator applies ICT-style smart money analysis to gold on the price chart, covering order blocks, breaker blocks, liquidity pools, premium and discount positioning and market structure. Buy and sell signals can be gated by a discount or premium fi
A price-chart overlay for gold that labels WAIT and CONFIRMED buy and sell setups and can draw entry, stop loss and take profit lines. A signal mode of aggressive, balanced or strict and a manual news risk setting, including a no-trade option, control how sele
An indicator that shows an adaptive True Strength Index in a separate pane while projecting signals onto the price chart. It detects the instrument type, such as gold, silver or major indices, and the timeframe to pick parameters, adapts reactivity to ATR, and
LuckyFX RBtrader strategy is a price-chart candle filter. It marks a bullish condition when the current candle is bullish, the previous candle is bearish, and optional checks pass: body size between a minimum and maximum share of the previous body, prior candl
This strategy executes gap breakout entries directly on the price chart, opening long positions when the current open exceeds the prior high and short positions when the open drops below the prior low. It overlays a custom Supertrend filter, an EMA cloud, a Pa
This strategy executes trend-following and scalping trades for XAUUSD using a combination of Stochastic, RSI, moving averages (EMA 20/50/200), ATR, and Fibonacci zones. It features confirmation and scalp signal modes, evaluating overbought/oversold conditions
This indicator merges the Quantum Flow v19.1 gold smart money engine with an RSI cross module on the price chart. The RSI module shows faded buy and sell marks on a normal cross and stronger high probability marks when the cross occurs inside a Quantum Flow zo
TPCharts COT fetches and displays Commitment of Traders (COT) report data from Quandl CFTC in a separate pane. It automatically maps the current symbol's root to CFTC dataset codes for futures, commodities, forex pairs, and stock indices. The script calculates
This strategy combines Stochastic, RSI, exponential moving averages, Average True Range, and Fibonacci levels to generate trend confirmation and scalping signals, specifically designed for XAUUSD (Gold). It evaluates oversold and overbought conditions alongsid
This is a trimmed version of the Quantum Flow gold indicator that draws smart money zones on the price chart: order blocks, breakers, liquidity pools, equal high and low sweeps and break of structure retests. Signals pass through a hard bias gate, a chop gate,
This indicator draws a currency-strength view in a separate pane. It requests the current close and the previous daily close for major forex pairs plus gold crosses, using a broker prefix of OANDA, FX, or FOREXCOM. The pair-set input switches between an overal
Institutional CRT State Engine is an overlay indicator that combines Direction of Liquidity (DOL) bias detection with Candle Range Theory (CRT) pattern recognition. It monitors key institutional session windows—including CBDR, Asia, London, London Lunch, and N
Indicatorv6SMC / ICT / price actionSessions & time
This strategy is designed for gold trading using multi-indicator confirmation and custom profit protection mechanisms. It combines Stochastic, RSI, moving averages (EMA 20, 50, 200), Fibonacci levels, and ATR buffers to generate confirmation or scalp entries.
This indicator extends the streamlined Quantum Flow gold build with a confirmation layer between a pending setup and a validated one. While a setup is pending it scores confirmation events such as volume spikes, delta flips, wick rejection, micro breaks of str
This indicator plots intraday reference levels, projection targets, and opening range boundaries tailored for continuous electronic trading session instruments such as gold. It calculates Average Bar Range targets in bullish and bearish multiples, previous day
This indicator builds a currency-strength view in a separate pane from major FX pairs and gold crosses. It requests current-period and prior daily closes for EUR, USD, JPY, CHF, GBP, AUD, CAD, NZD and XAU symbols through a selected broker prefix. The pair-set
This strategy combines triple exponential moving averages, RSI, Stochastic, ATR, and Fibonacci levels to generate confirmation and scalp entry signals tailored for XAUUSD. It evaluates M15 overbought and oversold conditions alongside rejection wicks and trend
This indicator builds on the Quantum Flow gold series by making each entry model an independently switchable engine. A buy or sell appears when any enabled engine triggers, and each signal is tagged with the engine that produced it, covering validated, classic
This separate-pane indicator compares selected forex and gold pairs. It requests the current close and the previous daily close from a chosen broker feed and maps numeric values onto a blue-to-red gradient. The pair-set input switches between overall currency
This indicator plots Smart Money Concepts (SMC) elements directly on the price chart, including higher-timeframe structure breaks, order blocks, and fair value gaps (FVGs). It uses an inducement filter to validate market structure shifts alongside expected hig
This strategy executes trend-following and scalp trades on gold using EMA alignment, RSI, Stochastic oscillators, and M15 rejection triggers. Entries are confirmed through multi-indicator filters, Fibonacci zones, and EMA chase limits. Exits utilize swing high
This overlay indicator calculates the 14-period Relative Strength Index to identify overbought and oversold market conditions. When RSI crosses key thresholds, it plots initial long or short entry labels directly on the price chart. If price continues moving a
4th Dimension Currency Strength is a multi-currency indicator that calculates and displays relative currency strength across major Forex pairs and Gold. It uses security calls to fetch multi-symbol prices from selected brokers like OANDA or FOREXCOM, comparing
This strategy overlays XAUUSD and combines stochastic, RSI, and three EMAs with an ATR-based risk model. Confirm entries can require an M15 overbought or oversold trigger plus a rejection wick, and they stay near Fibonacci or EMA zones without chasing far from
This indicator overlays buy and sell signals on the price chart by combining multi-period Stochastic oscillators with a Traders Dynamic Index (TDI). It computes three Stochastic oscillators across different lengths and checks if all lengths concurrently reach
|AG| Project is a Pine Script v4 indicator that draws four mini charts in a separate pane. It requests open, high, low, and close for user-selected symbols, rescales those values with a stochastic calculation, and plots an exponential moving average of each sc
This indicator calculates and plots the relative strength of major forex currencies and optional commodities in a separate pane. It fetches price data across configurable broker feeds to calculate relative performance over a selected resolution or lookback per
This trading strategy combines Stochastic, RSI, ATR, and multiple Exponential Moving Averages (20, 50, and 200) alongside Fibonacci zones to generate trading signals for gold (XAUUSD). It supports flexible execution modes including scalp and confirm entries, c
This strategy generates directional trade setups for gold using a blend of triple exponential moving averages, RSI, Stochastic oscillators, and Fibonacci retracement zones. Entries execute under confirmed or scalp modes filtered by M15 trigger levels, wick rej
This indicator plots three stochastic oscillators and a Traders Dynamic Index in a separate pane. Stochastic periods of 15, 32 and 50 each draw a K and D line that turns green below 18 and red above 82. A background band turns green when all six lines are over
This indicator combines a fast and slow exponential moving average crossover, an RSI filter, and a volume flow indicator into a weighted directional score. It draws an on-chart dashboard for those components and can plot buy or sell arrows when the score meets
Calculates and plots support and resistance zones based on candle wick rejections and liquidity sweeps directly on the price chart. The indicator scans historical price action using a configurable lookback period and wick threshold percentage, merging close le
IFVG Signals Realtime identifies inverted fair value gaps combined with a moving average trend filter to plot trading signals and zone boxes directly on the price chart. It scans lookback bars for bullish and bearish fair value gaps and triggers real-time sign
XAUUSD Strategy V4.16 - Independent Score is a multi-indicator trading system designed for gold. It evaluates market bias using triple Exponential Moving Averages (20, 50, 200), the Stochastic oscillator, and RSI, filtered by Fibonacci zones and optional M15 w
An indicator on the price chart that follows an ATR-based trend line with a factor setting, plus a fast and slow EMA cloud, and prints signals with fixed dollar stop loss and three take profit distances. Signals can be limited to two time sessions in a chosen
Wick Rejection S/R Strategy identifies key support and resistance zones based on candlestick wick rejections and liquidity sweeps directly on the price chart. It calculates potential reversal and breakout retest zones using configurable wick thresholds, level
This strategy identifies buy and sell entry points for XAUUSD using a combination of exponential moving averages, RSI, Stochastic oscillators, ATR, and Fibonacci zones. It supports multi-mode execution featuring confirmation and scalp entries triggered by over
This trading strategy detects key support and resistance zones on the price chart by identifying candle rejection wicks over a customizable lookback period. It filters potential trades using an Exponential Moving Average (EMA), Change in Status/Direction (CISD
This strategy executes gold trades by combining multiple exponential moving averages with RSI, Stochastic oscillator, and ATR indicators alongside Fibonacci zones. It triggers confirmed buy or sell positions and optional scalp legs based on trend direction and
This strategy detects key support and resistance zones based on candle wick rejections and liquidity sweeps. It filters trade setups using an exponential moving average and optional higher-timeframe trend confluence, while also permitting high-confidence count
This strategy executes trading setups on gold by combining multiple EMAs, RSI, Stochastic, and ATR with Fibonacci retracement levels. Entries are triggered through confirmation signals or optional scalp legs that can require higher-timeframe M15 wick rejection
Wick Rejection S/R Strategy v3 identifies key support and resistance zones on the price chart using candle wick rejection percentages and liquidity sweeps. It evaluates market structure changes, zone retests, and sweeps to assign confidence scores to trading s
Third-party code. ForexR lists open-source Pine scripts from GitHub; it did not write, test or endorse them, and their summaries are generated automatically from each script's code and README. Indicators describe the past, and a strategy's backtest can look better than live trading. Check a script on a demo account before you rely on it. CFDs and leveraged forex are complex instruments with a high risk of losing money rapidly.
Learn to Use Pine Scripts
Free, plain-English guides: add a script to TradingView, read what it does, test it and avoid the common traps.