Open-source Pine scripts written for gold (XAU/USD): session and range tools, breakout and scalping strategies, and indicators tuned to gold's volatility.
An overlay indicator that tries to show only larger reversals through a very wide ATR trail. A main buy or sell requires a trail break with confirmation closes, a swing high or low break, minimum travel from the last flip, and a minimum pullback from the leg p
This indicator projects geometric symmetry channels and sloped price levels directly on the price chart. It calculates price slopes from two user-selected anchor price levels and anchor timestamps, applying an optional slope multiplier such as the golden ratio
This indicator plots time-based support and resistance levels on the price chart across global trading sessions. It maps the high, low, and open levels of the first five Wednesdays of each month, daily midnight candles, and New York pre-market levels derived f
This script plots time-based key price levels directly on the main price chart, including Wednesday high, low, and open levels, Midnight levels, and NY PreMarket session high/low levels. It tracks global market session opens, London fixes, and key economic eve
A gold pullback strategy for intraday charts. It trades in the direction of a 20 over 50 EMA trend when price dips to the fast EMA and closes back beyond it, with RSI rising in that direction. Filters require a minimum ATR, an ADX of at least 16, a cooldown an
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.