Open-source Pine scripts written for gold (XAU/USD): session and range tools, breakout and scalping strategies, and indicators tuned to gold's volatility.
This strategy combines Exponential Moving Averages (EMA 20, 50, 200), Stochastic, RSI, and ATR to identify trend alignment and scalping opportunities for gold (XAUUSD). It relies on M15 overbought and oversold levels alongside candle rejection wicks for signal
Scalper Pro 3 Min Gold is a price-chart indicator that marks breakout setups around recent pivot highs and lows. It signals a long when a bullish candle closes above the last pivot high while holding a higher low, and a short when a bearish candle closes below
An automated trading strategy designed for gold (XAUUSD) combining EMA trend filters with Stochastic, RSI, ATR, and Fibonacci zones. It generates entry signals based on overbought and oversold triggers, rejection wicks, and price distance from key moving avera
This hybrid trading strategy combines wick rejection support and resistance levels with Smart Money Concepts. It calculates entry confidence scores based on multi-timeframe structure, Fair Value Gap taps, Order Block alignment, and recent Change of Character o
Strategy designed for gold trading using a combination of Stochastic, RSI, fast and slow EMAs, ATR, and optional higher-timeframe M15 triggers with Fibonacci levels. It generates trend-confirmation and scalp trade signals for long and short entries. Risk manag
The WR-SR + SMC Strategy v4.0 combines wick rejection for support and resistance level detection with Smart Money Concepts including CHoCH and BOS structure changes, fair value gap zones and order blocks. It signals trading entries and exits on the price chart
Calculates a multi-factor technical scoring system designed for gold trading directly on the price chart. It evaluates Stochastic, RSI, triple exponential moving averages, automatic support and resistance levels, Fibonacci retracements, and volume spikes. The
A fixed-parameter gold strategy intended for the five-minute chart. Entries come from an EMA 9 and 18 crossover, or a trend continuation check using the Bollinger midline and RSI, and are allowed only in a short list of UTC hours. It trades one position at a t
This overlay strategy is named for one-minute gold. It requests the daily low and several higher-timeframe opens with lookahead enabled, builds a synthetic source from recent opens, and plots a volume-weighted moving average of a higher-timeframe open with sta
This indicator plots smart money concepts on the price chart, focusing on session setups initiated at a specified start hour. It calculates swing highs and lows, monitors liquidity sweeps, confirms market structure shifts, and identifies order blocks and fair
Indicatorv5SMC / ICT / price actionSessions & time
This strategy evaluates EMA crossovers filtered by a long-term 200-period EMA trend filter designed for Gold futures and XAUUSD. It enters a long position when a fast EMA crosses above a slow EMA while price is above the 200 EMA. If long-only mode is turned of
This Pine Script v5 strategy generates buy and sell signals for XAUUSD on the price chart. It combines Stochastic Oscillator, RSI, EMA crossovers and Fibonacci retracements with M15 overbought/oversold triggers and rejection wick filters to identify entries. C
The 2AM-Gold Swing Strategy+hist indicator plots Smart Money Concepts (SMC) elements for gold trading overlayed directly on the price chart. Starting at a user-defined session hour (default 2:00 AM UTC+2), it tracks liquidity sweeps, market structure shifts, o
This strategy tracks gold price trends using three exponential moving averages with lengths of 8, 21 and 55. It calculates ADX for trend strength filter and ATR for dynamic risk levels. The script enters long positions when the EMAs align bullishly with suffic
This strategy trades XAUUSD using a combination of Stochastic, RSI, and triple exponential moving averages paired with Fibonacci zones and M15 trigger conditions. It identifies confirmation trades and optional scalping setups based on overbought or oversold le
A liquidity sweep entry tool built as a strategy. It stores recent swing highs and lows as liquidity levels, detects sweeps through them, checks that price reclaims and that the candle meets wick, body and range requirements in pips, then confirms within a sho
This strategy combines multiple EMAs (20, 50, 200), Stochastic, RSI, and ATR calculations alongside Fibonacci zones and lower-timeframe rejection filters to trade gold (XAUUSD). It generates buy and sell signals under configurable modes such as Confirm Only or
This Pine Script strategy for XAUUSD combines Exponential Moving Averages (20, 50, and 200), Stochastic, RSI, and ATR indicators to generate trading signals. It identifies potential buy and sell opportunities using trend alignment, M15 overbought or oversold c
This overlay indicator detects bullish and bearish fair value gaps on the price chart and stores the zones internally without drawing boxes. It plots a fast and slow EMA and can require price to agree with that trend. A signal is intended after a retest of a s
This strategy executes confirmation and scalp trade setups on gold using a combination of Stochastic, RSI, and triple exponential moving averages. Signals evaluate trend direction, Fibonacci pullback zones, and candlestick rejection wicks, with optional higher
This indicator maps session-based Candle Range Theory (CRT) cycles by identifying range formation, manipulation, and distribution phases directly on the price chart. It projects range boxes, supply and demand zones, midpoints, and manipulation trendlines accor
Indicatorv5SMC / ICT / price actionSessions & time
This strategy generates gold trading signals by combining exponential moving averages, Stochastic oscillator, RSI, Fibonacci zones, and M15 rejection wicks. It supports multiple trade execution modes with separate confirmation and scalping legs. Trade entries
714AutoM8tr is a Smart Money Concepts indicator that plots internal and swing market structures directly on the price chart. It identifies Break of Structure and Change of Character points alongside internal and swing order blocks. Users can customize order bl
Calculates Smart Money Concepts market structure elements including internal and swing breaks of structure, change of character, and order blocks directly on the price chart. It highlights bullish and bearish structures, customizable internal and swing order b
Apex Protocol - The SMC Engine is a Smart Money Concepts indicator designed for price chart analysis across multiple timeframes. It automatically detects key SMC market structure events including Break of Structure (BOS), Market Structure Shifts (MSS), Order B
This indicator plots Smart Money Concepts structures directly on the price chart. It identifies and tracks break of structure markers, market structure shifts, fair value gaps, order blocks, and session ranges across London, New York, and Asian trading hours.
Indicatorv5SMC / ICT / price actionSessions & time
Apex Protocol Assistant is a Smart Money Concepts indicator designed for session-based trading. It determines market direction using a higher timeframe Exponential Moving Average and highlights Asian range boundaries alongside London and New York killzones. Th
Indicatorv5SMC / ICT / price actionSessions & time
This strategy samples RSI momentum across a customizable list of federated ticker symbols to build a consensus ratio. When the proportion of assets with RSI above 50 meets or exceeds a selected rigor threshold (Loose, Standard, or Sovereign), it enters a long
Apex Protocol Assistant is a Smart Money Concepts overlay indicator designed for session-based market structure analysis. It highlights the Asian range, London and New York killzones, and key daily and weekly price levels. The indicator evaluates higher timefr
Indicatorv5SMC / ICT / price actionSessions & time
Apex Protocol Assistant is a Smart Money Concepts charting tool designed to identify session-based setups and market structure shifts. It determines directional bias using a higher-timeframe exponential moving average and highlights key trading windows includi
Indicatorv5SMC / ICT / price actionSessions & time
Apex Protocol Assistant is an intraday technical indicator that overlays smart money concepts and trading session levels directly on the price chart. It evaluates higher timeframe EMA trends, change of character shifts, and fair value gaps. The tool highlights
Indicatorv5SMC / ICT / price actionSessions & time
This Pine Script v5 indicator is an SMC trading engine that plots order blocks, fair value gaps, break of structure markers, market structure shifts, and Fibonacci retracements on the price chart. It supports customizable higher and lower timeframes along with
An overlay indicator that builds a zero-lag trailing line from an ATR multiple and flips between buy and sell labels when price breaks it for a set number of closes. Gates for choppiness, baseline slope, volatility expansion, efficiency and ADX can block weak
Apex Protocol v3.0 - The SMC Engine is an overlay indicator designed for Smart Money Concepts market structure analysis. It identifies and plots Break of Structure (BOS) and Market Structure Shift (MSS) markers, Fair Value Gaps (FVG), Order Blocks (OB), and se
A strategy for gold futures based on the initial balance, the high and low of a set New York time window that starts at 9:30 and ends at 10:30 by default. Ranges outside a minimum and maximum percent of price are skipped. After price breaks the range, it waits
Apex Protocol v3.0 - The SMC Engine is an overlay indicator designed for Smart Money Concepts (SMC) trading strategies. It detects market structure shifts (MSS), breaks of structure (BOS), M5 Fair Value Gaps (FVG), Order Blocks (OB), and Asian session ranges.
Apex Protocol v3.0 plots smart-money structure on the price chart. It marks break of structure and market structure shifts, order blocks, fair value gaps with optional midlines, automatic Fibonacci levels, and higher-high, lower-high, higher-low, and lower-low
Apex Protocol v3.3 is a Smart Money Concepts trading indicator that plots order blocks, fair value gaps, BOS and MSS markers, auto Fibonacci levels, area of interest zones and external internal structures on the price chart. It supports multiple killzone sessi
Apex Protocol - The SMC Engine is a comprehensive Smart Money Concepts indicator that overlays key market structure levels directly on the main price chart. It calculates internal and external market structures (BOS and MSS), Order Blocks, Fair Value Gaps (FVG
Plots timed breakout ranges directly on the price chart, designed for gold trading using dollar-based spacing. At scheduled trigger times or recurring two-hour intervals, it creates a central reference box flanked by upper and lower breakout stop lines, follow
This strategy calculates rate of change momentum across multiple user-defined symbols and ranks them using arrays. It rotates capital into the highest-performing asset symbol at scheduled bar intervals by closing all existing positions and entering a long trad
This overlay indicator presents a multi-asset CRT bias scanner as a table on the price chart. It watches up to sixteen symbols, grouped by preset lists or custom slots, and refreshes the scan at a user-set interval in minutes. Optional alerts can fire for stro
CRT Mapper Complete plots Candle Range Theory (CRT) structures, Turtle Soup patterns, and supply and demand zones directly on the main price chart. It identifies time-based session ranges, tracks market structure shifts, and generates entry signals using rejec
A Pine v6 strategy that trades smart money concepts on the price chart. It combines a higher-timeframe bias with an EMA, equal highs and lows liquidity, order blocks, fair value gaps and an optional displacement confirmation. Entries are limited to New York an
CRT State Engine plots time-based CRT models, session state ranges, and institutional market structure on the main price chart. It detects liquidity sweeps, order blocks, Fair Value Gaps, and volume profile imbalances across specified New York time sessions. T
Indicatorv5SMC / ICT / price actionSessions & time
A price-chart indicator that looks for fade setups after price raids the edge of a completed session or prior-day range and closes back inside. It requires the Gann half-range level to sit at least a set number of R away, sizes the stop beyond the raid using A
An indicator for the price chart that marks buy and sell flips and then stays on that side until a reversal. A flip needs several conditions on a closed bar, including a broken ATR trail for consecutive closes, a close through the last confirmed swing, an impu
An indicator for the price chart that draws a merged set of daily reference levels: previous day high, low, open and midpoint, a central pivot range, Camarilla levels, optional floor pivots, previous week extremes, range expansion targets beyond yesterday's ra
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.