A momentum strategy on the price chart that combines RSI, MACD histogram, ADX with directional lines and a large-candle test against ATR. Bullish and bearish momentum states require all of these to agree and exclude overbought or oversold readings. It also rea
An overlay tool that works out position size from account size, a risk percentage, the entry price and the distance to a stop loss. It draws entry, take profit and stop loss lines and shows a table with entry price, lots or quantity, take profit, stop loss, ri
Pro Quant Desk (US) v1 is a comprehensive market analysis dashboard overlaid directly on the price chart for US equities. It calculates market regime metrics including macro risk gauges using SPY, QQQ, and equal-weight RSP breadth proxies, two-layer relative s
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
A strategy that enters only when several conditions agree. For longs, a 50 EMA above a 200 EMA, close above the fast EMA, RSI between 50 and 70, and a positive and rising MACD histogram with MACD above signal. Shorts use the mirrored rules. The stop is an ATR
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
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
A price-chart overlay that draws a static set of options gamma levels for SPX (the S&P 500 index) expiring in one day. The center line and the one and two standard deviation bands are hardcoded numbers from a snapshot dated 2026-02-04, produced offline from an
An overlay indicator that detects order blocks from swing points and highlights propulsion blocks, which are blocks that form after price reacts to an earlier order block. Swing length sets detection, and a mitigation setting decides whether a closing price or
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
This indicator projects an on-chart overlay of the MACD oscillator directly onto the main price pane rather than in a separate window. It supports four calculation modes: traditional MACD, MACD-as-histogram, leader MACD, and source MACD. Users can adjust movin
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
An unfinished strategy template on the price chart. It sizes positions from a share of equity and sets up long and short entries with a stop loss and take profit placed as percentages of the entry price, defaulting to 3 and 30. The indicator, input and conditi
This indicator demonstrates how to retrieve fundamental financial metrics using Pine Script's financial data function. It requests quarterly accounts payable data for the current symbol, specified in Swiss Francs, and plots the resulting value series in a sepa
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
A separate-pane RSI toolkit rebuilt for a trading community after the original author left. A mode setting switches between a divergence view with a normal RSI, a smoothed RSI with its own moving average, and a faster momentum RSI. Pivot-based divergence detec
This overlay indicator marks ICT market structure shifts from a zigzag of swing highs and lows on the price chart. It can show bullish and bearish swings, structure-shift marks, and retracements, with optional zigzag lines and colored boxes. Zigzag length, hig
RSI Multi Alerts [Alorse] is a multi-asset monitoring indicator that calculates the Relative Strength Index (RSI) for up to 40 individual user-selected symbols simultaneously. It overlays signal indicators on the chart to identify when any of the monitored ass
This Pine Script v5 library exposes numerical helpers for correlation and special-function work and draws nothing on a chart. It returns machine-dependent floating-point constants, truncates a Chebyshev coefficient array to a requested accuracy, and evaluates
This indicator plots a 200-period weighted moving average (WMA) on the main chart and monitors price deviations across multiple timeframes. It retrieves daily, 15-minute, 5-minute, and 2-minute price data to track distance from the 200 WMA relative to key sess
This indicator identifies High Of Low Price (HOLP) and Low Of High Price (LOHP) candlestick setups based on price extremes over a specified lookback period. A HOLP signal triggers when the current bar closes above the high of a recent session low, whereas a LO
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
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
Supply Demand is a Smart Money Concepts style indicator that maps market structure and identifies volumetric order blocks directly on the price chart. It detects swing points, structural sweeps, and key supply and demand zones. Users can customize structural c
The Candle Bar - No Repaint indicator plots candlestick bars on the price chart. It sets the high and low to the maximum and minimum open prices from the previous three bars. The close of the bar is taken as the current open. The bar color turns blue when the
This indicator marks unfilled price gaps on the chart. It treats a gap-up as the current low above the previous close and a gap-down as the current high below the previous close, then draws a colored box for each gap that extends to the right. A dotted line ca
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
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 indicator plots a Swami Chart of relative strength index values in a separate pane. It calculates RSI-style up and down ratios for lookbacks from 2 to 48 bars, smooths them with a Super Smoother filter, and colors stacked horizontal plots as a heatmap. Va
Divergenced D002 is a trading strategy designed to identify entries based on price and Squeeze Momentum indicator divergences. It triggers long or short positions when histogram color transitions conflict with price higher highs or lower lows. Position exits a
This indicator overlays a volume-weighted average price and a simple moving average on the price chart. It calculates VWAP from the typical price of high, low, and close and an SMA of close over a user-set length that defaults to 20. It plots the VWAP in orang
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,
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 indicator draws a one-cell table at the bottom left of the price chart. It requests the close of FX_IDC:USDKRW on the one-minute timeframe and formats that value with a Korean won symbol. Text is green when the chart bar open is at or below its close, and
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 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 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
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
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
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
BTMM Performance Tracker is a trade analytics indicator designed for Steve Mauro's Beat The Market Maker methodology. It tracks simulated trade executions driven by automated, manual, or external signal inputs to compute account performance, win rates, and ris
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
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.