A chart-overlay indicator that classifies market regime with ADX and Bollinger Bands, then scores momentum, volume and mean-reversion conditions using adjustable weights, optionally normalised. A signal appears when the score passes a threshold. It draws a tre
An overlay indicator that builds a zero-lag moving average by adding the gap between price and its EMA back to price and smoothing again, then compares it with a plain EMA. Crossovers give up and down signals and the lines change colour with direction. A box i
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
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
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 indicator calculates the statistical autocorrelation coefficient of an input series over a user-defined lookback window at a specified lag. It tracks values using an internal circular buffer, computes sample mean, variance, and autocovariance, and normali
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
This script calculates a simple moving average of closing prices over a specified length and dynamically changes its plot color based on the direction of the average. When the moving average value is rising compared to the previous bar, the line displays the s
This indicator detects inside candles inside larger parent candles on the price chart. It plots colored boxes around inside and parent candles, fills them with user-adjustable transparency, draws Fibonacci retracement lines and mother candle range lines, and d
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
Breaker Blocks with Signals [LuxAlgo] is an overlay indicator that identifies smart money market structure swing points and breaker block zones. It plots bullish and bearish breaker blocks directly on the price chart as dynamic boxes. Traders can customize the
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 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
This overlay indicator marks bullish and bearish chart patterns on the price chart and can hide either side. Optional filters require agreement from fast and slow EMAs, Supertrend, and ADX, plus volume, RSI, nearby pivot support or resistance, and a user-defin
This strategy plots a fast and a slow simple moving average on the price chart and enters long when the fast average crosses above the slow average, or short when it crosses below. Opposite crosses reverse the position. Inputs change the two lengths, leverage,
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 strategy plots a short and a long exponential moving average on the price chart and compares them. It enters long after the short average stays above the long average for ten bars, and enters short after the opposite holds for ten bars. It tries to close
This indicator plots Smart Money Concepts (SMC) elements directly on the price chart, including higher-timeframe structure breaks, order blocks, and fair value gaps (FVGs). It uses an inducement filter to validate market structure shifts alongside expected hig
This strategy combines optional Hull moving average, SuperTrend, and MACD conditions in a separate pane. It marks HMA rising or falling over a chosen period and SuperTrend long or short direction, and it treats MACD above or below its signal line as buy or sel
This strategy executes short trades based on trend confirmation and momentum exhaustion. It calculates a 50-period and 200-period EMA, requiring price to trade below the 200 EMA with a recent upward pullback through the 50 EMA. Short entries are further filter
This multi-mode trading strategy executes trades on the price chart using selectable technical models, including RSI-2 mean reversion, SuperTrend, MACD crossovers, Triple EMA, Bollinger Bands, or a combined multi-indicator approach. It filters trade entries us
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 Pine Script v5 strategy calculates a simple moving average of a configurable source over a user-defined length. It generates long entries when close crosses above the moving average and short entries when close crosses below it. The strategy draws on the
This strategy plots a fast, a slow and a derived average moving average on the price chart, each selectable as an EMA or SMA. A long entry requires a recent fast-over-slow cross outside the last four bars, price above the fast and the longer trend average, and
SnagProfit Trending is a multi-timeframe dashboard indicator that monitors trend direction across multiple resolutions using exponential moving average alignments. It calculates EMA relationships across timeframes starting from lower intervals like the one-min
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
This indicator combines modified Guppy Multiple Moving Average (GMMA) concepts with Granville's rules using Fibonacci-based exponential moving averages. It plots five EMAs on the price chart (3, 13, 34, 55, and 144 periods) to track short-term momentum, interm
This indicator plots a fast and a slow simple moving average of the close on the price chart. It marks a bullish signal when the fast average crosses above the slow average and a bearish signal when it crosses below, using small triangles at the bar. A faint b
This multi-component overlay indicator plots algorithmic trading signals, trend clouds, and reversal bands directly on the price chart. Users can choose between multiple signal models tailored for scalping, momentum, or swing trading, adjusted via sensitivity
Simple Alert Strategy is a moving-average crossover system designed for automated webhook alerting. It computes a 3-period simple moving average on closing prices directly on the main chart. The strategy enters a long position when the price crosses above the
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
This strategy executes trend-following and scalp trades on gold using EMA alignment, RSI, Stochastic oscillators, and M15 rejection triggers. Entries are confirmed through multi-indicator filters, Fibonacci zones, and EMA chase limits. Exits utilize swing high
This strategy combines an example trend pullback trading model with a modular monthly performance table displayed directly on the price chart. It buys when price is above a long-term moving average but below a short-term moving average, and exits when price cl
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
Classifies the market into bull, bear, range and chop regimes with a hidden Markov style model in a separate pane. Three standardised inputs, trend, volatility and ADX, are scored against configurable regime means and variances that can be pasted from an exter
This strategy implements Linda Raschke's classic trend pullback setup. It measures market trend strength using the ADX indicator and identifies pullbacks to an Exponential Moving Average (EMA). When ADX exceeds a specified threshold and price touches the EMA,
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 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
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
Compares price with a moving average on four selectable timeframes, defaulting to 15 minutes, 1 hour, 4 hours and 1 day. Each timeframe scores plus one, minus one or zero, and the four are summed into an alignment score from minus four to plus four. It plots i
An indicator on the price chart that draws an ATR-based trailing stop with a smooth tightening phase. The stop starts at a multiple of a 200 period ATR from the extreme and flips when the close crosses it. After a flip, the stop moves closer to price along a s
A macro strategy that builds a global central bank liquidity series from the Fed balance sheet, Treasury account, reverse repo, ECB, People's Bank of China and Bank of Japan, and a combined M2 money supply series, each convertible to dollars and switchable. It
This indicator computes the Kalman filter applied to the chosen source to measure trend strength and generate oscillator values. It plots these values along with optional ZigZag swing points in a separate pane. The script overlays PO3 ghost candles from a high
This strategy trades intraday price interactions with the Volume Weighted Average Price (VWAP). It offers bounce and crossover entry modes, filtered by an Exponential Moving Average trend filter and a customizable trading session window. Stop loss levels are c
This indicator plots an overlay version of the MACD directly on the main price chart alongside optional Zigzag multi-depth calculations and pivot analysis. It calculates traditional, histogram-based, leader, or source-based MACD oscillators and displays signal
An indicator on the price chart that draws a zigzag of swing highs and lows from a chosen timeframe, with length, depth and highlight level inputs and an option for a curved line. The recursive depth builds higher-order swings from lower ones. It can attach RS
Strategy Tester is an overlay trading strategy that combines linear regression momentum, Directional Movement Index (DMI), and Average True Range (ATR) volatility levels. It seeks long entry setups when pivot highs form on the custom momentum oscillator while
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.