Pine Library · 7,612 open-source scripts

Free TradingView Indicators (page 56)

Open-source Pine Script indicators that draw on your TradingView chart or in their own pane. Copy one and paste it into the Pine Editor.

Pine scripts7,612
Code shown here3,783open licence
Updated in a year5,283
No repaint flag6,673

Indicators: All

Benso RSI + PMARP

by benso87
24 stars

This indicator plots an RSI and a PMARP line in a separate pane. It calculates RSI from a chosen source and length, then overlays an SMA or EMA signal. Horizontal bull and bear control and critical levels scale the oscillator. Optional arrows mark regular and

Indicator v5 Oscillators & momentumDivergence
Updated 4 years ago · MPL-2.0 GitHub repository of Benso RSI + PMARP

Test Named Args

by jpantsjoha
23 stars

This script serves as a test file that verifies named arguments and member expressions in Pine Script v6. It plots the closing price in a separate pane using a gray line. The script includes no user-configurable input settings, generates no trading signals, an

Indicator v6
Updated 4 weeks ago · Custom licence GitHub repository of Test Named Args

Symbols

by ferranbt
21 stars

Symbols is a simple test fixture indicator used for language server testing in Pine Script v6. The script defines a custom function that multiplies the closing price by two and plots the output series in a separate indicator pane. It serves as a minimal syntax

Indicator v6
Updated 7 weeks ago · MPL-2.0 GitHub repository of Symbols
20 stars

This indicator plots John Ehlers's predictive moving average on the price chart. It builds a weighted average of the selected source, applies a second weighted average, and projects a prediction with a slower trigger. It draws the higher of those two series an

Indicator v5 Moving averagesTrend
Updated 1 year ago · None stated GitHub repository of John F. Ehlers - Predictive Moving Average

Bandz STDV & CISD

by samuelharting
18 stars

This overlay indicator tracks liquidity sweeps, CISD confirmation, and anchor invalidation, then projects numbered standard-deviation levels from zero through minus four on the price chart. It draws ratio lines and labels, optional CISD lines, and fills select

Indicator v6 SMC / ICT / price actionSupport & resistance Repaints
Updated 2 weeks ago · MPL-2.0 GitHub repository of Bandz STDV & CISD

Paper Umbrella Finder

by shibisuriya
18 stars

Paper Umbrella Finder detects Japanese paper umbrella candlestick patterns based on mathematical OHLC ratios. It evaluates the relative thickness of the candle body and the size of the upper shadow compared to the lower wick. Matching candles trigger colored a

Indicator v4 Candlestick patterns
Updated 4 years ago · None stated GitHub repository of Paper Umbrella Finder
16 stars

This indicator calculates and plots standard pivot points along with multiple support (S1-S5) and resistance (R1-R5) levels directly on the price chart. Users can select from several calculation methods, including Traditional, Fibonacci, Woodie, Classic, DeMar

Indicator v5 Support & resistance Repaints
Updated 2 years ago · None stated GitHub repository of Pivot Points Standard + TD + TL

Pocket Scout - SPY/QQQ

by chris-c-thomas
14 stars

Pocket Scout - SPY/QQQ is a mobile-optimized intraday bias indicator designed for major US equity ETFs and indices. It overlays a 9/21/50 EMA ribbon, session VWAP, prior day high/low/close levels, and intraday high/low lines directly on the main price chart. T

Indicator v6 TrendOscillators & momentum Repaints
Updated 6 months ago · MIT GitHub repository of Pocket Scout - SPY/QQQ
11 stars

This indicator marks regional trading hours on the price chart by painting the background when the current bar falls inside a configured session. It checks, in order, the EU, EU plus UK, Shanghai, and Japan or Nikkei sessions and applies a fixed colour for the

Indicator v4 Sessions & time
Updated 2 years ago · MIT GitHub repository of Foreign Markets Timing

This indicator calculates a Fear & Greed Index sentiment oscillator and formats its values according to the PineCoders external signal protocol for strategy integration. It outputs protocol-compliant numerical values (+1/-1 for filters, +2/-2 for entries, +3/-

Indicator v5 Oscillators & momentum
Updated 4 years ago · MPL-2.0 GitHub repository of F&G Cycle Signal for Backtesting-Trading Engine
10 stars

This indicator implements a Traders Dynamic Index (TDI) calculation tailored for Bitcoin on four-hour charts, plotting signals directly on the price chart. It calculates a Relative Strength Index (RSI), moving averages, and volatility bands around the RSI line

Indicator v4 Oscillators & momentumVolatility & bands
Updated 5 years ago · None stated GitHub repository of My TDI B/S BTC 4H
9 stars

This indicator calculates Average True Range across four presentation modes: raw ATR, percentage of price, normalized z-score, and percentile rank. It plots the transformed ATR line alongside a smoothed signal line, an ATR-versus-signal histogram, and optional

Indicator v6 Volatility & bands
Updated 3 days ago · MIT GitHub repository of ATR Advanced [WavesUnchained]

Nexural Pressure Pro

by JasonTeixeira
9 stars

Nexural Pressure Pro is a composite pressure indicator that measures directional market momentum using volume-weighted directional movement, order flow delta, aggression, and efficiency ratio metrics. It filters out low-activity bars using configurable volume

Indicator v6 Oscillators & momentumVolume
Updated 2 weeks ago · Custom licence GitHub repository of Nexural Pressure Pro

Golden Pocket Zones

by MeridianAlgo
9 stars

Golden Pocket Zones draws fixed-height Fibonacci zones on the price chart. It reads daily highs, lows, and a 10-day average range, then centers a band on the midpoint of the 50 percent and 61.8 percent retracement of each qualifying daily candle. Lookback leng

Indicator v6 Support & resistance
Updated 4 months ago · MIT GitHub repository of Golden Pocket Zones

Durbin Watson Test

by Anderson-ALGO
9 stars

This indicator calculates the Durbin-Watson test statistic to measure serial autocorrelation in log returns over a user-defined lookback period. It performs a linear regression of log returns against bar indices to extract residuals and computes the ratio of s

Indicator v4 Trend
Updated 5 years ago · None stated GitHub repository of Durbin Watson Test

TR Macro Backdrop

by Enesp4rl4k
7 stars

This indicator overlays a static Turkish macro snapshot on the price chart. It shows the TCMB one-week repo rate, the overnight lending and borrowing corridor, and annual CPI in a top-right table, together with the snapshot date and the count of embedded PPK m

Indicator v6 Screeners & dashboards
Updated 7 days ago · MIT GitHub repository of TR Macro Backdrop

LunarTick ADX

by lunarticktrading
7 stars

LunarTick ADX calculates the Average Directional Index (ADX) along with positive (+DI) and negative (-DI) directional indicators in a separate pane. It identifies trend direction by tracking crossovers between +DI and -DI, plotting crossover markers directly o

Indicator v6 TrendOscillators & momentum
Updated 2 weeks ago · None stated GitHub repository of LunarTick ADX
7 stars

This indicator calculates a lag-compensated SuperSmoother based on John Ehlers' filter techniques, combining hybrid Butterworth filters with dynamic lag adjustment. It computes adaptive trend metrics and lag-compensated momentum, plotting them in a separate pa

Indicator v6 TrendOscillators & momentum
Updated 3 months ago · None stated GitHub repository of Ehlers Adaptive Trend Filter

BTC Arbitrage

by suyons
7 stars

This indicator tracks and displays Bitcoin price premiums across different exchanges in a dashboard table on the price chart. It calculates the spread and percentage difference between CME Bitcoin futures and Binance BTCUSDT, as well as the Korean kimchi premi

Indicator v5 Screeners & dashboards
Updated 4 months ago · None stated GitHub repository of BTC Arbitrage

This indicator plots three exponential moving averages and a Bollinger Band envelope on the price chart. The band basis can be an SMA, EMA, SMMA, WMA, or VWMA, with adjustable length, source, standard-deviation multiplier, and horizontal offset. Default EMA le

Indicator v6 Moving averagesVolatility & bands
Updated 5 months ago · None stated GitHub repository of EMA 21, 50, 200 & Bollinger Bands
7 stars

This indicator plots standard Bollinger Bands alongside scaled Average True Range (ATR) bands directly on the price chart. It is designed to assist traders in identifying price consolidation zones, potential breakout levels, dynamic stops, and take-profit targ

Indicator v5 Moving averagesVolatility & bands
Updated 1 year ago · MPL-2.0 GitHub repository of Bollinger and ATR Bands

FX Market Sessions

by itmakesyousick
7 stars

This overlay indicator draws up to four Forex trading sessions on the price chart, defaulting to London, New York, Tokyo, and Sydney. Each session uses a chosen timezone and clock range and can show a colored session range, an optional extension, Fibonacci lev

Indicator v5 Sessions & timeSupport & resistance
Updated 3 years ago · None stated GitHub repository of FX Market Sessions

MACD

by trsdn
6 stars

Standard Moving Average Convergence Divergence (MACD) indicator implementation. It calculates the difference between a fast exponential moving average and a slow exponential moving average to form the MACD line. It then smooths the MACD line with a third movin

Indicator v5 Oscillators & momentumMoving averages
Updated 7 days ago · MIT GitHub repository of MACD
6 stars

This indicator detects market stress in cryptocurrency perpetual futures by measuring the spot-to-perp basis, open interest impulses, and liquidation wicks. It signals long-squeeze risks, short-squeeze risks, cascade starts, and market reset completions when b

Indicator v6 Volatility & bandsVolume
Updated 2 months ago · MIT GitHub repository of Capital41 Crypto Perp Stress
6 stars

Institutional Bias Scanner draws a multi-symbol dashboard on the price chart together with optional session overlays. It watches sixteen user-selected symbols that default to major forex pairs, gold, the dollar index, equity indices, oil and crypto. Theme and

Indicator v6 Screeners & dashboardsSessions & time
Updated 7 months ago · None stated GitHub repository of Institutional Bias Scanner

Trend Following MOMO

by TradersPost
6 stars

This indicator calculates 8-period and 21-period Exponential Moving Averages to identify trend direction and momentum crossovers on the price chart. When the 8-period EMA crosses above the 21-period EMA, a buy signal triangle is plotted below the bar. A cross

Indicator v5 TrendMoving averages
Updated 1 year ago · None stated GitHub repository of Trend Following MOMO

TheStrat Suite

by 345-strategies
5 stars

TheStrat Suite plots Rob Smith's TheStrat price-action method on the price chart across up to six configurable timeframes. It classifies bars, detects inside bars, hammers, shooters, outside bars and Failed 2 range reclaims, and marks magnitude and exhaustion

Indicator v6 Candlestick patternsSupport & resistance Repaints
Updated 4 days ago · MPL-2.0 GitHub repository of TheStrat Suite

ZigZag Swing Cycle Average

by chaise-cogent
5 stars

The ZigZag Swing Cycle Average indicator measures and analyzes the average duration of bullish and bearish price swings. It utilizes TradingView's built-in ZigZag library to detect pivot legs based on configurable percentage deviation thresholds and depth para

Indicator v6 Screeners & dashboardsTrend Repaints
Updated 7 months ago · MIT GitHub repository of ZigZag Swing Cycle Average

Momentum

by SiegerTerpstra
5 stars

The Momentum indicator measures the rate of change in price by comparing the current source value to its level a specified number of periods ago. Calculated across custom lengths, it plots in a separate pane with optional moving average smoothing and lookback

Indicator v6 Oscillators & momentum
Updated 9 months ago · None stated GitHub repository of Momentum

Cerebr Sirius

by jerryinyang
5 stars

Cerebr Sirius is a multi-timeframe trend and momentum indicator overlay that combines exponential moving average trend analysis with VuManChu WaveTrend logic and Money Flow Index. It calculates fast and slow exponential moving averages to identify trend direct

Indicator v4 TrendMoving averages
Updated 2 years ago · None stated GitHub repository of Cerebr Sirius
5 stars

This indicator overlays multiple technical analysis tools onto the price chart to evaluate trend direction and trade setups. It computes an exponential moving average, a smoothed Stochastic RSI, a custom Williams Alligator using smoothed moving averages with o

Indicator v4 TrendMoving averages
Updated 3 years ago · Apache-2.0 GitHub repository of 200 EMA + Alligator + Stochastic

MTF Abnormal Price Zones

by InNoobWeTrust
4 stars

The MTF Abnormal Price Zones indicator identifies potential supply and demand zones across multiple timeframes. It detects abnormal volume activity relative to a customizable moving average threshold and applies an RSI momentum filter to validate signals. High

Indicator v6 VolumeSupport & resistance Repaints
Updated 2 days ago · None stated GitHub repository of MTF Abnormal Price Zones

This indicator overlays a visual order-flow dashboard on the price chart using left-aligned labels. It shows a buyer-versus-seller percentage gauge, a signed delta reading, a cumulative volume delta value, and an eight-direction momentum compass colored by bul

Indicator v5 Screeners & dashboardsVolume
Updated 2 weeks ago · MIT GitHub repository of GHOST OrderFlow Dashboard — DerivEAPro
4 stars

This indicator identifies liquidity sweeps and stop hunts on price charts by detecting candles that breach recent high or low levels before closing back inside the previous range. Users can filter signals using lookback windows, minimum wick size relative to c

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 11 months ago · Custom licence GitHub repository of Liquidity Sweep Detector [Lab]

Linear Regression Channel

by Hugs-4-Bugs
4 stars

The Linear Regression Channel indicator calculates the slope, average and intercept of a linear regression line over the specified length using the chosen source. It plots the base regression line and upper and lower channels on the price chart. The channels a

Indicator v5 TrendVolatility & bands
Updated 1 year ago · None stated GitHub repository of Linear Regression Channel

Hull Suite by InSilico

by ShabbirHasan1
4 stars

Hull Suite by InSilico calculates and plots variations of the Hull Moving Average directly on the main price chart. It supports standard Hull MA, Exponential Hull MA, and Triple Hull MA calculations. The indicator renders the values as a single line or a fille

Indicator v4 TrendMoving averages
Updated 1 year ago · Custom licence GitHub repository of Hull Suite by InSilico

GERMENCIK-AT

by Kalumur
4 stars

This indicator plots custom upper and lower bands on the price chart based on a weighted moving average using hlc3 source, length of 50, and a standard deviation multiplier of 2. It also includes Arnaud Legoux Moving Average with adjustable length, offset, and

Indicator v5 Moving averagesVolatility & bands Repaints
Updated 2 years ago · None stated GitHub repository of GERMENCIK-AT

Calculates Kaufman's Adaptive Moving Average (KAMA) based on Kaufman's Efficiency Ratio to adjust smoothing dynamically according to market volatility and efficiency. Plotted directly on the price chart, it adapts faster during trending markets and slows down

Indicator v5 Moving averagesTrend
Updated 3 years ago · None stated GitHub repository of Kaufman's Adaptive Moving Average (KAMA)

RSI (Brahim)

by bfoura
4 stars

RSI (Brahim) calculates the Relative Strength Index (RSI) to detect potential overbought and oversold conditions directly on the price chart. When the RSI value rises above the defined overbought threshold, a red down-triangle marker labelled OB is drawn above

Indicator v4 Oscillators & momentum
Updated 4 years ago · None stated GitHub repository of RSI (Brahim)

Snagprofit WMA

by dearvn
4 stars

Snagprofit WMA is a multi-timeframe trend indicator that calculates a 125-period Weighted Moving Average across the 1-minute, 5-minute, 15-minute, and 1-hour timeframes alongside a local 50-period Simple Moving Average. It identifies momentum signals when pric

Indicator v5 Moving averagesTrend Repaints
Updated 4 years ago · None stated GitHub repository of Snagprofit WMA

RSI Zones

by degenview
3 stars

This indicator plots the Relative Strength Index on a separate pane using a purple line. It calculates RSI based on a user-defined length and source. Horizontal lines mark overbought at 70 in red, the midline at 50 in gray, and oversold at 30 in green. The bac

Indicator v6 Oscillators & momentumSupport & resistance
Updated 2 days ago · GPL-3.0 GitHub repository of RSI Zones

Darvas Box AL SAT

by gocaman
3 stars

Calculates Darvas Box upper and lower channel boundaries based on configurable period length to identify trend breakouts. It plots top and bottom box levels directly on the price chart and plots buy (AL) and sell (SAT) signal labels when price crosses outside

Indicator v5 Support & resistanceBreakout
Updated 2 days ago · None stated GitHub repository of Darvas Box AL SAT

ADR % Ranges

by g-moe
3 stars

This indicator computes the Average Daily Range over the last specified number of days and plots the full ADR level along with one-third of the ADR and an anchor line on the price chart. It displays historical ADR levels from prior sessions and a table showing

Indicator v5 Volatility & bandsSupport & resistance
Updated 5 months ago · None stated GitHub repository of ADR % Ranges

Debug Test Generator

by monch1962
3 stars

This indicator collects test data for debugging Pine Script scripts. It gathers input values, output values, conditions, function calls, and edge cases into arrays. Users enable test generation and select types of tests to produce, including unit tests, integr

Indicator v5 Screeners & dashboardsAI / machine learning
Updated 7 months ago · None stated GitHub repository of Debug Test Generator
3 stars

This indicator compares each bar's volume with a simple moving average of volume and flags a spike when volume exceeds that average by a user-set multiplier. An up candle is treated as bullish and a down candle as bearish. It paints the chart background and op

Indicator v6 VolumeBreakout
Updated 8 months ago · MIT GitHub repository of Stella's Volume Spike Detector

More Pine Script Categories

Browse the whole Pine Library

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.

  1. 1Using this librarySearch, filters, licences and what the badges mean.
  2. 2Add a script to TradingViewCopy, paste into the Pine Editor, save and add to chart.
  3. 3Indicators, strategies and librariesWhat each type does and how to tell them apart.
  4. 4Spot a script that repaintsWhy some signals change after the bar closes.
  5. 5Backtest a strategyStrategy Tester settings that keep results honest.
  6. 6Send alerts to MT4 or MT5From a TradingView alert to an order in MetaTrader.
  7. 7What Pine Script isThe language, what it can and cannot do, and where to start.
  8. 8Write your first indicatorA complete script, line by line, in the Pine Editor.
  9. 9Read a script before you trust itA routine for checking inputs, logic and red flags.
  10. 10Edit a script safelyChange colours and lengths, add a filter or an alert.
  11. 11Pine Script alertsalertcondition(), alert(), placeholders and webhooks.
  12. 12Build a crossover strategyAn EMA cross strategy with an ATR stop, ready to test.

Trade Your Charts With a Regulated Broker

Compare regulated brokers on platforms, spreads, minimum deposit and leverage.

Compare brokers