Pine Library · 7,612 open-source scripts

Free TradingView Indicators (page 55)

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

The Aetherium Institutional Market Resonance Engine is an overlay indicator that combines coherence analysis, institutional liquidity scanning, and cycle resonance to identify market setups. It measures directional market alignment, calculates volume spike clu

Indicator v6 SMC / ICT / price actionSupport & resistance Repaints

NakInvest PFR Identifier

by feliperazeek
1 stars

This indicator marks a price failure and reversal candle pattern on the price chart. A bullish signal appears when the bar makes a lower low and a higher high than both of the previous two bars and closes above the prior close. A bearish signal is the mirror i

Indicator v5 Candlestick patterns
Updated 1 year ago · None stated GitHub repository of NakInvest PFR Identifier
1 stars

This script serves as a modular template for building multi-symbol screener dashboards overlaying the price chart in TradingView. It provides built-in configuration settings for screen numbering, layout column widths, and individual symbol enable/disable toggl

Indicator v5 Screeners & dashboards
Updated 1 year ago · MIT GitHub repository of Gold Standard Screener Template

CVD Trend Activation

by turnupdigital
1 stars

An indicator that plots cumulative volume delta in a separate pane, using lower timeframe volume data requested for a chosen anchor period. A trend mode is flagged when delta moves above a positive threshold or below the matching negative one, and values betwe

Indicator v6 VolumeOscillators & momentum
Updated 1 year ago · None stated GitHub repository of CVD Trend Activation

Supertrend

by yagyesh-bobde
1 stars

Calculates the standard Supertrend indicator using built-in Pine Script functions based on Average True Range (ATR) and a multiplier factor. It plots a green support line during an uptrend and a red resistance line during a downtrend directly on the price char

Indicator v6 TrendVolatility & bands
Updated 1 year ago · None stated GitHub repository of Supertrend

P/E BANDs

by lumduan
1 stars

An indicator in a separate pane that divides price by trailing twelve month diluted earnings per share to get a price to earnings series, then wraps it in Bollinger-style bands. The basis can be an SMA, EMA, SMMA, WMA or VWMA of the chosen length, with upper a

Indicator v6 Volatility & bandsMean reversion
Updated 1 year ago · None stated GitHub repository of P/E BANDs

量价指标

by fuyuanyuan
1 stars

This indicator combines volume-price divergence detection, RSI-filtered volume breakouts, and MACD divergence signals on the price chart. It evaluates price extremes relative to volume levels to detect volume-price divergences with arrow shapes. It also identi

Indicator v6 VolumeOscillators & momentum
Updated 1 year ago · None stated GitHub repository of 量价指标

Fx Market Sessions

by munlit
1 stars

An overlay indicator that draws trading session boxes and labels for London, New York, Tokyo and optionally Sydney, using a chosen timezone. Each session has its own time range, colour, label and option to extend. Optional kill zone windows for open, rally and

Indicator v5 Sessions & time
Updated 1 year ago · None stated GitHub repository of Fx Market Sessions
1 stars

This indicator detects a selectable set of candlestick patterns and plots them on the price chart. Fast and slow simple moving averages provide a trend context for pattern interpretation. Users can turn individual formations on or off, including doji variants,

Indicator v5 Candlestick patternsMoving averages
Updated 1 year ago · None stated GitHub repository of Candlestick Patterns

SMC Lite

by munlit
1 stars

A lightweight Pine v5 smart money overlay with Spanish labels. It draws swing highs and lows and can show a zig-zag line and price action labels. From those swings it marks supply and demand boxes, tags break of structure and points of interest, and keeps a ch

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 1 year ago · None stated GitHub repository of SMC Lite

Fractal Dimension

by techteam92
1 stars

This indicator calculates John Ehlers' fractal dimension of recent price movement and plots it in a separate pane. It compares the average high-low range over two successive halves of a lookback window with the range over the full window, then converts that ra

Indicator v4 Trend
Updated 1 year ago · None stated GitHub repository of Fractal Dimension

Gaps

by fiji-solutions
1 stars

The Gaps indicator measures and plots the percentage price gap between consecutive bars in a separate pane. It evaluates whether the current bar low is above the previous bar high or the current bar high is below the previous bar low, calculating the relative

Indicator v5 Candlestick patternsVolatility & bands
Updated 2 years ago · None stated GitHub repository of Gaps

Daily OHLC

by JoeTonDev
1 stars

An overlay that draws the current day's open, high, low and close as lines or markers on any intraday chart by requesting daily data. The open line is green when price is above it and red when below, and an optional background tint and a small triangle marker

Indicator v5 Support & resistanceSessions & time Repaints
Updated 2 years ago · None stated GitHub repository of Daily OHLC

This indicator compiles multiple technical components starting with the UCS Stochastic Momentum Index into a composite indicator framework. It calculates range baselines and nested exponential moving averages to evaluate momentum across multiple smoothed stage

Indicator v4 Oscillators & momentumMoving averages
Updated 2 years ago · None stated GitHub repository of One Indicator UCS Stochastic Momentum Index

Stochastic RSI

by RobACurtis
1 stars

A course example file that holds two oscillators for a separate pane. The first is a Stochastic RSI with adjustable RSI length, stochastic length and K and D smoothing, drawn with 80, 50 and 20 reference lines. The second is a MACD with selectable SMA or EMA t

Indicator v5 Oscillators & momentum
Updated 2 years ago · None stated GitHub repository of Stochastic RSI
1 stars

This indicator plots a volume profile directly on the price chart. It calculates cumulative volume over a configurable lookback depth and displays it as horizontal bars. A point of control line marks the highest volume level and can be shown or hidden. Bullish

Indicator v5 VolumeSupport & resistance
Updated 3 years ago · MIT GitHub repository of Woverine - Volume Profile
1 stars

A price-chart overlay that projects a high, mid and low estimate for the next three bars. It averages the open-to-close midpoints, the open-to-close changes and the high-low ranges over a configurable lookback, then chains each estimate into the next. It impor

Indicator v5 Oscillators & momentumTrend

MACD Divergence+

by krosenfeld7
1 stars

MACD Divergence+ calculates standard MACD and signal lines to identify divergence conditions between price action and momentum oscillator pivots. It detects pivot highs and pivot lows across customizable lookback periods, allowing users to configure divergence

Indicator v4 Oscillators & momentumDivergence
Updated 3 years ago · Apache-2.0 GitHub repository of MACD Divergence+

Sector AD

by nvFede
1 stars

A Pine v4 indicator in a separate pane that works as a sector advance-decline count. It pulls closing prices for eleven US sector ETFs (materials, communications, energy, financials, industrials, technology, staples, real estate, utilities, health care and dis

Indicator v4 Screeners & dashboards
Updated 3 years ago · None stated GitHub repository of Sector AD

ATR Trailing Stop

by JohnsonHsiao
1 stars

This indicator plots an ATR trailing stop on the price chart. It multiplies the average true range by a user multiplier and ratchets the stop with price while the close stays on the same side of the line. When price crosses the stop, the line flips to the oppo

Indicator v5 Volatility & bandsTrend
Updated 3 years ago · None stated GitHub repository of ATR Trailing Stop

Hash Ribbons

by DT021
1 stars

This indicator plots daily Bitcoin hash-rate short and long simple moving averages in a separate pane. It marks capitulation when the short average crosses under the long average, miner capitulation while it stays below, recovery while the short average rises,

Indicator v4 Moving averagesOscillators & momentum Repaints
Updated 6 years ago · GPL-3.0 GitHub repository of Hash Ribbons
947 stars

Nick Rypock Trailing Reverse plots a percentage trailing stop on the price chart and reverses its direction when the close crosses that level. In an uptrend it trails below the highest close by the correction coefficient; in a downtrend it trails above the low

Indicator v6 Trend
Updated 12 days ago · GPL-3.0 GitHub repository of Nick Rypock Trailing Reverse

This indicator scans a pasted list of symbols for RSI directional momentum and shows matching long and short signals in a table in a separate pane. The user chooses continuous break, continuous retracement, flip break, flip retracement, divergence, or hidden d

Indicator v6 Oscillators & momentumDivergence
Updated 1 year ago · MPL-2.0 GitHub repository of Momentum Setup - RSI Directional Momentum Scanner
318 stars

This indicator plots four customizable moving averages directly on the main price chart using default lengths of 3, 8, 21, and 50 periods. It fills the space between adjacent averages in green or maroon depending on trend alignment. Additionally, it computes B

Indicator v5 Moving averagesTrend
Updated 2 months ago · MIT GitHub repository of Multiple Moving Averages

4689-tracker

by Allen1212
303 stars

4689-tracker is a visual overlay indicator that plots historical buy and sell transactions executed by ARK Invest funds for a specific asset. It generates hardcoded green buy labels below bars and red sell labels above bars at exact historical timestamps corre

Indicator v4
Updated 2 years ago · None stated GitHub repository of 4689-tracker

Ichimoku Cloud

by harryguiacorn
220 stars

This indicator plots Ichimoku Cloud elements on the price chart, including Tenkan-sen, Kijun-sen, Senkou Span A and B lines with optional Chikou Span. It signals trend changes via Tenkan-sen and Kijun-sen crosses and places arrows at Kijun-sen direction shifts

Indicator v5 TrendMoving averages
Updated 1 year ago · None stated GitHub repository of Ichimoku Cloud
219 stars

This educational indicator calculates 20-period and 60-period Simple Moving Averages (SMA) directly on the price chart. It detects bullish golden crosses and bearish death crosses between the two averages, marking occurrences with chart labels below or above b

Indicator v4 Moving averagesTrend
Updated 5 years ago · None stated GitHub repository of Teaching Example - alertcondition

Test Request Security

by agutinbaigo28
147 stars

This indicator serves as a test script for verifying multi-timeframe and multi-symbol data requests using the request.security function. It fetches the one-hour closing price for the BINANCE:BTCUSDT trading pair and compares it alongside the current chart's cl

Indicator v5
Updated 6 weeks ago · MIT GitHub repository of Test Request Security

This indicator trains a single-neuron artificial neural network (perceptron) on each bar to classify price movement and plot an adaptive moving average on the main chart. It evaluates historical sample data to iteratively adjust weights using a step activation

Indicator v5 AI / machine learningMoving averages
Updated 1 year ago · None stated GitHub repository of Machine Learning: Perceptron-Based Strategy

Adaptive Price Zone

by mihakralj
99 stars

The Adaptive Price Zone indicator calculates volatility bands around a double-smoothed exponential moving average baseline directly on the price chart. It calculates internal smoothing factors using the square root of the user-specified period, double-smoothin

Indicator v6 Volatility & bandsTrend
Updated 4 weeks ago · Apache-2.0 GitHub repository of Adaptive Price Zone

Moon Dev SMA Ribbon 20/40

by moondevonyt
92 stars

Moon Dev SMA Ribbon 20/40 calculates two simple moving averages (default 20 and 40 periods) and overlays them directly on the price chart. The space between the moving averages is filled with a dynamic gradient that adapts in color and transparency based on tr

Indicator v6 TrendMoving averages
Updated 2 months ago · Custom licence GitHub repository of Moon Dev SMA Ribbon 20/40

CCI Background

by be-thomas
65 stars

Calculates a 20-period Commodity Channel Index (CCI) and evaluates its percentile rank over the last 100 bars. It plots the CCI oscillator line in a separate pane alongside a zero level reference. The background dynamically changes using color gradients based

Indicator v5 Oscillators & momentum
Updated 6 days ago · GPL-3.0 GitHub repository of CCI Background

Day Trading Booster

by iamc1oud
56 stars

Day Trading Booster plots session highlights for Sydney, Tokyo, Frankfurt, London and New York sessions on the price chart. It shows opening ranges for selected sessions and day open reference levels derived from ATR. A tabular view displays global forex marke

Indicator v5 Sessions & timeSupport & resistance
Updated 2 months ago · None stated GitHub repository of Day Trading Booster

Ichimoku & SuperTrend

by dcaoyuan
55 stars

This indicator draws a classic Ichimoku cloud on the price chart. It plots the Tenkan-sen and Kijun-sen as Donchian midpoints and fills the cloud between the two leading spans, displaced 26 bars ahead, green when Lead 1 is above Lead 2 and red otherwise. Conve

Indicator v6 Trend
Updated 6 months ago · Apache-2.0 GitHub repository of Ichimoku & SuperTrend

VWAP (Cumulative)

by milocaetano
48 stars

The VWAP Cumulative indicator calculates and plots a continuous Volume Weighted Average Price directly on the main price chart. Instead of resetting at session or daily boundaries, it computes a running cumulative VWAP using typical price and volume across all

Indicator v5 TrendMoving averages
Updated 3 days ago · MIT GitHub repository of VWAP (Cumulative)
47 stars

The IB/ORB Statistical Mapper plots Initial Balance (IB) and Opening Range Breakout (ORB) ranges for 5-minute, 15-minute, and 60-minute windows relative to the New York session open. It renders colored boxes, midpoints, and open lines directly on the price cha

Indicator v6 Sessions & timeSupport & resistance
Updated 8 weeks ago · None stated GitHub repository of IB/ORB Statistical Mapper (hardcoded)
47 stars

This indicator plots the Arnaud Legoux Moving Average on the price chart. It weights recent source bars with a Gaussian window whose peak is shifted by the offset and whose width is set by sigma. The period input sets the lookback, and the source input selects

Indicator v6 TrendMoving averages
Updated 8 months ago · MIT GitHub repository of Arnaud Legoux Moving Average (ALMA)
43 stars

This indicator plots the percentage difference between a fast exponential moving average and a slow one, scaled by the close, in a separate pane. It treats that gap as a standardized measure of trend strength and draws a zero line. Users set both EMA lengths a

Indicator v5 Moving averagesOscillators & momentum
Updated 1 year ago · None stated GitHub repository of Standardized MA Difference

This indicator displays a customizable dashboard table on the price chart. It combines Market Action Pulse state, McClellan breadth z-score, VIX Mood Ring status, and Risk Assessment Model hazard score. Users select symbols such as NASDAQ:QQQE or VIX, toggle c

Indicator v6 Screeners & dashboardsOscillators & momentum Repaints

VN YieldCurveLab V3.4

by Thanhtran-165
38 stars

VN YieldCurveLab is a quantitative macro research indicator that analyzes Vietnam government bond yield curve dynamics and liquidity metrics. Plotted in a separate pane, it displays yield percentages, 20-session basis point changes, or relative pressure heuris

Indicator v6 Screeners & dashboards
Updated 5 weeks ago · None stated GitHub repository of VN YieldCurveLab V3.4

All Candlestick Patterns

by TWODS-CAPITAL
37 stars

This indicator detects and labels multiple classic candlestick formations directly on the price chart. It calculates candle body and shadow dimensions relative to exponential moving averages and confirms prevailing trends with simple moving averages. When matc

Indicator v5 Candlestick patternsTrend
Updated 3 years ago · MIT GitHub repository of All Candlestick Patterns

On Balance Volume

by thanhnguyennguyen
33 stars

On Balance Volume plots the standard built-in OBV metric in a separate pane below the price chart. The line color changes dynamically based on the current bar's price action, displaying green when the closing price is higher than the open price and red when it

Indicator v4 Oscillators & momentumVolume
Updated 1 year ago · None stated GitHub repository of On Balance Volume
29 stars

This overlay indicator marks a four-bar bull or bear breakout follow-through sequence on the price chart. It requires a breakout bar and a follow-through bar that extend the prior extreme while holding the prior extreme, then treats a trade through the follow-

Indicator v6 Breakout
Updated 2 weeks ago · MIT GitHub repository of Zen Breakout Follow Through
26 stars

This indicator requests the current symbol's close from the 60-minute timeframe with request.security and plots that series in a separate pane. It does not overlay the price chart and exposes no user inputs, so the symbol and higher timeframe stay fixed in the

Indicator v6
Updated 2 months ago · AGPL-3.0 GitHub repository of Feature Matrix - request.security

Engulfing Candles

by tistaharahap
25 stars

This overlay indicator marks bullish and bearish engulfing candles with arrows on the price chart. A bullish mark requires a prior down candle and a current bar that meets the script's open and close relationship; a bearish mark uses the opposite pattern. An o

Indicator v4 Candlestick patternsMoving averages
Updated 6 years ago · None stated GitHub repository of Engulfing Candles
24 stars

This indicator plots market structure elements directly on the price chart, identifying internal and swing break of structure and change of character. It calculates bullish and bearish order blocks, equal highs and lows, and swing points while highlighting tre

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 12 days ago · Custom licence GitHub repository of Smart Money Concepts [LuxAlgo] test D

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