Pine Library · 7,612 open-source scripts

Free TradingView Indicators (page 76)

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,239
No repaint flag6,673

Indicators: All

LeBeau

by turnupdigital
1 stars

LeBeau is a trend-following overlay indicator based on Charles Le Beau's Chandelier Exit strategy. It calculates trailing stop-loss levels using the Average True Range (ATR) applied to standard price data or smoothed Heikin Ashi bars. When the price crosses ab

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

TeeLek KAMA

by theteelek
1 stars

An overlay indicator that computes Kaufman's Adaptive Moving Average using a ten-bar efficiency ratio, then requests it from daily, 12-hour, 6-hour, 4-hour, 2-hour and 1-hour data and smooths each with a short EMA. The lines are coloured by direction in green

Indicator v6 Moving averagesTrend
Updated 1 year ago · None stated GitHub repository of TeeLek KAMA

Hello World

by fiji-solutions
1 stars

This educational indicator demonstrates built-in Pine Script string manipulation functions. On the latest bar, it generates text labels directly on the price chart displaying formatted closing prices. In a separate indicator pane, it plots constant numerical v

Indicator v5
Updated 2 years ago · None stated GitHub repository of Hello World
1 stars

This indicator calculates a Stochastic Momentum Index and is set to draw in a separate pane. It finds the highest high and lowest low over the Percent K length, measures the close against the midpoint of that range, and smooths both the relative distance and t

Indicator v4 Oscillators & momentum
Updated 2 years ago · None stated GitHub repository of UCS Stochastic Momentum Index
1 stars

A teaching script from a Pine Script course that explains how to create lines and labels, covering their coordinate arguments, the difference from plots, and typical uses such as pivots, support and resistance levels and zig-zag lines. The explanation is writt

Indicator v4
Updated 2 years ago · None stated GitHub repository of Pine Script Lines and Labels

Volume Divergence+

by krosenfeld7
1 stars

This indicator detects divergences between price highs and lows and those of the Price Volume Trend (PVT) line. It plots the PVT on the price chart and identifies bullish and bearish divergences based on user-selected lookback periods for price and PVT pivots,

Indicator v4 DivergenceVolume
Updated 3 years ago · Apache-2.0 GitHub repository of Volume Divergence+
1 stars

A Pine v4 indicator in a separate pane that compares the chart symbol's volatility with that of the S&P 500 index. For both, it measures the distance of the current low from the highest high over a short window and a window ten times longer, expressed as perce

Indicator v4 Volatility & bands
Updated 3 years ago · None stated GitHub repository of Tykhe Stock Volatility

DMI Direction

by JohnsonHsiao
1 stars

This indicator measures directional movement bias by calculating the difference between the positive and negative directional indicators (+DI and -DI). It plots the resulting spread as a histogram in an off-chart pane around a white zero baseline. Positive val

Indicator v5 TrendOscillators & momentum
Updated 3 years ago · None stated GitHub repository of DMI Direction
1 stars

A price chart overlay by Loxx that applies an N-pole Gaussian filter to a chosen price source, with an optional standard deviation filter that ignores small moves. Sources include regular prices and several Heiken Ashi variants, and Heiken Ashi smoothing can u

Indicator v5 TrendMoving averages
Updated 4 years ago · None stated GitHub repository of STD-Filtered N-Pole Gaussian Filter

SuperTrend

by everget
947 stars

SuperTrend is a trend-following indicator that detects trend direction by computing ATR-based stop levels. It plots long and short stop lines on the price chart and fills the region between the mid-price and the active stop line to show the current trend state

Indicator v6 TrendVolatility & bands
Updated 13 days ago · GPL-3.0 GitHub repository of SuperTrend

ICT Liquidity Void Screener

by ArunKBhaskar
575 stars

This indicator draws liquidity void lines on the price chart to highlight potential market structure breaks and liquidity pools in ICT SMC trading. It calculates voids using high/low levels or OTE values and filters them with ATR periods or fixed percentage th

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 1 year ago · MPL-2.0 GitHub repository of ICT Liquidity Void Screener

This overlay indicator draws a fixed-range volume profile on the price chart, splitting traded activity into up and down volume at each price level. It also plots a sentiment profile, a developing point of control, and value-area high and low around a configur

Indicator v5 VolumeSupport & resistance
Updated 2 months ago · MIT GitHub repository of Volume Profile and Indicator by DGT

AAPL-tracker

by Allen1212
303 stars

AAPL-tracker visually plots historical buy and sell transactions made by ARK Invest funds on Apple Inc. (AAPL) stock charts. It hardcodes transaction dates and places overlay labels above or below price bars indicating whether ARK funds bought or sold the stoc

Indicator v4
Updated 2 years ago · None stated GitHub repository of AAPL-tracker
257 stars

Donald SPX - Options Trading is an overlay indicator designed for intraday SPX analysis. It plots a 200-period Weighted Moving Average (WMA) on the price chart while evaluating multi-timeframe market structure across Daily, 15-minute, 5-minute, and 2-minute ba

Indicator v5 Moving averagesTrend Repaints
Updated 7 weeks ago · None stated GitHub repository of Donald SPX - Options Trading

Bollinger Bands Force

by harryguiacorn
220 stars

This indicator modifies standard Bollinger Bands to measure directional trend force based on line alignment. It calculates a simple moving average basis along with upper and lower volatility bands. When all three lines move upward or downward simultaneously, i

Indicator v5 Volatility & bandsTrend
Updated 1 year ago · None stated GitHub repository of Bollinger Bands Force

Adaptive MA Slope

by capissimo
114 stars

This indicator calculates Kaufman's Adaptive Moving Average (KAMA) on a chosen price source and determines trend direction based on the slope across a configurable lookback window. Signals can be filtered by short-term volatility expansion using ATR comparison

Indicator v4 Moving averagesTrend
Updated 1 year ago · None stated GitHub repository of Adaptive MA Slope

ATR Bands (ATRBANDS)

by mihakralj
99 stars

This indicator calculates volatility envelope bands around a moving average center line on the price chart. It computes the middle line using a rolling moving average of the input source, while band width is derived from an Average True Range calculated via RM

Indicator v6 Volatility & bandsMoving averages
Updated 4 weeks ago · Apache-2.0 GitHub repository of ATR Bands (ATRBANDS)

Conditional Colors

by be-thomas
65 stars

Calculates pivot high and low levels based on a user-defined leg length and plots them directly on the price chart. When a new pivot level is confirmed, the script updates its stored level variable and briefly hides the plot to create a clear break in the draw

Indicator v5 Support & resistance
Updated 7 days ago · GPL-3.0 GitHub repository of Conditional Colors

SMC Swings

by iamc1oud
56 stars

This indicator detects Smart Money Concepts market structure elements directly on the price chart. It tracks real-time and historical internal and swing market structure, identifying Break of Structure and Change of Character events. The script also highlights

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 2 months ago · None stated GitHub repository of SMC Swings

RSI

by dcaoyuan
55 stars

This indicator calculates the Relative Strength Index of the closing price using a fixed length of 14. It plots the RSI line in a separate pane and draws dashed horizontal levels at 70 and 30 to mark overbought and oversold zones. There are no user inputs, so

Indicator v6 Oscillators & momentum
Updated 6 months ago · Apache-2.0 GitHub repository of RSI

This indicator analyzes price action using Smart Money Concepts (SMC) to detect market structure breaks (BOS) and changes of character (CHoCH) based on customizable fractal lengths. It identifies bullish and bearish Fair Value Gaps (FVG) along with Consequent

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 2 months ago · MPL-2.0 GitHub repository of Market Structure CHoCH/BOS LEO - Ahmed Edition

Pivot Order Blocks - Lines

by TamaraKGreen
47 stars

Pivot Order Blocks - Lines identifies bullish and bearish order block levels using pivot high and pivot low detection on the price chart. Users can base calculations on candle wicks or bodies and customize left and right lookback lengths for pivot points. The

Indicator v6 Support & resistanceSMC / ICT / price action
Updated 8 weeks ago · None stated GitHub repository of Pivot Order Blocks - Lines
47 stars

The Chande Forecast Oscillator measures the percentage difference between the actual price and its linear regression forecast. It calculates an incremental linear regression slope and intercept over a specified period to estimate expected price levels. The ind

Indicator v6 Oscillators & momentumTrend
Updated 8 months ago · MIT GitHub repository of Chande Forecast Oscillator

Super SuperTrend

by Zettt
43 stars

Super SuperTrend calculates three SuperTrend values with separate lengths and multipliers and overlays them on the price chart. Each line can be drawn as maroon resistance or green support according to its direction, but those plots are hidden by default. It c

Indicator v4 Trend
Updated 1 year ago · None stated GitHub repository of Super SuperTrend
41 stars

ATR Matrix calculates Average True Range and a 50-period Simple Moving Average to display multi-tier volatility levels and risk-reward metrics. It project stop levels using negative ATR multiples from an entry price, alongside target levels from 0x to 11x ATR

Indicator v5 Volatility & bandsSupport & resistance

Average Directional Index

by TWODS-CAPITAL
37 stars

This indicator calculates the Average Directional Index (ADX) to measure market trend strength. It computes directional movement and true range smoothed by a Wilder's moving average (RMA) over configurable lengths. The resulting ADX value plots as a single red

Indicator v5 Trend
Updated 3 years ago · MIT GitHub repository of Average Directional Index

Zen Toolkit ETH

by Zen-Tim
29 stars

This indicator plots intraday reference levels, projection targets, and opening range boundaries tailored for continuous electronic trading session instruments such as gold. It calculates Average Bar Range targets in bullish and bearish multiples, previous day

Indicator v6 Support & resistanceSessions & time
Updated 2 weeks ago · MIT GitHub repository of Zen Toolkit ETH

Ichimoku Bands

by benso87
24 stars

This indicator plots Ichimoku-style conversion and base lines as Donchian midpoints on the price chart, then surrounds each line with upper and lower bands derived from the standard deviation of that line. The conversion and base lengths set the lookback for e

Indicator v5 TrendVolatility & bands
Updated 4 years ago · MPL-2.0 GitHub repository of Ichimoku Bands
20 stars

This indicator calculates smoothed Chaikin Money Flow across multiple lookback periods and visualizes them as a multi-row heatmap in a separate pane. Each horizontal band represents a different lookback length, with colors transitioning from red for negative m

Indicator v5 VolumeOscillators & momentum
Updated 1 year ago · None stated GitHub repository of Swami Chart - Chaikin Money Flow

Trend Compass Daily

by chris-c-thomas
14 stars

Trend Compass Daily is a chart overlay indicator designed to evaluate market trend structure, momentum, and volatility. It calculates a multi-EMA ribbon with an anchor level, higher-timeframe reference lines, RSI and MACD divergences, OBV volume context, and A

Indicator v6 TrendMoving averages
Updated 6 months ago · MIT GitHub repository of Trend Compass Daily

WE-Indicator

by davro
10 stars

WE-Indicator is an overlay study that plots Tom DeMark buy and sell counts, optional counts from 1 to 8, and TD trend lines on the price chart. It also draws logarithmic growth curves and projection curves whose intercepts and slopes are user inputs. A vertica

Indicator v4 Oscillators & momentumSupport & resistance
Updated 5 years ago · None stated GitHub repository of WE-Indicator

TPCharts Figures

by TPCharts
10 stars

TPCharts Figures draws horizontal grid lines and round number key levels directly on the price chart relative to the current price. It calculates auto-detected interval steps for Forex and Bitcoin symbols or accepts a custom interval value. The script projects

Indicator v4 Support & resistance Repaints
Updated 5 years ago · GPL-3.0 GitHub repository of TPCharts Figures
9 stars

CCI Advanced is a versatile momentum oscillator displayed in a separate pane. It calculates a smoothed Commodity Channel Index (CCI) paired with a signal line, offering multiple smoothing algorithms like EMA, SuperSmoother, KAMA, and JMA. Traders can select be

Indicator v6 Oscillators & momentum
Updated 4 days ago · MIT GitHub repository of CCI Advanced [WavesUnchained]
9 stars

Peak Trading Activity Graphs displays historical market activity across cyclical timeframes directly on the main chart using an on-screen dashboard table. It evaluates volume or volatility across selected periods, including hours of the day, days of the week,

Indicator v6 VolumeVolatility & bands
Updated 4 months ago · MIT GitHub repository of Peak Trading Activity Graphs [LuxAlgo]
9 stars

This indicator builds a currency-strength view in a separate pane from major FX pairs and gold crosses. It requests current-period and prior daily closes for EUR, USD, JPY, CHF, GBP, AUD, CAD, NZD and XAU symbols through a selected broker prefix. The pair-set

Indicator v4 Screeners & dashboards
Updated 5 years ago · None stated GitHub repository of |AG| 4th Dimension Currency Strength

Double MACD

by PipC
8 stars

This indicator plots a customized Moving Average Convergence Divergence oscillator in a separate pane. It calculates MACD, signal line, and histogram values from exponential moving averages, alongside a secondary Hull Moving Average calculation. The script plo

Indicator v4 Oscillators & momentumMoving averages
Updated 4 years ago · None stated GitHub repository of Double MACD

Static Lines

by lunarticktrading
7 stars

Static Lines calculates and draws key daily price levels directly on the main price chart. It plots horizontal lines for the previous daily open, high, low, and close, as well as the current daily open. Traders can customize individual line colors, toggle spec

Indicator v6 Support & resistanceSessions & time Repaints
Updated 3 weeks ago · None stated GitHub repository of Static Lines

This indicator calculates a price efficiency ratio by dividing the net close change over a lookback by the sum of absolute bar-to-bar moves, then scales the result from 0 to 100. An optional volume weight and a simple moving average can smooth or reweight the

Indicator v6 Oscillators & momentumTrend
Updated 3 months ago · None stated GitHub repository of Price Efficiency Ratio (PER) [SharpStrat]
7 stars

The script displays a table on the price chart showing current trading volume, optionally multiplied by close price and converted to T/B/M/K units based on magnitude. It computes median and standard deviation of volume over the last 500 bars by default, displa

Indicator v5 VolumeScreeners & dashboards
Updated 4 months ago · None stated GitHub repository of Trading Volume Table
7 stars

This indicator calculates the Relative Strength Index, the Money Flow Index, and a smoothed moving average of the RSI line. It plots these oscillators in a separate pane alongside upper and lower threshold bands. The script identifies momentum shifts by detect

Indicator v6 Oscillators & momentumVolume
Updated 5 months ago · None stated GitHub repository of RSI + MFI + TMA + Divergencias

This indicator detects bullish and bearish fair value gaps and liquidity imbalances on the chart, with optional higher-timeframe tracking. It plots imbalance zones directly on the price chart using colored boxes and tracks zone age, fill percentage, and breake

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 2 months ago · MIT GitHub repository of Capital41 Liquidity Void + Imbalance Map

Shved Supply and Demand

by alboogycOdR
6 stars

This indicator draws support and resistance supply and demand zones on the price chart. It classifies zones as weak, untested, verified, proven, or broken, and can merge overlapping zones, extend them forward, and label them with retest counts. The ATR factor

Indicator v6 Support & resistance
Updated 7 months ago · None stated GitHub repository of Shved Supply and Demand
5 stars

This indicator calculates and plots a customizable weighted moving average directly on the price chart. Users can configure the anchor period across fixed lengths, daily sessions, cumulative bars, or custom session intervals. Weighting options allow adjustment

Indicator v6 Moving averagesTrend
Updated 8 months ago · None stated GitHub repository of Universal Moving Average

Triangular Moving Average

by SiegerTerpstra
5 stars

The Triangular Moving Average (TMA) indicator calculates a double-smoothed moving average by applying a simple moving average to an existing simple moving average. It plots the resulting line directly on the price chart with dynamic coloring to indicate whethe

Indicator v6 Moving averagesTrend
Updated 9 months ago · None stated GitHub repository of Triangular Moving Average

CB RSI Divergence

by jerryinyang
5 stars

Calculates a 14-period Relative Strength Index and detects regular divergences between price and RSI pivot points. It scans across multiple previous pivot vertices stored in historical arrays. Bullish divergences require RSI below 40 at a pivot low, while bear

Indicator v4 Oscillators & momentumDivergence
Updated 2 years ago · None stated GitHub repository of CB RSI Divergence

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