Calculates and plots an Autoregressive Finite Impulse Response (AFIRMA) moving average directly on the price chart. It weights historical price data using selectable windowing functions, including Hanning, Hamming, Blackman, and Blackman-Harris filters. An opt
This strategy template implements an EMA trend filter paired with MACD momentum confirmations. Long positions trigger when the fast EMA is above the slow EMA alongside a bullish MACD crossover and positive histogram, while short positions require the reverse.
KC15 is a price-chart strategy that configures two moving averages, a Bollinger Band Width Percentile filter, and PMARP entry and exit thresholds for long and short trades. Users can switch each average between SMA and EMA, set lengths and colors, and toggle l
Strategy identifying market entries based on Squeeze Momentum Indicator divergence patterns and exiting via Curie Closing Lines moving averages. It evaluates color transitions in the squeeze momentum histogram against price movements to detect divergence condi
MA+ATR+ADX+PP Strategy combines configurable moving averages with an ADX-modulated ATR volatility band to generate trading signals directly on the price chart. It allows traders to select between eight moving average types, including SMA, EMA, Hull, and Tilson
This indicator overlays a dynamic moving average on the price chart by adjusting a baseline mean with a pulse acceleration factor. It measures rate of change differences between price and the moving average, scaling the displacement by volatility via standard
This indicator combines the Relative Strength Index (RSI) and Money Flow Index (MFI) into a single hybrid oscillator in a separate pane. Users can adjust the relative weighting of price momentum and volume flow to create a custom hybrid value bounded between 0
This long-only strategy identifies pullback opportunities within a broader trend. It enters a long position when the closing price trades above a long-term exponential moving average while falling below a short-term exponential moving average. Once in a trade,
Cerebr is a multi-timeframe trend-following strategy that combines Hull Moving Average (HMA), SuperTrend, and MACD indicators to generate trading signals. Users can individually toggle each component and adjust parameters such as the higher timeframe HMA perio
This strategy plots a short and a long exponential moving average on the price chart and opens long trades only. A long entry needs a recent close cross above the short average, a bullish candle still above it, and the short average above the long average. It
This price-chart indicator is described as producing buy and sell signals with strength levels from 1 to 4. It calculates RSI, MACD, SuperTrend, and fast, medium, and slow EMAs. Labels, background color, and an information table can be shown or hidden, and a m
This indicator calculates the Relative Strength Index and a smoothed moving average across a selectable fixed timeframe, plotting the values in a separate pane. Users can customize the timeframe, RSI length, calculation source, moving average smoothing type, a
This indicator calculates eight Exponential Moving Averages with Fibonacci lengths ranging from 8 to 233. It plots all eight EMAs on the price chart and dynamically colors them green during bullish alignment (when the fastest EMAs are stacked sequentially abov
This strategy plots three exponential moving averages (fast 10, slow 20, trend 100) on the price chart. It generates long entries when the fast EMA crosses above the slow EMA in the last 10 bars and satisfies additional trend EMA conditions on close and low. S
UMURLU-5-8-13-X overlays three exponential moving averages (5, 8, and 13 EMAs) alongside dual Bollinger Bands with narrow and wide standard deviation multipliers directly on the price chart. It generates visual signal labels on the chart when the 5-period EMA
The SnagProfit Trending 1H indicator calculates EMA crossovers using periods 5, 10 and 20 on the close price to identify bullish and bearish trend conditions. It draws a table panel on the chart that labels long trend status as OK CALL or NO CALL. The indicato
This indicator plots five exponential moving averages of Fibonacci lengths on the price chart: 3 and 13 as fast lines, 34 and 55 as slow lines, and 144 as a filter. They are drawn in red, orange, blue, purple, and black. The visible code also counts how many o
This indicator is a debugging example that overlays a scaled close-to-SMA ratio on the price chart. It divides close by a simple moving average, takes the natural log, and multiplies by 100. A triangle appears below the bar when that scaled value exceeds the t
Identifies continuation trade setups based on Beat the Market Maker (BTMM) second-leg patterns directly on the price chart. It defines trading session phases across Asian, London, and New York sessions, filters impulse legs using fast and slow exponential movi
Indicatorv5SMC / ICT / price actionSessions & time
This strategy is written for NVIDIA stock and overlays the price chart. It opens a long when price crosses above an exponential moving average, the rate of change is positive, and the average true range exceeds the previous daily ATR. It closes that long when
This strategy overlays XAUUSD and combines stochastic, RSI, and three EMAs with an ATR-based risk model. Confirm entries can require an M15 overbought or oversold trigger plus a rejection wick, and they stay near Fibonacci or EMA zones without chasing far from
EMD Trend calculates trend direction by combining moving averages with an exponential moving deviation filter. Rendered as an overlay on the main price chart, it generates visual long and short trend signals and offers optional bar coloring. It includes an on-
This strategy enters trades based on consecutive candle directions relative to a chosen moving average filter. It triggers a long entry when both the current and previous candles close bullish above the moving average, and a short entry when both candles close
Quick Stats displays key trading metrics directly on the price chart overlay. It calculates Mark Minervini's Trend Template rules by scoring moving average alignments (50, 150, and 200 SMAs), 200 SMA slope, and 52-week high/low proximities. Additionally, it co
This indicator calculates an Exponential Moving Average (EMA) and plots it directly on the main price chart. It dynamically changes the color of the EMA line based on the relationship between the current closing price and the moving average value. The line tur
Drawing Chartpoint Trendline is a strategy that calculates a 20-period simple moving average to dynamically construct a trendline using chart points between past SMA values. It extracts the projected line price at the previous bar as a reference level on the p
This price-chart strategy seeks Bitcoin mean-reversion entries. It buys when RSI is below its oversold level, Stochastic K is oversold, and price is above ninety percent of a 200-period EMA. It sells short when RSI and Stochastic are overbought and price is be
An overlay indicator that plots opening range levels and a 9 and 21 EMA cross for an index chart, and follows four option symbols against the third resistance and support levels. Cross flags and times for each option are stored and shown in a table that can be
This trading strategy generates scalping entries by combining exponential moving averages with momentum and trend filters. It triggers long or short trades when the short EMA crosses the long EMA, provided RSI, MACD, ADX trend strength, and Stochastic levels c
Corpus Array Basic State is a strategy designed to demonstrate state tracking using Pine Script arrays. It calculates a 20-period exponential moving average (EMA) and populates an array with closing prices during the initial bars. The strategy enters a long po
This overlay indicator draws a volume-weighted trend line and ATR bands on the price chart. It marks a bullish or bearish state when close moves outside those bands and keeps the previous state while price stays between them. Users can show a filled cloud or o
This strategy calculates ATR-based Chandelier Exit bands anchored to highest and lowest price extremes, plotting trailing stop levels directly on the price chart. It enters long or short positions when price crosses opposite bands, subject to an optional 200-p
A Pine v5 indicator that combines a higher-timeframe trend with a short-term entry on the price chart. The trend is a fast EMA above or below a slow EMA on a chosen higher timeframe, shown as a background color. An entry marks when price crosses a 9-period EMA
The script calculates multiple offset VWAP lines alongside Doji candle filters to generate trading signals on a five-minute cryptocurrency chart. It identifies bullish entry conditions when non-Doji green candles break above upper VWAP thresholds, and bearish
The Adaptive Laguerre Filter calculates a smoothed, dynamically adjusted trendline plotted directly on the main price chart. It dynamically adjusts its damping factor (alpha) based on recent price range variations and median percentile calculations over a spec
This strategy plots a Supertrend line from ATR length and factor, plus a single EMA, on the price chart. It enters long when Supertrend turns bullish or while the trend is bullish and price crosses back above the EMA below the last entry price. Short entries m
This strategy is designed for 1-minute S&P 500 futures trading using multi-timeframe data and Fibonacci-weighted standard deviation bands around volume-weighted moving averages. It requests data from multiple higher timeframes without lookahead to prevent repa
STRG-Kijun is an Ichimoku-based trend-following strategy that generates trading signals when the Kijun-sen (base line) changes slope direction. It plots the standard Ichimoku cloud, baseline, lagging span, and directional signal arrows directly on the price ch
This strategy combines a triple exponential moving average system with a Stochastic RSI oscillator to identify trend-following entry opportunities directly on the price chart. It plots 50, 100, and 200-period EMAs while computing smoothed Stochastic RSI values
An overlay indicator that plots dynamic trendlines and support/resistance channels on the price chart. It detects pivot high and low points across a configurable lookback period to draw S/R zones and calculate trendline slopes using ATR, standard deviation, or
This indicator plots three simple moving averages of the closing price on the price chart. The lengths default to 9, 21, and 36 and are labeled Fast MA, Slow MA, and Slowest MA. Each length can be changed independently through the inputs. It only draws the thr
The Convolution Moving Average (CONV) indicator calculates a smoothed price series via FIR convolution with a custom kernel. It plots the CONV value as an overlay line directly on the price chart. The main input allows selecting any source series while the ker
Seykota Alt 22 is a trend-following strategy combining 55-bar Donchian channel breakouts for entries with a Parabolic SAR trailing stop for exits. Position sizing and initial stop-loss levels are determined using Average True Range (ATR). The strategy supports
This strategy combines moving averages, ATR volatility bands and ADX trend strength on the price chart. It calculates ADX from price data and adjusts the ATR multiplier dynamically based on whether ADX is rising or falling. Long and short entries are controlle
This indicator plots a fast and a slow exponential moving average on the price chart and fills the space between them as an EMA cloud. The fill is green when the fast average is at or above the slow average and red when it is below. Arrows mark bullish crossov
This indicator builds a channel from a Hull moving average of the source and an ATR scaled by a band multiplier, then normalizes price inside that channel into a 0 to 100 oscillator. It smooths the result with a weighted moving average and plots the line in a
This indicator calculates and plots multi-timeframe Bollinger Bands directly on the price chart. Users can select from various moving average types for the basis line, such as SMA, EMA, WMA, HMA, RMA, VWMA, or ALMA, alongside customizable basis length, standar
The RSI Trend Strategy combines a short-period Relative Strength Index with 30-period and 100-period Simple Moving Averages to identify trading opportunities on the main price chart. Long positions trigger when a 5-period RSI drops below 30 while price sits ab
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.