The Alpha-Decreasing Exponential Moving Average (ADEMA) calculates an exponential moving average where the smoothing factor decreases dynamically relative to the bar index. On early bars, the weight given to new price data is larger, making the calculation rea
This indicator plots three moving averages taken from separate timeframes onto the price chart. The user chooses either exponential or simple averages, then sets a timeframe and period for each of the three lines, defaulting to 15-minute, 60-minute, and 240-mi
EMA Crossover Strategy plots a fast and a slow exponential moving average on the price chart. It treats a confirmed fast-over-slow cross as a long condition and a confirmed cross under as a short condition. Position size is a percentage of equity. Optional per
This strategy overlays several classic studies on the price chart. It calculates a MACD-style oscillator from fast and slow moving averages with a signal line, a 200-period exponential moving average, and Williams Alligator smoothed averages for the jaw, teeth
This indicator calculates Bill Williams' Awesome Oscillator in a separate pane. It forms the bar midpoint from high and low, then subtracts a slow simple moving average of that midpoint from a faster one. Default periods are 5 and 34. The histogram is green wh
This indicator calculates and plots a 5-period simple moving average and a 20-period simple moving average directly on the price chart. It visualizes the channel between the two moving averages by filling the background space with dynamic colors. When the 5-pe
This indicator calculates a Supertrend line combined with a 200-period exponential moving average for trend filtering. It plots the Supertrend lines and background fills directly on the price chart, generating buy and sell signal labels when the trend directio
This indicator calculates John Ehlers' Detrended Synthetic Price using a dual exponential moving average (EMA) approach. It derives a fast quarter-cycle EMA and a slow half-cycle EMA from a specified dominant cycle period, applying exact warm-up normalization
This strategy plots a Supertrend and a double exponential moving average on the price chart. Supertrend direction flips mark buy and sell signals, with optional labels and trend highlighting. The DEMA uses a selectable timeframe and source and is requested wit
Divergenced I002 is a trading strategy that identifies entry points using Squeeze Momentum Indicator divergences across price and momentum structure. Long positions trigger on bullish momentum divergences, while short positions trigger on bearish divergences.
This indicator detects compressed corrective coils inside a higher-timeframe trend and signals when they resolve into clean directional breaks. It plots compression bands, fractal boxes, efficiency scores, and a light dashboard on the price chart. Signals clas
Fibonacci Bollinger Bands overlays standard Bollinger Bands along with multiple internal and external Fibonacci ratio levels on the price chart. It calculates a center basis line using a simple, exponential, or weighted moving average, and computes upper and l
This short-only strategy enters when price is below a daily 50-period EMA, crosses under a four-hour 50-period EMA, and closes below the previous bar low. Position size is 20 percent of equity. Exits use a limit and stop based on percentage distances by defaul
This strategy draws up to three exponential moving averages, default lengths 34, 89 and 610, across as many as seven user-chosen timeframes in a separate pane. Each series uses a gradient by timeframe, and optional smoothing or variable line width changes how
This strategy trades Ethereum with a fast and slow exponential moving average crossover filtered by a 200-period EMA. It enters long when the fast EMA crosses above the slow EMA and price is above the 200 EMA. Shorts stay off by default and open only when that
SPY Trending is an indicator designed for SPY that evaluates trend alignment across multiple timeframes using Exponential Moving Averages (5, 10, and 20 EMAs). It fetches data across lower and higher timeframes to evaluate buy and sell conditions, displaying t
This indicator plots five Fibonacci-based exponential moving averages on the main price chart, using lengths of 3, 13, 34, 55, and 144. It tracks Guppy Multiple Moving Average and Granville concepts to analyze trend direction and alignment. The script tests wh
This indicator overlays price action assistance tools on the main price chart. It calculates and plots up to three exponential moving averages with user-defined lengths, colors, and independent multi-timeframe resolution settings. In addition to moving average
Liquidity Location Detector is a TradingView Pine Script indicator that plots fast and slow EMA lines on the price chart along with crossover signals. It detects and draws liquidity zones as colored boxes representing support and resistance levels based on nor
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 strategy plots an exponential moving average on the price chart and opens a long position when the close crosses above that average, but only when no position is already open. It exits with a percentage stop loss and a percentage take profit measured from
This strategy plots a 14-period simple moving average as a chart line and fills the space between two overlapping lines. It creates a small label on each bar, then overwrites the label text. It enters one long contract when close crosses above the line level a
An overlay indicator combining opening range support and resistance levels with a 9 and 21 EMA cross on the chart symbol. It also requests data for four user-chosen option contract symbols and shows their prices and EMAs in a table, with cross times recorded.
US Swing Entry Planner plans swing trading entries on daily price charts using dual entry models: pullback limit buys near the fast EMA and breakout buy-stop orders above pivot highs. It calculates ATR-based stop loss and profit targets along with position siz
This strategy plots 10, 55 and 200 period exponential moving averages on the price chart and calculates a smoothed stochastic oscillator from user K, D and smoothing periods. It opens a long when the K line crosses above D while K is below a fixed oversold lev
Heikin Ashi Trend is a trend-following strategy that calculates Heikin Ashi candle values and moving averages directly on the main price chart. It generates long and short entry signals when a user-defined number of consecutive Heikin Ashi bars align with fast
This indicator simulates and compares standard daily dollar-cost averaging against HMA-filtered long and short DCA execution models. It tracks accumulated position sizes, average cost prices, and accumulated or unrealized profit within a user-specified date wi
Bjorgum Reversal is an overlay indicator that combines Tillson T3 moving averages, Parabolic SAR, and the True Strength Index to identify trend direction and potential reversal points. It recolors candles to signal trends and potential crossovers, while plotti
A Pine v4 indicator in a separate pane that measures the angle, in degrees, of several moving averages including a Jurik moving average. The comments say the angles indicate whether momentum is rising or falling. A threshold in degrees defines low-slope zones,
The Apirine Adaptive Moving Average calculates a dynamic moving average that adjusts its sensitivity according to price volatility and position within a recent range. It uses highest high and lowest low values over a selected lookback period to scale a smoothi
This mean-reversion strategy plots Bollinger Bands and a long-term moving average directly on the price chart. It enters trades when price candles penetrate the outer Bollinger Bands beyond a user-defined body percentage, anticipating a price reversal. Entries
This strategy combines Arnaud Legoux Moving Average percentage price change calculations with an adaptive Gaussian Moving Average to generate trend-following signals. Long and short entries are triggered when the ALMA change calculation crosses above or below
This educational script demonstrates custom candlestick rendering on the price chart using the plotcandle function. It calculates a 20-period Simple Moving Average and checks if the bar's low price remains strictly above it. When the condition is met, the indi
This strategy executes trades based on price interactions with standard Bollinger Bands plotted on the price chart. It calculates a simple moving average basis line along with upper and lower standard deviation bands. Long entries are triggered when price cros
Divergenced J001 is a price-chart strategy that finds squeeze-momentum divergences and can send Zignaly alert messages. It shorts when a light-green to dark-green squeeze section shows a smaller value while price is higher, and longs on the opposite red-sectio
This indicator calculates a user-selected moving average of the source and plots that average's rate of change in a separate pane. Users choose among SMA, EMA, WMA, HMA, RMA, VWMA, and ALMA, plus length and source. ROC length and a multiplier scale the plotted
This overlay strategy combines RSI, which can be read from another timeframe, with fast and slow exponential moving averages. It sequences overbought and oversold crosses with returns into a base zone, optionally counting those events only when the moving-aver
This long-only strategy overlays 50-period exponential moving averages taken from the daily and four-hour timeframes. It opens a long trade when price is above the daily average, crosses above the four-hour average, and closes above the previous bar high. Exit
This Pine Script indicator plots multiple exponential moving averages in a separate pane for technical analysis. It calculates Elliott wave EMAs using Fibonacci wave counts of 34 and 89, plus 200-session and golden ratio lines. Additional Pythagorean cloud lev
This strategy trades on the price chart using a fast and slow exponential moving average crossover. It enters long when the fast EMA crosses above the slow EMA and short when it crosses below, but only during the London or New York session in GMT. Each entry s
Calculates five Exponential Moving Averages (EMAs 3, 13, 34, 55, and 144) based on Fibonacci sequence lengths to combine Guppy Multiple Moving Average (GMMA) concepts with Granville's moving average rules. Plots all moving average lines directly on the main pr
This indicator calculates a simple or exponential moving average and dynamically colors its plot based on the slope angle of the average line. The angle is calculated using an ATR-normalized arctangent formula over a user-defined lookback period. Green indicat
PA Helpers is a price action visual tool that plots multi-timeframe exponential moving averages and psychological round price levels directly on the price chart. It calculates up to three customizable EMAs with individual timeframe, period, and color controls.
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
Paste Check is an overlay indicator that identifies trend direction using dual exponential moving averages. It plots a fast EMA and a slow EMA directly on the price chart. When the fast EMA crosses above the slow EMA, it displays a green triangle below the bar
A moving average crossover strategy where the average type is chosen in the settings: EMA, SMA, WMA or HMA. A fast and a slow average are calculated on a selectable price source. It enters long when the fast line crosses above the slow line and short on the op
This Pine Script v6 strategy plots fast and slow moving average crossovers on the price chart to generate buy and sell signals. It calculates EMA or alternative MA types on a selectable source and triggers entries when the lines cross, subject to confluence fi
A Pine v4 indicator that draws four smoothed moving averages (21, 50, 100 and 200) on the price chart, with a fill between a two-period EMA and the 200 average that turns green or red with trend. It also looks for W and M price shapes with adjustable width and
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.