Pine Library · 7,612 open-source scripts

Free TradingView Indicators (page 125)

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

Replay Footprint

by eddiebelaval
7 stars

An overlay indicator that constructs footprint volume profiles and value areas directly on the price chart using lower-timeframe detailed volume data. It segregates buy and sell volume across automatic or fixed tick-sized price rows, identifying the Point of C

Indicator v6 VolumeSupport & resistance Repaints
Updated 3 months ago · None stated GitHub repository of Replay Footprint

CRT State Engine v7

by alboogycOdR
6 stars

CRT State Engine v7 is an overlay indicator that tracks institutional CRT session states on the price chart. It analyzes market structure, detects buy-side and sell-side liquidity pools, and plots a volume profile with point of control and value area. Optional

Indicator v5 SMC / ICT / price actionSessions & time
Updated 7 months ago · None stated GitHub repository of CRT State Engine v7

This indicator overlays moving average clouds, swing pivots, and trade signals directly on the price chart. It combines a fast and slow moving average cloud with a long-term trend filter moving average. Trade signals are triggered by moving average crossovers

Indicator v5 TrendMoving averages
Updated 5 months ago · None stated GitHub repository of Heikin Ashi with Pivot Trendlines

Tillson T3 Moving Average (T3)

by mushroom-men-Trading
2 stars

This indicator plots the Tillson T3 moving average on the price chart. It calculates the line from six cascaded exponential moving averages whose coefficients depend on a volume factor. Users choose the source series, the smoothing period, and the volume facto

Indicator v6 TrendMoving averages
Updated 9 months ago · None stated GitHub repository of Tillson T3 Moving Average (T3)

Tables

by Web3Degenerate
2 stars

Calculates real-time price and technical metrics and displays them in a table on the top right of the chart. It calculates the closing price, opening price, bar gain or loss, 50-period EMA, 14-period RSI, and percentage bar change. The table updates only on th

Indicator v4 Screeners & dashboards
Updated 2 years ago · None stated GitHub repository of Tables

DEPV2 Veri 1

by YuceSezar89
1 stars

DEPV2 Veri 1 aggregates OHLCV data from 20 cryptocurrency symbols on the 15-minute timeframe and plots volume plus open high low close values for each symbol on a single chart pane. The first symbol uses the chart's native columns while the remaining symbols a

Indicator v6 Screeners & dashboards
Updated 13 days ago · None stated GitHub repository of DEPV2 Veri 1
1 stars

This indicator projects cycle paths and Fibonacci-scaled moving averages directly on the price chart based on two user-selected reference points in time and price. It computes a base moving average period from the elapsed bars between anchors and derives a sec

Indicator v5 Moving averagesTrend
Updated 7 weeks ago · None stated GitHub repository of Fibo Wave MA - Auto Path (Plot)

Linear GANN 2.0

by vedkanani123
1 stars

A price-chart indicator that draws horizontal Gann price levels derived from a square-number sequence, with optional price labels. Settings control line colour and width, label size, how many levels appear around a reference price, the number of interval divis

Indicator v6 Support & resistance
Updated 2 months ago · None stated GitHub repository of Linear GANN 2.0
1 stars

Overlay indicator of single-bar detections drawn on the price chart. Groups include relative volume tiers named SAAB, Kratos, Grand Slam and MOAB, regular-at-time volume tiers, an all-time high volume marker, momentum LONG and SHORT tiers, high-volume ranks fr

Indicator v5 VolumeOscillators & momentum
Updated 2 months ago · None stated GitHub repository of Heavy Weapons Singles v2

A Pine Script v5 indicator that draws bullish and bearish order block zones on the price chart with volume information inside each zone. Swing length, maximum ATR multiplier, zone count, zone combining and invalidation by close or wick control how zones appear

Indicator v5 SMC / ICT / price actionVolume
Updated 6 months ago · None stated GitHub repository of Volumized Order Blocks LTF 2026 (G)

Position Tool

by ivansoft
1 stars

An indicator that draws a long or short position box on the price chart from an entry point, a take profit level and a stop loss level that the user clicks on the chart. It sizes the trade from an account size, a risk amount given as a percentage or in account

Indicator v5 Support & resistance
Updated 1 year ago · None stated GitHub repository of Position Tool

CND-tracker

by Allen1212
303 stars

This indicator marks historical ARK Invest purchases and sales for the CND ticker on the price chart. It places dated labels below bars for buys and above bars for sells, using green and red label styles. An ETF setting switches between ARKF, ARKW, and a combi

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

Function - IRR

by ricardosantos79
261 stars

This script demonstrates a custom Pine Script implementation of a fourth-order Infinite Impulse Response filter function based on AmiBroker AFL. It uses this mathematical framework to construct multiple smoothing calculations, including an IIR-calculated Expon

Indicator v5 Moving averages
Updated 4 years ago · None stated GitHub repository of Function - IRR

This indicator calculates Ehlers directional movement with a Hann window and plots it in a separate pane. It extracts classic plus and minus directional movement from bar highs and lows, smooths their difference with an exponential moving average, then applies

Indicator v6 Oscillators & momentumTrend
Updated 4 weeks ago · Apache-2.0 GitHub repository of Ehlers Directional Movement with Hann (DMH)

Example 1

by be-thomas
65 stars

This indicator draws a custom bar series from the chart symbol's open, high, low, and close prices using plotbar. It does not calculate a derived oscillator, generate buy or sell signals, or apply filters. There are no user inputs, so the plotted bars always m

Indicator v4
Updated 6 days ago · GPL-3.0 GitHub repository of Example 1

Pretty Good Oscillator

by mihakralj
47 stars

The Pretty Good Oscillator calculates the distance between the selected price source and its simple moving average, normalized by the Average True Range over a specified period. It renders as an oscillator line in a separate pane alongside a zero line and thre

Indicator v6 Oscillators & momentumMean reversion
Updated 8 months ago · MIT GitHub repository of Pretty Good Oscillator

MA Cross

by TWODS-CAPITAL
37 stars

The MA Cross indicator calculates and plots two Simple Moving Averages (SMA) directly on the main price chart. It tracks a short-term moving average and a long-term moving average to help identify trend directions and potential crossover points. When the short

Indicator v5 Moving averagesTrend
Updated 3 years ago · MIT GitHub repository of MA Cross
9 stars

The RJ-Wave Fibonacci Validator tracks and validates wave structures using Fibonacci retracement and extension levels directly on the price chart. It identifies impulse movements and evaluates pullback candidates using configurable pivot sensitivity and Fibona

Indicator v6 Support & resistanceTrend
Updated 3 days ago · MIT GitHub repository of RJ-Wave Fibonacci Validator

Rhokeo-VW-RSI Histogram

by eddiebelaval
7 stars

This indicator plots a volume-weighted RSI as a histogram in a separate pane. It weights positive and negative price changes by volume, smooths those values, and scales the result between -1 and +1. Histogram bars change color by zone: strong or weak bull abov

Indicator v6 Oscillators & momentumVolume
Updated 3 months ago · None stated GitHub repository of Rhokeo-VW-RSI Histogram
6 stars

CRT State Engine CURSOR is an overlay indicator that implements Candle Range Theory (CRT) models alongside Smart Money Concepts (SMC) frameworks. It tracks session ranges including Asia, London, New York, and CBDR, while identifying Direction of Liquidity (DOL

Indicator v5 SMC / ICT / price actionSessions & time
Updated 7 months ago · None stated GitHub repository of CRT State Engine v7.2 CURSOR

Time Weighted Average Price (TWAP)

by mushroom-men-Trading
2 stars

This indicator calculates a session-based time-weighted average price as the simple average of a chosen source series since the last reset. It plots that value as a yellow line on the price chart. The source defaults to the average of open, high, low, and clos

Indicator v6 VolumeSessions & time
Updated 9 months ago · None stated GitHub repository of Time Weighted Average Price (TWAP)

AutoView Trailing Stop

by Web3Degenerate
2 stars

This indicator calculates an Average True Range (ATR) trailing stop level based on market structure swing points and outputs dynamic alert syntax formatted for the AutoView trading automation extension. Users select long or short direction, lookback length, an

Indicator v4 Volatility & bandsSupport & resistance
Updated 2 years ago · None stated GitHub repository of AutoView Trailing Stop

DEPV2 Veri 2

by YuceSezar89
1 stars

This indicator plots OHLCV data for multiple cryptocurrency symbols on a single chart time axis in a separate pane. It uses request.security to fetch 15-minute open, high, low, close, and volume values for symbols such as BINANCE:BCHUSDT.P, BINANCE:ATOMUSDT.P,

Indicator v6 VolumeScreeners & dashboards
Updated 13 days ago · None stated GitHub repository of DEPV2 Veri 2
1 stars

This indicator projects cyclical wave paths and moving averages directly onto the price chart based on two user-defined reference anchor points. It derives a base cycle length from the time difference between the anchors and scales a second period using the 1.

Indicator v5 Moving averagesSupport & resistance
Updated 7 weeks ago · None stated GitHub repository of Fibo Wave MA - Auto Path (Plot)

Liquidity Pools Pro

by vedkanani123
1 stars

A liquidity indicator on the price chart. It detects pivot highs and lows with an adaptive or manual length and groups pivots that sit within an ATR-based tolerance into pools, shown as zones with a strength bar. Strength decays over time and can be volume-wei

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 2 months ago · None stated GitHub repository of Liquidity Pools Pro

Heavy Weapons ULTRA

by nishpa800
1 stars

A volume pattern indicator that draws toggleable signals on the price chart, extended with sub-minute and sub-two-minute thresholds that change the high-volume lookback and displacement floor on very short chart intervals. Signals include relative volume patte

Indicator v5 Volume
Updated 2 months ago · None stated GitHub repository of Heavy Weapons ULTRA
1 stars

This indicator draws a zig-zag of swing highs and lows on the price chart using depth, deviation and backstep settings, and labels each leg with its bar count and optional price. It can mark higher highs and lower lows and shade upswings and downswings. The Re

Indicator v5 Support & resistance Repaints
Updated 6 months ago · None stated GitHub repository of ZigCycleBarCount 2024-2

An indicator on the price chart that draws daily and weekly separator lines and marks the previous day's high and low. Daily separators carry a label with the weekday, date and time, weekly separators are drawn separately, and the previous day levels appear as

Indicator v5 Support & resistanceSessions & time
Updated 1 year ago · None stated GitHub repository of Previous Day High and Low with Separators

CRBU-tracker

by Allen1212
303 stars

This overlay indicator marks historical ARK Invest purchases and sales of CRBU on the price chart. When the ETF setting is ALL, it places green buy labels below bars and red sell labels above bars on fixed calendar dates, each tagged X1. The ETF input also off

Indicator v4
Updated 2 years ago · None stated GitHub repository of CRBU-tracker
114 stars

This indicator plots two Hull moving average variants on the price chart and colors them by which line is above the other. When the Kahlman option is on, both averages pass through a simple Kahlman-style smoother controlled by the gain setting. Optional labels

Indicator v4 TrendMoving averages Repaints
Updated 1 year ago · None stated GitHub repository of Hull Trend with Kahlman
99 stars

The Ehlers Elegant Oscillator is a momentum indicator that computes a bounded oscillator value between approximately -1 and +1. It processes the input series through a 2-bar momentum calculation, normalizes the derivative by rolling RMS over 50 bars, applies t

Indicator v6 Oscillators & momentum
Updated 4 weeks ago · Apache-2.0 GitHub repository of Ehlers Elegant Oscillator (EEO)

Example 10

by be-thomas
65 stars

This indicator derives Point and Figure chart data for the current symbol using high/low price sources, a 14-period ATR box size, and a 3-box reversal threshold. It fetches the synthetic Point and Figure open and close prices using the security function and pl

Indicator v4 Trend
Updated 6 days ago · GPL-3.0 GitHub repository of Example 10
47 stars

The Price Channel indicator calculates and plots the dynamic highest high and lowest low over a user-defined lookback period, alongside a central midpoint line. Built using monotonic deques for optimized streaming runtime efficiency, it plots an upper channel

Indicator v6 Support & resistanceVolatility & bands
Updated 8 months ago · MIT GitHub repository of Price Channel (PCHANNEL)
9 stars

This indicator plots a percentage rate of change in a separate pane. It smooths the ROC with a selectable average, draws a signal line and histogram, and colors long and short momentum around a configurable midline and stretch zones. Optional stall detection m

Indicator v6 Oscillators & momentum
Updated 3 days ago · MIT GitHub repository of ROC Advanced [WavesUnchained]

RSI + Stoch RSI Overlay

by eddiebelaval
7 stars

This indicator combines the standard Relative Strength Index (RSI) and Stochastic RSI into a single oscillator plot within a separate pane. It calculates RSI from price data and applies stochastic smoothing to derive %K and %D lines. Users can toggle individua

Indicator v6 Oscillators & momentum
Updated 3 months ago · None stated GitHub repository of RSI + Stoch RSI Overlay

CRT State Engine v7.3

by alboogycOdR
6 stars

This TradingView indicator for XAUUSD gold analyzes market structure, order blocks, liquidity pools, and volume profiles to generate entry signals on the price chart. It includes session monitoring engines and risk management modules that can be toggled via in

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 7 months ago · None stated GitHub repository of CRT State Engine v7.3
2 stars

Risk-Adjusted Momentum Oscillator plots a normalized momentum oscillator in a separate pane, dynamically scaling momentum by ongoing drawdown risk. It calculates momentum via Rate of Change, Price Momentum, or Log Returns, applying Z-score normalization and ad

Indicator v6 Oscillators & momentumVolatility & bands
Updated 8 months ago · None stated GitHub repository of Risk-Adjusted Momentum Oscillator

Trade Volume Index (TVI)

by mushroom-men-Trading
2 stars

Calculates and plots the Trade Volume Index (TVI) in a separate pane. It tracks price changes relative to a configurable minimum tick threshold to determine whether volume represents buying or selling pressure, accumulating or subtracting volume accordingly. U

Indicator v6 Volume
Updated 9 months ago · None stated GitHub repository of Trade Volume Index (TVI)

Hacim Sıralaması (ATH)

by YuceSezar89
1 stars

This indicator ranks the current bar’s volume against stored historical volume in a separate pane. On the last bar it shows all-history rank, a percentile, the ratio of current volume to the highest stored volume, and the date of that peak. A comparison window

Indicator v6 VolumeScreeners & dashboards
Updated 13 days ago · None stated GitHub repository of Hacim Sıralaması (ATH)
1 stars

Fibo Wave MA - Auto Path (Plot) is an overlay indicator that projects Fibonacci-based wave structures and moving averages onto the price chart. The script calculates a wave period from two user-selected interactive anchor points and generates a secondary movin

Indicator v5 Moving averagesSupport & resistance
Updated 7 weeks ago · None stated GitHub repository of Fibo Wave MA - Auto Path (Plot)

Liquidity Trail Matrix

by vedkanani123
1 stars

A trend indicator on the price chart built from several ATR trail bands whose width follows presets for scalping, balanced or deep trend use. The chosen flip band decides the trend, and retest signals are scored with a minimum score, retest window and cooldown

Indicator v6 TrendVolatility & bands
Updated 2 months ago · None stated GitHub repository of Liquidity Trail Matrix
1 stars

Plots a double-smoothed Bressert stochastic in a separate pane, built from %K and %D lines whose smoothing type can be chosen from a long list of moving averages such as DEMA, EMA, zero-lag variants and Hull-style averages. A second line pair with its own leng

Indicator v5 Oscillators & momentumMoving averages
Updated 6 months ago · None stated GitHub repository of DSS Bressert Stochastic MTF

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