Pine Library · 7,612 open-source scripts

Free TradingView Indicators (page 121)

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

Discord Alerts

by Web3Degenerate
2 stars

Discord Alerts builds TradingView alert text as Discord webhook JSON. It calculates percentage price change, a 14-period RSI, and a 14-period ATR, then formats those values into an embed with a bot name, avatar, icons, title link, optional message, and optiona

Indicator v4 Oscillators & momentumVolatility & bands
Updated 2 years ago · None stated GitHub repository of Discord Alerts

P_syn_tuples

by GammaExpansion
1 stars

This indicator serves as a synthetic test script demonstrating tuple destructuring syntax in Pine Script v6. It calls multiple technical functions that return tuples, including a custom min-max function on candle bodies, MACD, Supertrend, Bollinger Bands, and

Indicator v6 TrendOscillators & momentum
Updated 7 days ago · MIT GitHub repository of P_syn_tuples

DEPV2 DEBUG S7

by YuceSezar89
1 stars

DEPV2 DEBUG S7 is a Pine Script v6 indicator that draws in a separate pane. It tracks up to twenty user-selected symbols, defaulting to Binance USDT perpetual crypto pairs. Signals use trend, momentum, volatility, and volume methods alone, together, or in a ti

Indicator v6 Screeners & dashboardsTrend Repaints
Updated 13 days ago · None stated GitHub repository of DEPV2 DEBUG S7
1 stars

This indicator plots three detrended price series and their moving averages in a separate pane. It converts a user-selected start and end time into a bar length, then builds simple moving averages of close at that length and at 1.618 and 0.618 multiples. Each

Indicator v5 Moving averages
Updated 7 weeks ago · None stated GitHub repository of Detrended Price + Detrended MAs

GROK PA Daily Levels

by vedkanani123
1 stars

An indicator for the price chart that draws a merged set of daily reference levels: previous day high, low, open and midpoint, a central pivot range, Camarilla levels, optional floor pivots, previous week extremes, range expansion targets beyond yesterday's ra

Indicator v6 Support & resistanceSessions & time Repaints
Updated 2 months ago · None stated GitHub repository of GROK PA Daily Levels
1 stars

This indicator combines three dominant cycle lengths, pivot highs and lows, and candlestick pattern matching to project future turning prices and dates. Bollinger Band, Keltner Channel and volatility lengths are also available as inputs. Projected values appea

Indicator v5 Support & resistance Repaints
Updated 6 months ago · None stated GitHub repository of Price and Date Forecast V5

Volume Value

by ivansoft
1 stars

An indicator in a separate pane built on traded value, volume times the mid price, taken from 30-second data and cumulated over one, three, five and ten minutes. For each window it computes a percentile level over a settable number of bars and checks the value

Indicator v6 VolumeSupport & resistance Repaints
Updated 1 year ago · None stated GitHub repository of Volume Value

TD Sequential

by zhuzp98
1 stars

The TD Sequential indicator calculates and tracks trend exhaustion and potential reversal points based on Tom DeMark's sequential counting logic. It evaluates relative high and low price conditions across historical bars to determine setup, continuation, and r

Indicator v4 TrendOscillators & momentum
Updated 1 year ago · None stated GitHub repository of TD Sequential

UTC Clock

by everget
947 stars

The UTC Clock is a simple indicator that shows the current UTC time on the chart. It uses the timenow function to calculate the current hour, minute and second. These values are formatted with leading zeros to ensure two-digit display for hours, minutes and se

Indicator v4 Sessions & time
Updated 12 days ago · GPL-3.0 GitHub repository of UTC Clock

CEL Tracker

by Allen1212
303 stars

CEL Tracker visualizes historical buy and sell transactions executed by ARK Invest directly on the price chart. The indicator places text labels at specific historical timestamps corresponding to public trade reports, displaying buy or sell activity alongside

Indicator v4 Screeners & dashboards
Updated 2 years ago · None stated GitHub repository of CEL Tracker
99 stars

This indicator plots John Ehlers' Adaptive Laguerre Filter on the price chart. It estimates tracking error from the absolute difference between the source and the last filter value, normalizes that error with the highest and lowest values over the length windo

Indicator v6 Trend
Updated 4 weeks ago · Apache-2.0 GitHub repository of Ehlers Adaptive Laguerre Filter

ATR Breakout

by TamaraKGreen
47 stars

This indicator plots the 100-bar percent rank of ATR in a separate pane and draws a midline at 50. It colors that midline green, red, or gray by comparing the close with the open a set number of bars earlier against a multiple of ATR across a lookback window.

Indicator v5 Volatility & bandsBreakout
Updated 8 weeks ago · None stated GitHub repository of ATR Breakout
47 stars

Calculates and plots a forward price prediction directly on the main chart using an on-chart multilayer perceptron neural network. The model processes technical input features including moving average ratios, RSI, normalized ATR, and Bollinger bandwidth throug

Indicator v6 AI / machine learning
Updated 8 months ago · MIT GitHub repository of Multilayer Perceptron Predictor

This indicator classifies market conditions into Trend, Range, or Chaos regimes by combining the Kaufman Efficiency Ratio, Fractal Dimension Index, and Choppiness Index into a single trendiness metric. It normalizes and applies custom weightings to each sensor

Indicator v6 TrendVolatility & bands
Updated 3 days ago · MIT GitHub repository of Regime Classifier [WavesUnchained]

Malaysian SnR Kai[DoN]

by eddiebelaval
7 stars

Calculates and plots support and resistance levels using pivot high and pivot low structures based on Malaysian SnR concepts. It draws active support and resistance price zones, tracks role reversal lines when levels break, includes a simple moving average fil

Indicator v6 Support & resistanceMoving averages
Updated 3 months ago · None stated GitHub repository of Malaysian SnR Kai[DoN]

CRT State Engine

by alboogycOdR
6 stars

This overlay indicator tracks CRT models at 1:00, 5:00 and 9:00 and a session state machine covering CBDR, Asia, London, London lunch and the New York open. It analyzes draw-on-liquidity pivots, market structure, liquidity pools, volume profile and multi-pair

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

GARY - Patterns

by g-moe
3 stars

GARY - Patterns is a multi-horizon chart pattern detection indicator that identifies wedge and triangle patterns across short-term, medium-term, and long-term lookback periods. It evaluates swing high and low pivot points using customizable lookback spans and

Indicator v5 Support & resistanceTrend
Updated 5 months ago · None stated GitHub repository of GARY - Patterns
2 stars

This indicator calculates multi-period performance metrics across multiple horizons, including one week, one month, three months, six months, one year, and year-to-date, alongside historical seasonal comparisons. It renders visual panels and comparison polylin

Indicator v6 Screeners & dashboards Repaints
Updated 8 months ago · None stated GitHub repository of Market Stats Panel [Daveatt]

Relative Volatility Index (RVI)

by mushroom-men-Trading
2 stars

This indicator calculates the Relative Volatility Index (RVI), which measures price volatility directionally in a separate pane. RVI applies Wilder's smoothing to upward and downward standard deviations of price changes over a specified lookback period, genera

Indicator v6 Volatility & bands
Updated 9 months ago · None stated GitHub repository of Relative Volatility Index (RVI)

PSMC - Alerts Within Session

by Web3Degenerate
2 stars

This indicator uses time sessions to control when alerts trigger on the price chart. It defines a main trading session along with optional pre-market and after-market periods. The InSession function checks whether the current bar falls inside the session using

Indicator v4 Sessions & time
Updated 2 years ago · None stated GitHub repository of PSMC - Alerts Within Session

P_syn_types_explicit

by GammaExpansion
1 stars

This script tests Pine Script v6 syntax by declaring and operating on multiple data types including integers, floats, booleans, strings, colors, arrays, matrices, maps, and drawing objects such as lines, labels, boxes, and tables. It calculates a plot value by

Indicator v6
Updated 7 days ago · MIT GitHub repository of P_syn_types_explicit

ORB Indicator

by rosijay17-cmd
1 stars

An overlay indicator that records the high and low of a chosen opening session, by default five minutes starting at 09:15, and plots them as circles after the session ends. It prints a B label when price crosses above the range high and an S label when it cros

Indicator v5 BreakoutSessions & time
Updated 8 days ago · GPL-3.0 GitHub repository of ORB Indicator

DEPV2 DEBUG S8

by YuceSezar89
1 stars

DEPV2 DEBUG S8 is a Pine Script v6 indicator that draws in a separate pane. It watches up to twenty user-selected crypto perpetual symbols, defaulting to Binance USDT perpetual contracts. Direction comes from four classes: trend, momentum, volatility, and volu

Indicator v6 TrendOscillators & momentum Repaints
Updated 13 days ago · None stated GitHub repository of DEPV2 DEBUG S8

Grok Prime Flip Engine v1

by vedkanani123
1 stars

An always-in flip indicator on the price chart, where BUY exits a short and enters long and SELL does the reverse. A regime layer classifies the market as range or trend using ADX, efficiency and a range box, and can freeze aggressive paths in a range. The ATR

Indicator v6 TrendVolatility & bands Repaints
Updated 2 months ago · None stated GitHub repository of Grok Prime Flip Engine v1
1 stars

This indicator combines three dominant cycle lengths, pivot highs and lows, and candlestick pattern matching to project future turning prices and dates. Bollinger Band, Keltner Channel and volatility lengths are also available as inputs. Projected values appea

Indicator v5 Support & resistance Repaints
Updated 6 months ago · None stated GitHub repository of Price and Date Forecast V5.1

Volume Value V6

by ivansoft
1 stars

An indicator in a separate pane that analyses traded value, volume times the mid price, with percentile levels over a settable number of bars, including a 99th percentile, the maximum and a median-style level that can be ignored. It also tracks cumulative valu

Indicator v6 VolumeSupport & resistance Repaints
Updated 1 year ago · None stated GitHub repository of Volume Value V6

Vortex Bands

by everget
947 stars

The Vortex Bands indicator calculates a custom moving average basis from the selected source using a two-stage EMA approximation. It then plots an upper band as the basis plus a scaled deviation and a lower band symmetrically. The script fills the background b

Indicator v4 Volatility & bandsMoving averages
Updated 12 days ago · GPL-3.0 GitHub repository of Vortex Bands

PivotHighLow

by Alorse
330 stars

This indicator calculates pivot high and pivot low points on the price chart based on configurable left and right bar counts. Confirmed pivot highs and lows are plotted with negative bar offsets directly on the price chart using line and cross styles. Addition

Indicator v4 Support & resistanceOscillators & momentum Repaints
Updated 2 months ago · None stated GitHub repository of PivotHighLow

CELL-tracker

by Allen1212
303 stars

This indicator visualizes historical purchase and sale transactions made by ARK Invest funds on the price chart. It plots labels indicating buy and sell activity, allowing users to filter trades by specific ARK ETFs or view aggregate records. The settings incl

Indicator v4
Updated 2 years ago · None stated GitHub repository of CELL-tracker
65 stars

Calculates a True Range balance value by comparing the current True Range against historical True Range values over a user-defined lookback period using a loop. For each historical bar within the lookback window, it evaluates the sign of the True Range differe

Indicator v4 Volatility & bands
Updated 6 days ago · GPL-3.0 GitHub repository of Debugging from inside for loops

Notch Filter (NOTCH)

by mihakralj
47 stars

The Notch Filter is a second-order IIR digital filter designed to attenuate a specific cyclic frequency component from price data while leaving other frequencies intact. It computes a band-stop filter based on a target cycle period and relative bandwidth. The

Indicator v6 TrendMoving averages
Updated 8 months ago · MIT GitHub repository of Notch Filter (NOTCH)

Inverted Hammer - Bullish

by TWODS-CAPITAL
37 stars

Detects bullish inverted hammer candlestick patterns directly on the price chart. It identifies candles with a small real body in the lower half of the range, an upper shadow at least twice the body length, and a minimal lower shadow occurring in a downtrend.

Indicator v5 Candlestick patterns
Updated 3 years ago · MIT GitHub repository of Inverted Hammer - Bullish

This overlay classifies the chart into bull, bear, or neutral regimes from moving-average zone position and an adaptive engine driven by the efficiency ratio and ATR entry and exit bands. A volatility percentile rank adds quiet, normal, or volatile context, pl

Indicator v6 TrendMoving averages
Updated 3 days ago · MIT GitHub repository of Regime Detector (MA Zones Overlay) [WavesUnchained]

Momentum Checklist

by eddiebelaval
7 stars

This overlay indicator calculates ADX, DI+ and DI- from directional movement and true range, and a Money Flow Index from typical price and volume. It classifies bias as long when DI+ exceeds 25 and DI- stays under 20, short under the opposite condition, and ne

Indicator v6 Oscillators & momentumTrend
Updated 3 months ago · None stated GitHub repository of Momentum Checklist

CRT State Engine

by alboogycOdR
6 stars

This overlay indicator runs a CRT state engine on the price chart. It can analyze draw-on-liquidity pivots, a session state machine, and optional 1AM, 5AM, and 9AM CRT models. Optional modules track market structure, liquidity pools, volume-profile levels, and

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

This indicator calculates and plots previous higher-timeframe structural levels directly onto the main price chart. It retrieves the prior high, low, and close levels for daily, weekly, and monthly periods using dashed horizontal reference lines and labels ext

Indicator v5 Support & resistanceSessions & time
Updated 5 months ago · None stated GitHub repository of GARY - Prior Levels
2 stars

Calculates momentum acceleration based on price or On Balance Volume by evaluating the rate of change between velocity and acceleration. It plots signals and visual overlays directly on the price chart, with options to project momentum oscillators. Settings al

Indicator v6 Oscillators & momentumVolume
Updated 8 months ago · None stated GitHub repository of Momentum Acceleration by DGT

Reverse Stochastic %J

by mushroom-men-Trading
2 stars

This indicator estimates the close that would produce a chosen Stochastic %J from the relation of %J to %K and %D. It computes current %K, a simple-average %D, and %J, then solves an approximate required close from the lookback high, low, and current %D. Setti

Indicator v6 Oscillators & momentum
Updated 9 months ago · None stated GitHub repository of Reverse Stochastic %J

PSMC - Bar Wick & Border Color

by Web3Degenerate
2 stars

This indicator customizes candle appearance on the price chart using plotcandle. Bullish candles appear in green with blue wicks and lime borders. Bearish candles appear in maroon with orange wicks and red borders. The script directly plots these colored candl

Indicator v4 Candlestick patterns
Updated 2 years ago · None stated GitHub repository of PSMC - Bar Wick & Border Color

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