An overlay indicator that measures how far price sits from a central EMA, smooths that signed deviation with a selectable moving average, and uses a mean absolute deviation measure to scale a trailing band. The multiplier is tight when deviation is strong and
This strategy calculates the Z-score divergence of return spreads between two forex assets such as EURUSD and GBPUSD. It enters long positions when the Z-score falls below the entry threshold with confirmed uptrend from EMA, RSI and MACD filters plus sufficien
This indicator overlays GEX levels on the price chart for options analysis on stocks and indices. It plots Bullseye, Gamma Flip, Call Wall, Put Wall, Max Pain, Expected Move, Flip Zones, and Top N strikes based on pasted TradeTracker data. Busby levels include
This strategy combines trend, volatility, and multi-oscillator filters to generate directional trades. It calculates an Arnaud Legoux Moving Average (ALMA), Keltner Channels, Bollinger Band width, the Chande Momentum Oscillator (CMO), Money Flow Index (MFI), a
Draws a SuperTrend-style trailing line on the price chart, blended from a SuperTrend, Hull moving average bands and recent highest and lowest closes, with an ATR-based zone around it. The line and zone are blue above price and pink below. Inputs set the multip
An indicator on the price chart intended for 5 minute charts. It plots fixed support and resistance from rolling highest and lowest values and combines retest confirmation, a Bollinger Band option, a channel built from an EMA with ATR and standard deviation, a
This indicator draws a Kalman-based trend strength oscillator in a separate pane. It can plot a Kalman filter and an optional Follow Line filtered by ATR and Bollinger Bands, with an optional fill between those lines. ZigZag swings and higher-timeframe PO3 gho
This strategy combines two Supertrend indicators with different factors and periods to identify trend direction on the price chart. The primary Supertrend (factor 3, period 10) signals flips for entries, confirmed optionally by a faster Supertrend (factor 2, p
The HybridAlgo Multi-Indicator Strategy calculates signals from moving average crossovers, RSI, MACD, and Bollinger Bands. Long and short entries trigger when at least three signals align for confluence. It sets stop loss at three times ATR below entry and tak
This overlay indicator plots a simple moving average and inner and outer standard-deviation bands on the price chart. It scores the last four closes against the inner bands, then marks long and short triangles when a mean-reversion cross or, in Aggressive mode
A Pine v4 strategy built on the classic ATR Supertrend, with the ATR calculated either by Wilder's method or a simple moving average. It plots up and down trend lines with buy and sell labels, optional highlight fills, and alert conditions for direction change
Z-Score BB measures statistical deviation by comparing a short-term 22-bar sample mean against a longer-term population baseline. It computes the population standard deviation and standard error to derive absolute Z-score offset bands around the selected basel
A Pine v4 indicator in a separate pane that builds a volatility gauge from the S&P 500 index rather than the chart symbol. It measures how far the latest low sits below the highest high over a short window and a ten times longer window, as percentages, and com
This indicator improves the standard Directional Movement Index by adjusting plus and minus directional movement calculations with a weight factor and SMA adjustments for sensitivity. It calculates and plots improved DI+ and DI- lines in a separate pane. Setti
This indicator calculates theoretical options contract values and in-the-money probabilities using historical realized volatility across multiple standard deviations. It displays these metrics in a table overlay directly on the price chart. Users can adjust th
ADX Strategy (original) is an overlay indicator that identifies trend-following trade signals using the Average Directional Index (ADX) combined with a Simple Moving Average filter. A long signal is generated when the ADX rises above a user-defined trend level
This strategy places buy-stop and sell-stop orders around the opening-session high and low, offset by a user-defined pip gap, and only allows those orders during a separate trading session. It exits with a fixed or ATR-based stop loss and a matching take-profi
This indicator plots a volume-weighted average price of the typical price on the chart and colors that line by ADX strength. It draws a standard-deviation envelope around VWAP and tints the fill green when plus DI leads and red when minus DI leads. Triangle ma
The Choppiness Index is a technical indicator designed to determine whether a market is trending or consolidating. It calculates values between zero and one hundred using true range sums and price ranges over a user-defined lookback length. Lower values indica
This indicator plots Donchian channel bands and a midline on the price chart. It finds the highest and lowest values over a user-set length, then draws the upper band, lower band, and their average as the basis. The source setting chooses high and low, or the
This indicator calculates the average true range and plots it as a single line in a separate pane. It measures true range with gaps included, then smooths that series over a user-set length. The main settings choose the lookback length and the moving-average m
This indicator plots average bar range (ABR) measured move targets, opening range boxes, and historical key reference levels directly on the price chart. It projects bullish and bearish targets (0.5x, 1.0x, 1.5x, 2.0x ABR) from the previous session's close, al
This indicator plots a smoothed stochastic oscillator in a separate pane, with K and D lines, a midsection background, and adjustable overbought and oversold levels. Optional highlights mark overbought or oversold breakouts and K/D crossovers, and ribbon filli
This strategy plots an RSI line in a separate pane and calculates Bollinger Bands and band width without showing those plots. It enters long when price crosses under the lower band and RSI is at or below the buy level. When price crosses the upper band and RSI
This strategy executes trend-following breakout trades using asymmetric parameters for long and short directions. It calculates Donchian channels and ATR (N) to adapt to directional market speeds. Long positions utilize a longer entry lookback and tighter ATR
Chandelier Flip Radar plots an ATR trailing stop on the price chart and tracks a directional trend state. It holds a ratchet stop until an accepted flip, using close or wick extremums and a body filter so weak breaks do not change direction. Distance to the fl
MA+ATR+ADX+PP Strategy is a trend-following system that plots a simple moving average with an ATR-based envelope directly on the main price chart. It changes trend state to bullish when the low exceeds the upper envelope, and bearish when the high breaks below
This indicator projects a dual-asset momentum matrix visualizer directly onto the price chart overlay. It calculates normalized momentum for the chart symbol using either RSI or Stochastic inputs adjusted by ATR volatility, and compares it against a benchmark
The VWAP + Volume strategy trades crossovers of the Volume Weighted Average Price confirmed by volume surges. It enters long or short positions when the closing price crosses above or below the VWAP line while volume exceeds its 20-period simple moving average
This overlay indicator maps an opening drive for a chosen session, using the first 30 or 60 minutes. It tracks drive high, low, midpoint, range, pace, and volume versus a multi-session average, then projects continuation lines from the drive edge and fade line
This indicator calculates a volatility signal-to-noise ratio based on the absolute bar-to-bar price change. It estimates the mean and second moment using an exponential weighting scheme to evaluate relative noise in price movement. The resulting ratio is plott
This indicator calculates both a standard Relative Strength Index and a Relative Liquidity Index, which applies an RSI calculation to Average True Range values. It plots these oscillators in a separate pane alongside overbought and oversold threshold levels. I
This strategy calculates fast and slow exponential moving averages alongside an Average True Range value. It enters a long position when the fast EMA crosses above the slow EMA, and enters a short position on a cross under unless long-only mode is active. Stop
This indicator plots an exponential moving average ribbon consisting of 5, 8, and 13-period EMAs alongside dual Bollinger Bands (narrow and wide bands). It plots buy and sell shapes on the price chart whenever the 5 EMA crosses above or below the 13 EMA. In ad
ODIE AT-DDT combines an Arnaud Legoux Moving Average (ALMA) and an AlphaTrend indicator into a single price chart overlay. It calculates trend direction using ALMA smoothing alongside an ATR-based AlphaTrend that utilizes MFI or RSI. Visual buy and sell signal
The BB Keltner Squeeze Oscillator combines Bollinger Bands and Keltner Channels to identify market volatility squeezes alongside dual moving average momentum oscillators. It plots two column histograms and zero-line squeeze dots in a separate pane below the pr
Normalized Advanced Decomposition Oscillator decomposes price action into three distinct components: a trend component based on a simple moving average, a noise component based on standard deviation, and a transient component derived from significant rate-of-c
Elastic Volume-Weighted Student-T Tension is an oscillator that calculates location and dispersion parameters based on a Student-T distribution model. It uses volume or ATR as a weighting factor to estimate market tension relative to historical distribution le
The Bollinger Band Width Normalized indicator measures volatility by calculating standard Bollinger Band Width and normalizing it to a range between 0 and 1 using min-max scaling over a historical lookback period. It plots as a single oscillator line in a sepa
Position Sizes is an overlay indicator that calculates risk-managed trade sizing based on account size and risk percentage parameters. It calculates position values, required share quantities, stop-loss levels, and 1R take-profit targets across four customizab
This Pine Script strategy uses pivot points to calculate a dynamic center line, around which ATR-based bands are drawn to form upper and lower limits. A trailing line follows the center line, changing color based on trend direction. Buy and sell signals appear
A price-chart overlay that scans for volatility contraction setups, mainly on daily charts. It counts bullish divergences between price and cumulative volume delta built from intrabar data, within a lookback window, and checks that price sits near the range hi
This indicator calculates the distance in ATR units to the nearest higher timeframe OHLC level from the current close price. It identifies the closest level above or below the price and computes the average of near and big levels distances. The script plots we
A price-chart indicator by BackQuant that smooths a chosen source through up to three causal median filters, then a two-pole Super Smoother, to draw a trend line coloured by direction. A chop filter can block trend changes when directional efficiency or ATR-no
A strategy that sorts volatility into five states from the ratio of a fast ATR to its average, then picks entries by state. In low volatility it fades moves beyond the prior range when RSI is stretched. In high volatility it takes range breakouts that match an
A strategy built on a multi-step checklist. It compares 9 and 18 EMA alignment across daily, 4-hour and 1-hour data, then combines Bollinger Band %B and Stochastic RSI conditions with fractal breakout levels. Stops sit at the fractal, take profit is set by a r
Finds sideways ranges on the price chart and draws them as boxes. A range is flagged when every close over the minimum length stays within an ATR-based band around a simple moving average. The box, a dotted midline and top and bottom plot lines extend while th
Composite Price Stats is a trend-following overlay strategy that evaluates statistical metrics on price components. It calculates cumulative true range, variance, deviation, and ADX on hlc3 price data, while plotting an averaged price series. Long entries trig
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.