Pine Library · 7,612 open-source scripts

Free TradingView Indicators (page 145)

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

My Script

by be-thomas
65 stars

This indicator colors the background of its pane with a nested ternary that shows Pine line wrapping. It paints red when the bar open is above the close, lime when the high is above the previous bar high, and blue when the low is below the previous bar low. An

Indicator v4 Candlestick patterns
Updated 6 days ago · GPL-3.0 GitHub repository of My Script

SMC LuxMod Nuburo5

by alboogycOdR
6 stars

This Smart Money Concepts indicator highlights market structure and institutional levels on the main price chart. It detects internal and swing structure breaks (BOS) and character changes (CHoCH), along with strong or weak high and low points. The script iden

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 7 months ago · None stated GitHub repository of SMC LuxMod Nuburo5
3 stars

The MFI Divergences Lower v2 indicator calculates the Money Flow Index (MFI) and plots it in a separate pane along with overbought, oversold, and middle threshold lines. It identifies regular and hidden bullish or bearish divergences by comparing price swing p

Indicator v5 Oscillators & momentumDivergence
Updated 5 months ago · None stated GitHub repository of MFI Divergences Lower v2
2 stars

This indicator assists with trade planning and position risk management by projecting trade parameters directly onto the price chart. It draws an interactive entry box defined by time and price boundaries, up to five take-profit levels with percentage allocati

Indicator v5 Support & resistance
Updated 8 months ago · None stated GitHub repository of MAD Position Starter & Calculator

The Parallel Price Universe Oscillator calculates detrended price movements relative to two derived moving averages weighted by fast and slow Fibonacci ratios. It extracts smoothed angular slopes using arctangent functions, aggregates them into a unified momen

Indicator v5 Oscillators & momentumMoving averages
Updated 7 weeks ago · None stated GitHub repository of Parallel Price Universe Oscillator
1 stars

Detects opening drive moves on the price chart by combining displacement, swing structure and return-to-level checks into named bull and bear signals. Inputs set sensitivity, swing length, the displacement deviation length and multiplier, and return percentage

Indicator v5 Sessions & timeVolatility & bands
Updated 2 months ago · None stated GitHub repository of TNT Opening Drive OD v3

ITRN-tracker

by Allen1212
303 stars

This indicator overlays historical ARK Invest transaction records for ITRN directly onto the price chart. It plots visual labels at precise bar timestamps to denote historical buy or sell actions, along with transaction counts across relevant ARK ETFs. Users c

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

DMX plots the Jurik Directional Movement Index in a separate pane. The indicator computes a smoothed version of the directional movement index using Jurik smoothing applied to the ADX components derived from true range, up and down directional moves. It applie

Indicator v6 TrendOscillators & momentum
Updated 4 weeks ago · Apache-2.0 GitHub repository of Jurik Directional Movement Index (DMX)

Volume Oscillator

by TWODS-CAPITAL
37 stars

This indicator plots a volume oscillator in a separate pane. It calculates exponential moving averages of volume over short and long lengths, then expresses their difference as a percentage of the longer average. A horizontal zero line marks when the short ave

Indicator v5 Volume
Updated 3 years ago · MIT GitHub repository of Volume Oscillator

SMC Mod Nuburo 5

by alboogycOdR
6 stars

The indicator plots Smart Money Concepts market structure directly on the price chart. It detects real-time internal and swing structure breakouts, including Break of Structure and Change of Character, along with strong and weak high or low levels. It identifi

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 7 months ago · None stated GitHub repository of SMC Mod Nuburo 5
3 stars

MicroQuant Momentum is a momentum oscillator indicator that calculates the True Strength Index fast and slow components. It plots the TSI Fast, TSI Slow, and their difference histogram in a separate pane. Buy and sell signals trigger on crossovers of the fast

Indicator v5 Oscillators & momentum
Updated 5 months ago · None stated GitHub repository of MicroQuant Momentum

This overlay indicator enables manual identification and analysis of harmonic patterns on the price chart using interactive point selection. Users select five anchor points (X, A, B, C, and D) directly on the chart via interactive input prompts. The script eva

Indicator v5 Support & resistance
Updated 8 months ago · None stated GitHub repository of Manual Harmonic Patterns - With interactive inputs
1 stars

Parallel Universe Price Forecast is an indicator that detrends price using moving averages to extract slopes and angles from two universes weighted by fast and slow factors. It normalizes the combined angle into a symmetrical oscillator and projects the price

Indicator v5 Moving averagesVolatility & bands
Updated 7 weeks ago · None stated GitHub repository of Parallel Universe Price Forecast

JD-tracker

by Allen1212
303 stars

This indicator plots historical ARK Invest purchase and sale dates for JD as labels on the price chart. Green labels below bars mark buys and red labels above bars mark sells, with a count of how many ARK ETFs traded the stock that day. The ETF setting filters

Indicator v4
Updated 2 years ago · None stated GitHub repository of JD-tracker
99 stars

The Kairi Relative Index (KRI) indicator computes the percentage deviation of a source price from its simple moving average. It plots the resulting KRI value as a yellow line in a separate pane along with a dotted gray zero line. Users can select any source se

Indicator v6 Oscillators & momentumMoving averages
Updated 4 weeks ago · Apache-2.0 GitHub repository of Kairi Relative Index (KRI)

New 30 Min Bar

by be-thomas
65 stars

This indicator detects the start of a new 30-minute bar. It defines a helper that reads the time of a given resolution and returns true when that time is valid and differs from the previous bar. The script calls the helper with a 30-minute resolution and plots

Indicator v4 Sessions & time
Updated 6 days ago · GPL-3.0 GitHub repository of New 30 Min Bar
37 stars

This indicator plots a volume-weighted average price on the price chart. It accumulates the selected source, defaulting to the average of high, low, and close, against volume and resets when the chosen anchor begins. Anchors include session, week, month, quart

Indicator v5 VolumeVolatility & bands Repaints
Updated 3 years ago · MIT GitHub repository of Volume Weighted Average Price

MicroQuant Trend

by g-moe
3 stars

MicroQuant Trend is a Supertrend-based indicator that calculates dynamic bands using EMA of high and low prices adjusted by ATR. It plots green circles for uptrend direction and red for downtrend. Background colors change to green or red when the trend flips.

Indicator v5 TrendMoving averages
Updated 5 months ago · None stated GitHub repository of MicroQuant Trend
2 stars

Market Sessions by Leviathan highlights key global trading sessions including Tokyo, London, New York, and Sydney directly on the main price chart. It renders customizable colored boxes for each session based on UTC times. Additional visual features include se

Indicator v5 Sessions & time
Updated 8 months ago · None stated GitHub repository of Market Sessions - By Leviathan
1 stars

The indicator combines pivot high and low points with multi-period slope and momentum analysis to identify market trends and range conditions. It calculates short- and medium-term price slopes, EMA slopes, and price acceleration against a statistical Z-Score t

Indicator v5 TrendOscillators & momentum
Updated 7 weeks ago · None stated GitHub repository of POT {Morindok} by @BITMOON618

JOBY-tracker

by Allen1212
303 stars

This indicator visualizes recorded ARK Invest purchases and sales of JOBY on the price chart. It places fixed green buy labels below bars and red sell labels above bars at hardcoded dates, with text that counts how many selected ETFs traded that day. The ETF i

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

Kalman Filter (KALMAN)

by mihakralj
99 stars

This indicator applies a one-dimensional Kalman filter to a chosen price source and plots the filtered series on the price chart. Process noise and measurement noise set how quickly the estimate follows new data versus how much it trusts the measurement. The f

Indicator v6 Trend
Updated 4 weeks ago · Apache-2.0 GitHub repository of Kalman Filter (KALMAN)
37 stars

This indicator plots a volume-weighted moving average of a chosen price source on the price chart. It uses TradingView's built-in volume-weighted moving average, so bars with higher volume pull the average more than quieter bars. Length sets the lookback, Sour

Indicator v5 Moving averagesVolume
Updated 3 years ago · MIT GitHub repository of Volume Weighted Moving Average
6 stars

Time-Filtered MTF CRT Detector identifies multi-timeframe Candle Range Theory (CRT) patterns based on specific time-filtered H4 candles such as 1AM, 5AM, or 9AM models. It plots horizontal high and low range lines directly on the main price chart, complete wit

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 7 months ago · None stated GitHub repository of Time-Filtered MTF CRT Detector

This indicator overlays volume profiles and session ranges directly onto the price chart for specified periods, including Tokyo, London, New York, Daily, Weekly, Monthly, Quarterly, and Yearly sessions. It calculates and plots Point of Control (POC), Value Are

Indicator v5 VolumeSessions & time
Updated 8 months ago · None stated GitHub repository of Market Sessions and Volume Profile - By Leviathan

PPUO Forecast Signals

by morindok
1 stars

The PPUO Forecast Signals indicator derives a Parallel Universe Oscillator from detrended price series using slow and fast moving averages of varying lengths. It extracts smoothed angles from the detrended values, weights and aggregates them into a universe me

Indicator v5 TrendOscillators & momentum
Updated 7 weeks ago · None stated GitHub repository of PPUO Forecast Signals
1 stars

An overlay indicator that tries to show only larger reversals through a very wide ATR trail. A main buy or sell requires a trail break with confirmation closes, a swing high or low break, minimum travel from the last flip, and a minimum pullback from the leg p

Indicator v5 TrendVolatility & bands
Updated 2 months ago · None stated GitHub repository of Nexus Prime Engine v6 Major Only

Ultra Combo v57

by nishpa800
1 stars

Overlay indicator that marks combination signals on the price chart. Groups include PBJ or PB with F2, E3 and cluster patterns, sequential combos, back-to-back day combos, Heavy Weapon with any bullish or bearish signal, GZ1 and high-volume mega combos, first-

Indicator v5 VolumeOscillators & momentum
Updated 2 months ago · None stated GitHub repository of Ultra Combo v57
1 stars

This overlay indicator detects Power of Three cycles on the price chart: an accumulation range, a manipulation sweep, and a distribution path. It confirms sweeps by a close back inside the range or a fifty percent retrace, and it can require a prior cycle high

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 2 months ago · None stated GitHub repository of TnSovereign Power of Three

KALU-tracker

by Allen1212
303 stars

KALU-tracker is an overlay indicator that plots historical buy and sell transactions made by ARK Invest for Kaiser Aluminum Corporation (KALU). The script renders labels directly on the price chart at specific trade timestamps to denote purchase or sale events

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

KDJ Oscillator

by mihakralj
99 stars

The KDJ Oscillator is a momentum indicator that calculates an enhanced variation of the Stochastic Oscillator. It computes the Raw Stochastic Value from local price extremes over a user-defined lookback length and applies exponential smoothing to derive the K

Indicator v6 Oscillators & momentum
Updated 4 weeks ago · Apache-2.0 GitHub repository of KDJ Oscillator

Vortex Indicator

by TWODS-CAPITAL
37 stars

This indicator plots the standard Vortex Indicator lines in a separate pane to identify trend direction and momentum. It calculates positive trend movement and negative trend movement relative to the true range over a user-defined length. The script outputs tw

Indicator v5 TrendOscillators & momentum
Updated 3 years ago · MIT GitHub repository of Vortex Indicator

WED & MIDNIGHT DST System

by alboogycOdR
6 stars

Calculates and plots horizontal support and resistance levels based on weekly Wednesday price action and daily midnight opening candles. It accounts for Daylight Saving Time adjustments to capture monthly Wednesday high, low, and open levels along with daily U

Indicator v5 Support & resistanceSessions & time
Updated 7 months ago · None stated GitHub repository of WED & MIDNIGHT DST System
2 stars

This indicator adapts the classic MACD structure by replacing exponential moving averages with median calculations. It computes a fast median and a slow median of price, takes their difference to form the MCD line, and calculates a median-based signal line. Th

Indicator v5 Oscillators & momentumTrend
Updated 8 months ago · None stated GitHub repository of Median Convergence Divergence
1 stars

Tick-chart-safe Pine v5 conversion of an overlay combination indicator. It marks PBJ or PB with F2, E3 and cluster patterns, sequential combos, back-to-back day combos, Heavy Weapon with any bullish or bearish signal, GZ1 and high-volume mega combos, a first-c

Indicator v5 VolumeOscillators & momentum
Updated 2 months ago · None stated GitHub repository of Ultra Combo v57 Tick-Friendly

KIND-tracker

by Allen1212
303 stars

KIND-tracker visualizes historical buy and sell transactions made by ARK Invest funds on the price chart. It renders green labels below price bars for share purchases and red labels above bars for sales, indicating trade activity counts. The input setting allo

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

Keltner Channel (KC)

by mihakralj
99 stars

This indicator calculates a Keltner Channel on the price chart. The middle line is an exponential moving average of the chosen source, with a warmup weight so the average builds from the first bars. Upper and lower bands sit a multiple of average true range aw

Indicator v6 Volatility & bandsMoving averages
Updated 4 weeks ago · Apache-2.0 GitHub repository of Keltner Channel (KC)

Williams Alligator

by TWODS-CAPITAL
37 stars

This indicator plots Bill Williams' Alligator system directly on the price chart. It calculates three smoothed moving averages based on the median price (hl2) representing the Jaw, Teeth, and Lips lines, each projected forward into future bars via plot offsets

Indicator v5 TrendMoving averages
Updated 3 years ago · MIT GitHub repository of Williams Alligator

WED & MIDNIGHT DST System

by alboogycOdR
6 stars

WED & MIDNIGHT DST System is a time-based levels indicator that identifies and visualizes key support and resistance zones directly on the price chart. It plots the high and low ranges from the first five Wednesdays of each month with automatic Daylight Saving

Indicator v5 Support & resistanceSessions & time
Updated 7 months ago · None stated GitHub repository of WED & MIDNIGHT DST System
3 stars

Miller Boy Custom Study calculates a 105-period Simple Moving Average (SMA) of close prices, functioning as a trend baseline. It identifies buy signals when a bar open price crosses above the SMA baseline and sell signals when the open price crosses below it.

Indicator v5 Moving averagesTrend
Updated 5 months ago · None stated GitHub repository of Miller Boy Custom Study

Minervini Qualifier

by regalouisei
2 stars

Calculates Mark Minervini Trend Template criteria to identify stocks in strong uptrends. It evaluates key conditions based on 50-day, 150-day, and 200-day Simple Moving Averages, 52-week high and low price ranges, and relative strength against a customizable r

Indicator v5 TrendMoving averages
Updated 8 months ago · None stated GitHub repository of Minervini Qualifier

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