Pine Library · 7,612 open-source scripts

Free TradingView Indicators (page 53)

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

This indicator plots higher time frame market structure shifts and liquidity levels on the price chart. It identifies pivots, break of structure events, and fair value gaps from higher timeframe data to mark claimed liquidity pools and BOS+FVG setups. Liquidit

Indicator v6 SMC / ICT / price actionSupport & resistance Repaints
Updated 2 months ago · None stated GitHub repository of ICT HTF MSS & Liquidity (fadi) - Modified

IBD Power Trend

by major
2 stars

This indicator tracks Investor's Business Daily style Power Trend rules and setup conditions in a separate pane. It evaluates whether price lows hold above an exponential moving average, verifies that the fast EMA remains above a rising simple moving average,

Indicator v6 TrendMoving averages
Updated 3 months ago · Apache-2.0 GitHub repository of IBD Power Trend

ICT Smart Money Pro

by Kalki-Teja-Patimidi
2 stars

ICT Smart Money Pro is an all-in-one overlay indicator designed to highlight Inner Circle Trader concepts directly on the price chart. It detects swing highs and lows to plot Break of Structure and Change of Character levels, tracks liquidity pools and inducem

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 3 months ago · None stated GitHub repository of ICT Smart Money Pro

This overlay indicator builds a weighted volume profile over a chosen number of bars and plots pivot points with a point of control line on the price chart. Volume can be weighted toward recent, normal, or past bars, and swing length, row count, and alignment

Indicator v5 VolumeSupport & resistance
Updated 5 months ago · None stated GitHub repository of Weighted Volume Profile Pivot Points | Flux Charts
2 stars

Lakshmi v1 Institutional Flow Engine indicator calculates a Magic Line using ATR(14) multiplied by golden ratio 1.618 anchored to daily midpoint close. It plots demand and supply zones derived from volume profile bins and fair value gaps on 4H and daily charts

Indicator v6 SMC / ICT / price actionVolume
Updated 6 months ago · None stated GitHub repository of Lakshmi Institutional Flow Engine

This indicator serves as a grid range plugin for the Grid Bot framework by calculating an RSI-based channel. Plotted in a separate pane, it computes smoothed RSI levels, overbought and oversold thresholds, and channel width constraints using custom multi-timef

Indicator v6 Oscillators & momentumVolatility & bands Repaints
Updated 8 months ago · MIT GitHub repository of Grid Bot Grid Range Plugin RSI Channel [psyll]
2 stars

Calculates the divergence between global money supply growth and benchmark equity performance to highlight potential market turning points. It aggregates M2 money supply metrics across major economies—including the US, China, Eurozone, Japan, UK, Canada, and S

Indicator v6 DivergenceScreeners & dashboards
Updated 8 months ago · None stated GitHub repository of Central Bank Liquidity Gap Indicator

Swing Structure - Exact Coordinates

by ifreddyman2014-tech
2 stars

This indicator identifies market structure by calculating pivot highs and lows, detecting breaks of structure (BOS), and highlighting order blocks directly on the price chart. It checks for displacement during breaks using candle body size relative to a simple

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 8 months ago · None stated GitHub repository of Swing Structure - Exact Coordinates

Reverse Stochastic

by mushroom-men-Trading
2 stars

This indicator converts a smoothed stochastic oscillator back into price levels. It calculates a reverse stochastic from close, high, and low using configurable K length, D length, and smoothing, then maps fixed scale points, including bull and bear control zo

Indicator v6 Oscillators & momentumSupport & resistance
Updated 9 months ago · None stated GitHub repository of Reverse Stochastic
2 stars

This indicator overlays a volatility filter on the price chart. It loads CBOE VIX and VIX3M closes, divides VIX by VIX3M, and smooths that ratio with a five-bar simple moving average. A breakout is marked allowed only when the smoothed ratio is below 0.98 and

Indicator v5 Volatility & bandsBreakout
Updated 10 months ago · MIT GitHub repository of Harter VIX Curve Breakout Filter

The Industry Indices Comparison - SWE indicator displays a performance dashboard table directly on the price chart to evaluate relative sector strength. It tracks up to eleven Swedish industry sector indices against a selected benchmark index. The indicator ca

Indicator v6 Screeners & dashboards
Updated 1 year ago · MPL-2.0 GitHub repository of Industry Indices Comparison - SWE
2 stars

This indicator tracks and plots market breadth data for major stock market indices such as the S&P 500, Nasdaq, Dow Jones, and Russell indices in a separate pane. It fetches external market breadth metrics showing the percentage of stocks trading above various

Indicator v5 Moving averages
Updated 1 year ago · None stated GitHub repository of 市场宽度 - Market Breadth

2b Reversal

by ashwagamma
2 stars

This indicator identifies 2B reversal patterns across auto-detected or user-defined price levels on the chart. It monitors breakdowns and breakouts against key references such as regular trading hours highs and lows, overnight swings, previous day boundaries,

Indicator v5 BreakoutSupport & resistance
Updated 1 year ago · None stated GitHub repository of 2b Reversal

Calculates and compares estimated buying and selling volume over a fixed lookback period from the latest bar. For each bar in the range, volume is apportioned between buyers and sellers according to price movement distances. The indicator displays an informati

Indicator v5 Volume
Updated 1 year ago · MPL-2.0 GitHub repository of PriceCatch Volume Analysis Fixed Range

Elder Force Index

by ryangaraygay
2 stars

The Elder Force Index indicator calculates efi as the EMA of price change times volume with a configurable length. It then plots the difference between efi and its 9-period SMA as colored column bars in a separate pane, with positive values colored up and nega

Indicator v5 Oscillators & momentumVolume
Updated 1 year ago · MIT GitHub repository of Elder Force Index

Sell Signal

by tuanmcwar
2 stars

This indicator plots sell signals directly on the price chart using shape plots and text labels. It triggers a sell alert when four conditions coincide: a bullish candle with at least a five percent price increase, volume at least five times greater than the p

Indicator v4 Volatility & bandsOscillators & momentum
Updated 2 years ago · None stated GitHub repository of Sell Signal
2 stars

The MarketSmith Indicator enhances price action visualization by applying custom candle coloring and overlaying configurable moving averages on the main chart. Bar colors can be based either on the bar open relative to close or on the price relative to the pre

Indicator v5 Moving averagesTrend
Updated 2 years ago · MIT GitHub repository of MarketSmith Indicator

HTF Candles & Pivots

by itmakesyousick
2 stars

HTF Candles & Pivots overlays higher timeframe candles and pivot point levels directly onto the main price chart. It renders customizable higher timeframe candle bodies, wicks, and labels while calculating pivot points, Central Pivot Range, and projected price

Indicator v5 Support & resistanceCandlestick patterns
Updated 3 years ago · None stated GitHub repository of HTF Candles & Pivots

This overlay indicator combines several ZigZag lengths with an ATR-based ZigZag Supertrend and oscillator settings to mark trend direction on the price chart. It reads close or an optional alternative source and keeps a limited pivot history. A movable table s

Indicator v5 TrendVolatility & bands
Updated 3 years ago · None stated GitHub repository of Multi-ZigZag Multi-Oscillator Trend Detector

CBB MTF Penta RSI

by codybbrown
2 stars

This indicator calculates five RSI series from the chart close: a short RSI smoothed by a simple moving average, plus RSI lengths of 14, 30, 70, and 120. It stores those readings in arrays and offers toggles for price-bar colors that mark trend, crossovers, cr

Indicator v5 Oscillators & momentum
Updated 3 years ago · None stated GitHub repository of CBB MTF Penta RSI

STC+TrendTrader

by theupslidedown
2 stars

This indicator combines the Schaff Trend Cycle (STC) oscillator with Andrew Abraham's Trend Trader indicator in a separate pane. It calculates the STC oscillator using fast and slow moving averages combined with double stochastic smoothing, plotting a colored

Indicator v5 Oscillators & momentumTrend
Updated 3 years ago · None stated GitHub repository of STC+TrendTrader

This indicator plots volume-based support and resistance zones on the price chart. It marks high, low, and close levels when volume exceeds a moving-average threshold, and can shade zones between those lines. Users choose up to several time frames, line style

Indicator v5 Support & resistanceVolume
Updated 4 years ago · MIT GitHub repository of Volume-based Support & Resistance Zones V2

Order 65 bars

by DaniilOkrug
2 stars

This indicator calculates the percentage distance between the current price and the highest high price over the last 65 bars. It maintains an array of closing prices for the specified number of bars and identifies the maximum high value. The script then plots

Indicator v5 Volatility & bandsSupport & resistance
Updated 4 years ago · MIT GitHub repository of Order 65 bars

MACD

by Metzenas
2 stars

This indicator calculates the MACD oscillator using fast and slow moving averages by default, plotting the MACD line, signal line, and histogram in a separate pane. The histogram changes color based on growth or decline above or below zero to signal momentum s

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

Sudoku solver - JD

by JorisDuyck
2 stars

This Pine Script v4 indicator presents a Sudoku puzzle in a separate pane. Nine integer inputs encode the starting digits of each row, and a boolean setting chooses whether the puzzle is solved. Comments describe a multi-sheet dataframe stored in one Pine arra

Indicator v4
Updated 5 years ago · MIT GitHub repository of Sudoku solver - JD
1 stars

A test indicator on the price chart that plots a trailing stop level derived from the wick of the last closed candle. The long stop sits below the previous low and the short stop above the previous high, each offset by an amount that can combine an ATR multipl

Indicator v6 Support & resistanceVolatility & bands
Updated 2 days ago · None stated GitHub repository of Wick Trailing SL Test
1 stars

Looks for a large, strong-bodied candle, measured against ATR with a body-to-range filter and a largest-in-lookback check, and treats it as an impulse. It then draws a ladder of range-extension levels from that candle's low and range width, with optional price

Indicator v6 Support & resistanceVolatility & bands
Updated 2 days ago · None stated GitHub repository of Impulse 4H Range Levels
1 stars

An overlay for the S&P 500 index that measures the opening range over an observation window, classifies the day as volatile or not by comparing that range with the daily ATR, and projects high and low boundaries for the session. Reversal signal triangles appea

Indicator v5 Sessions & timeMean reversion
Updated 2 days ago · None stated GitHub repository of ZeroDTE Range Predictor

Market-Neutral Pairs

by nvolpe2007-cell
1 stars

Calculates a z-score of the log price ratio between two crypto pairs, chosen from three Kraken combinations, and shows it in a separate pane. Over a lookback of 168 bars it flags entry when the absolute z-score passes 2, exit when it falls to 0.5, a stop at 3.

Indicator v6 Mean reversion
Updated 2 days ago · None stated GitHub repository of Market-Neutral Pairs

Stochastic and RSI

by teshmi9z-beep
1 stars

A separate-pane indicator that shows a slow stochastic oscillator and an RSI together. The stochastic uses a long K length with smoothing, and its D line changes colour with its direction. Overbought and oversold lines are drawn for both oscillators, with defa

Indicator v5 Oscillators & momentum
Updated 2 days ago · MIT GitHub repository of Stochastic and RSI

Ghost Flow

by mphinance
1 stars

A price-chart overlay that grades a setup from several axes: a Hull trend band with an optional EMA ribbon, Chaikin money flow strength, an ATR-based compression and expansion measure, trend age in bars, and a Williams %R exhaustion gauge. It adds a Bounce 2.0

Indicator v6 TrendVolume
Updated 3 days ago · Custom licence GitHub repository of Ghost Flow
1 stars

A separate-pane indicator, short title NATSE 3.0, that estimates trend state from log price with a two-state Kalman filter. It blends velocity, efficiency and displacement scores using adjustable weights, then compares the result with adaptive bands set by a l

Indicator v6 TrendOscillators & momentum
Updated 3 days ago · None stated GitHub repository of Adaptive Trend State Engine 3.0

Divergence Engine

by jayadevrana
1 stars

This indicator plots an RSI oscillator in a separate pane with fixed overbought and oversold lines. It stores confirmed RSI pivot highs and lows, then compares each new pivot with the previous one inside a bar-gap window. A lower price low with a higher RSI lo

Indicator v6 Oscillators & momentumDivergence
Updated 4 days ago · MPL-2.0 GitHub repository of Divergence Engine

SMC Breakout Overlay

by skipp-dev
1 stars

The SMC Breakout Overlay indicator draws breakout and breakdown boxes on the price chart using Smart Money Concepts structure detection. It triggers on BOS and CHoCH signals from a chosen structure source including library, engine BUS, or local pivots, and can

Indicator v6 SMC / ICT / price actionBreakout
Updated 4 days ago · None stated GitHub repository of SMC Breakout Overlay

Range Risk Lines v3

by jometa9
1 stars

A grid overlay that draws horizontal lines above and below the last price at a spacing set in points, with a configurable number of levels per side and an optional middle line. Each line is labelled with the lot size that would lose a chosen risk amount if pri

Indicator v5 Support & resistance
Updated 5 days ago · None stated GitHub repository of Range Risk Lines v3

Week 02

by moonyroy
1 stars

This indicator plots ZigZag lines on the price chart to map swing highs and lows. It detects break_high and break_low events to identify pivot points. The code supports a primary chart timeframe and optional second timeframe ZigZag with selectable modes such a

Indicator v6 TrendSupport & resistance
Updated 6 days ago · None stated GitHub repository of Week 02

I_extremes

by GammaExpansion
1 stars

I_extremes plots a collection of built-in extreme, pivot, ranking and statistical series in a separate pane. It draws 20-bar highest and lowest values, pivot highs and lows, value-when and bars-since results, and flags for close crossing a 20-period simple mov

Indicator v6 Support & resistanceMoving averages
Updated 7 days ago · MIT GitHub repository of I_extremes

EMA-Volume-Momentum

by engtuncay
1 stars

This indicator overlays two exponential moving averages (defaults 50 and 200) alongside scaled volume moving averages on the price chart. It calculates volume momentum via RMA and On-Balance Volume (OBV) compared to its EMA. The script highlights trend changes

Indicator v6 Moving averagesVolume
Updated 7 days ago · None stated GitHub repository of EMA-Volume-Momentum

GridWB3

by cckmchiu-gapps
1 stars

This indicator draws a rectangular price and time grid on the price chart from two manually set corner anchors, a top-right and a bottom-left, each with a time and a price. The box is divided into one to seven side-by-side grid units with alternating colours,

Indicator v5
Updated 8 days ago · None stated GitHub repository of GridWB3

Adaptive Trend Flow

by rosijay17-cmd
1 stars

An indicator that draws a volatility band trend line on the price chart. A basis is built from two EMAs of the typical price, and bands sit above and below it at a multiple of smoothed standard deviation. The trend flips to bullish when price closes above the

Indicator v6 TrendVolatility & bands
Updated 8 days ago · GPL-3.0 GitHub repository of Adaptive Trend Flow

DEPV2 A4 Volatilite

by YuceSezar89
1 stars

This indicator measures volatility expansion by comparing the current True Range against a historical slow Average True Range. It also computes a fast-to-slow Average True Range ratio to detect market calm. When True Range expansion exceeds a user-defined thre

Indicator v6 Volatility & bands
Updated 13 days ago · None stated GitHub repository of DEPV2 A4 Volatilite

This statistical indicator calculates the confidence interval around a user-defined trade count and observed win rate using the Wilson score interval method. It displays an on-chart table showing the plausible win rate range, total interval width, and whether

Indicator v6 Screeners & dashboards
Updated 2 weeks ago · MPL-2.0 GitHub repository of Taught to Trade - Sample Size Panel

Model X

by Just-beyond-z
1 stars

An overlay that draws 4-hour, 7-hour and daily candles next to the current chart and marks the closes of the second and third candles in a multi-candle framework, with an optional alert on the third. It can show previous day, week and month high and low levels

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 2 weeks ago · None stated GitHub repository of Model X

Dhan+Webhook

by 7b809
1 stars

An overlay indicator that combines a Hull-style moving average, selectable as HMA, EHMA or THMA, with pivot-based support and resistance lines and optional labels. It builds alert messages in JSON for a broker webhook, including action, price, quantity, order

Indicator v5 Moving averagesSupport & resistance
Updated 2 weeks ago · None stated GitHub repository of Dhan+Webhook

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