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 strategy calculates a customizable MACD oscillator and histogram using either simple or exponential moving averages. It identifies pivot highs and pivot lows on the MACD histogram to detect momentum divergences against price action. Historical pivot point
Signal Forge is a trend-following overlay indicator that combines an ATR trailing stop with a customizable Exponential Moving Average trend filter. It plots dynamic trailing stop lines and colors bars based on whether price action aligns with the EMA baseline.
A moving average crossover strategy using two Hull Moving Averages. It enters long when the fast HMA crosses above the slow HMA and short when it crosses below, reversing the position each time. Both lengths are adjustable, and both lines are drawn on the pric
An overlay indicator that combines pivot support and resistance lines with a Hull-style moving average chosen from HMA, EHMA or THMA. It compares the average with a copy shifted by two bars to print buy and sell labels showing price and Indian time. A buy open
An overlay indicator that draws a cloud around a VIDYA, a volatility-adaptive moving average. Cloud width comes from the standard deviation of price over a history window, with separate positive and negative multipliers for the upper and lower edges. The cloud
A strategy that trades a 10 and 21 period EMA crossover, going long on a cross up and short on a cross down. Each entry has an ATR-based stop, 2.5 times ATR by default, and a profit target at 2.5 times the stop distance. Position size comes from a chosen risk
Trade Worthy is a large multi-tool overlay indicator written in Pine v5. It shows a configurable dashboard of indicator readings, volume information and stats, with Pi moving averages on by default. Many other layers are off by default and can be switched on,
This strategy calculates a 10-period rolling moving average (RMA) alongside short-term pivot highs and pivot lows to identify trend alignment. It plots the RMA line directly on the price chart. Long entries trigger when price crosses the RMA while the RMA is r
This overlay strategy combines SuperTrend, ADX, OBV, MACD, directional movement, EMA, and a volatility filter to open long or short trades sized as a percent of equity. Each filter and each side can be switched off. Users set EMA lengths, DI length, volatility
This indicator combines multiple technical tools into a single price chart overlay, designed to optimize space and indicator limits. It features an overlay MACD visualizer with selectable calculation methods (Traditional, AS Histogram, Leader, or Source), cust
A strategy that trades from a linear regression channel combined with three moving averages (base, slow and fast). It can take long and short deals, requires a minimum channel width, and sizes orders either as a share of equity or a fixed quantity. Exits scale
Calculates an Elastic Volume Weighted Moving Average (EVWMA), incorporating trading volume to dynamically adjust moving average responsiveness over a specified lookback length. It plots directly on the price chart as a single moving average line. Optional colo
This Pine Script v5 library provides an exported function to calculate moving averages directly over float arrays. Users can supply a sample array, set the smoothing length, choose whether to omit initial values prior to reaching the lookback window, and speci
The NQU2023-10M V1 strategy calculates 3-period simple moving averages of high and low prices alongside 3-bar price action patterns to detect short-term swings and trend reversals. It enters long or short trades when price action confirms a trend change condit
This indicator plots an Endpoint Moving Average on the price chart. It calculates a linearly weighted average of the selected source over a lookback window, assigning the largest weight to the newest bar and smaller weights to older bars. The period input sets
This strategy executes trend-following trades directly on the price chart based on consecutive expanding candle bodies filtered by the 13-period exponential moving average. When price is above the EMA13, it enters long positions after three consecutive bullish
Adaptive Structure Trend Engine plots a multi-layer trend view on the price chart. It uses FRAMA for structure and slope, KAMA for regime efficiency, and JMA for smoother momentum confirmation, then checks an EMA hierarchy of 21, 50, 100, 150 and 200. Base sig
This strategy evaluates breakout and trend-continuation signals using a higher-timeframe MACD and Stochastic RSI filter. It calculates MACD fast and slow exponential moving averages alongside Stochastic RSI overbought and oversold thresholds to identify histog
This strategy combines Kijun-Sen baseline logic, the SSL Channel indicator, and the Waddah Attar Explosion (WAE) oscillator into an integrated entry framework plotted directly on the main price chart. It triggers long entries when price is above the Kijun-Sen
This indicator calculates the Moving Average Convergence Divergence (MACD) line, signal line, and histogram in a separate pane. It uses configurable fast, slow, and signal lengths to compute standard momentum values. The histogram is dynamically shaded with di
This indicator plots a standard MACD oscillator in a separate pane. It calculates a 12-period EMA minus a 26-period EMA, smooths that difference with a 9-period EMA signal line, and draws both series plus a zero line. A green upward triangle marks a MACD cross
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
Fractal Adaptive Moving Average (FRAMA) calculates an adaptive moving average line by determining the optimal smoothing factor alpha via fractal dimension analysis of price data. It applies the period parameter to the selected source and plots the resulting li
Signal Forge is a multi-filtered trend-following indicator displayed on the main price chart. It calculates an ATR trailing stop line alongside a long-term EMA baseline to identify market direction. Raw signal flips are filtered through ADX chop detection, a v
This strategy trades breakouts using VAMA Bands on the price chart. It supports long and short entries with filters from VAMA, MACD, DI, ADX, OBV and optional entry limits. Positions exit on opposite trend, force close periods or flip signals. Main settings ad
This mean-reversion strategy combines multi-timeframe exponential moving averages, Bollinger Bands, and the Relative Strength Index. It generates long and optional short trade signals when price interacts with the Bollinger Bands alongside RSI threshold confir
This indicator plots smoothed adaptive moving averages on the price chart using T3, AMA, or Kaufman methods. It accepts various sources including standard and Heikin-Ashi versions. Main settings select the calculation type, input source, period length, and smo
Ersinator A002 is a strategy that combines moving average and KDJ momentum calculations to generate trade signals directly on the price chart. It features built-in alert formatting designed for integration with the Zignaly crypto trading platform. Position ris
This indicator combines MACD and RSI to generate pullback signals on forex pairs. It plots MACD line, signal line and histogram alongside RSI and Wave Trend oscillator. Higher-timeframe MACD provides trend bias while RSI identifies overbought and oversold zone
Combines the Kijun-Sen baseline, SSL channel crossovers, and Waddah Attar Explosion momentum calculations to generate directional trade signals. The indicator plots the Kijun-Sen and SSL lines directly on the price chart. When price aligns relative to the Kiju
This strategy plots the Alligator indicator with customizable Jaw, Teeth, and Lips lines on the price chart. It generates buy and sell signals when the close price moves beyond the Lips line by a minimum gap percentage. The strategy includes optional SMA and V
This strategy combines a standard Moving Average Convergence Divergence (MACD) crossover signal with an exponential moving average (EMA) trend filter. Long positions are entered when the MACD crosses above its signal line while price is above the trend EMA. Sh
This indicator plots five Exponential Moving Averages (EMA 3, 13, 34, 55, and 144) on the price chart to determine market trend structure. It identifies entry confluence signals by detecting when an EMA 3 and 13 crossover coincides with a MACD crossover within
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 strategy combines the Williams Vix Fix oscillator with volume-weighted moving average (VWMA) bands to identify reversal entries. It plots the VIX Fix histogram and optional Bollinger and percentile bands in a separate pane. Long entries trigger when the o
This indicator calculates an ATR-based trailing stop and combines it with a 200-period baseline EMA to identify trend reversals on closed candles. To eliminate false breakouts, it filters signals through an ADX chop detector, a relative volume threshold, and a
This strategy computes two simple moving averages on a selectable price source and plots them on the price chart. The source defaults to close but can be overridden at runtime via the input panel, for example to high. It signals long entries on fast SMA crossi
The strategy plots fast and slow exponential moving averages with their difference as spread on the price chart. It enters long when the spread line crosses from negative to positive and short when crossing from positive to negative. Positions stay open until
The Farey Sequence Weighted Moving Average calculates a smoothed trend line by weighting historical price values according to terms from a Farey sequence of a selected mathematical order. The line plots directly on the price chart and updates dynamically based
This separate-pane indicator plots a MACD line, a signal line, and a histogram whose colors show whether the histogram is rising or falling above or below zero. The oscillator and signal can each use an SMA or an EMA, and an optional marker highlights MACD and
Snag - Auto Trade Futures is an overlay indicator designed for trend tracking using weighted moving averages (WMAs). It plots 13-period, 48-period, and 200-period WMAs directly on the price chart and identifies momentum shifts when these averages cross. When f
The Mean Reversion Strategy Template calculates a baseline mean using SMA, EMA, or VWAP alongside upper and lower deviation bands based on standard deviation, ATR, or percentage offsets. It generates long and short entries when price touches, bounces from, or
This strategy overlays the price chart and looks for VWAP pullbacks. It goes long when a short SMA crosses above VWAP after RSI has been oversold within ten bars, and short on the opposite cross after RSI has been overbought. Optional Minervini-style moving-av
FairValueGap A008 is an automated strategy template designed for integration with the Zignaly trading platform. It uses customizable moving average filters (Curie closing lines) to generate buy and sell signals directly on the main price chart. The strategy fe
This indicator calculates a multi-timeframe MACD, higher-timeframe RSI, and WaveTrend oscillator to generate trading signals. It triggers long entry shapes when higher-timeframe MACD momentum aligns with oversold RSI readings, and short entry shapes during ove
A short-only trading strategy combining three technical indicators: Kijun-Sen, SSL Channel, and Waddah Attar Explosion (WAE). It opens short positions when price is below the Kijun-Sen baseline, the SSL Channel crosses down, and WAE signals downside momentum e
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.