Pine Library · 7,612 open-source scripts

Free TradingView Indicators (page 31)

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 draws a trading range box on the price chart, based on a rolling lookback, the previous day or the previous week. Inside it, it marks golden pocket Fibonacci zones, liquidity areas near the range extremes and fair value gaps that extend a set nu

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 9 months ago · MPL-2.0 GitHub repository of Range Indicator: Golden Pocket, Liquidity, & FVG

MACD + Elder Force Index

by htmlfarmer
1 stars

An indicator in a separate pane that plots a standard MACD with its signal line and a histogram coloured by direction and whether momentum is growing or shrinking. Triangles mark MACD and signal crossovers, optional dots mark where histogram momentum turns, an

Indicator v5 Oscillators & momentumVolume
Updated 9 months ago · None stated GitHub repository of MACD + Elder Force Index

Calculates and plots various classical chart patterns directly on the price chart using swing high and low detection libraries. It automatically identifies formations such as double and triple tops or bottoms, head and shoulders, flags, pennants, wedges, Ellio

Indicator v5 Support & resistanceBreakout Repaints
Updated 9 months ago · None stated GitHub repository of All Chart Patterns [theEccentricTrader]

Multi-Timeframe Trend Detector

by IamTamheedNazir
1 stars

A Pine v5 indicator that compares the close with a 50-period EMA on five timeframes, by default 5 minute, 15 minute, 1 hour, 4 hour and daily, and scores each as bullish, bearish or neutral. The scores are summed into an overall bias from strong bearish to str

Indicator v5 TrendScreeners & dashboards
Updated 9 months ago · Custom licence GitHub repository of Multi-Timeframe Trend Detector
1 stars

A chart-overlay indicator that combines a volatility cloud with supply and demand zones. The cloud uses a selectable moving average with ATR bands and turns bullish or bearish, producing buy and sell labels when it flips, optionally filtered by volume and RSI.

Indicator v6 TrendSupport & resistance
Updated 9 months ago · None stated GitHub repository of Apex Trend & Liquidity Master

All Candlestick Patterns

by Chris2035nku
1 stars

This Pine v4 indicator detects a large set of bullish, bearish and neutral candlestick patterns and labels them on the price chart. Each pattern, such as Hammer, Engulfing, Morning Star, Three White Soldiers or Dragonfly Doji, can be switched on or off. Trend

Indicator v4 Candlestick patterns
Updated 10 months ago · None stated GitHub repository of All Candlestick Patterns

Apex Vector

by app-builder-sketch
1 stars

Apex Vector is a separate-pane oscillator that plots a smoothed vector and classifies efficiency against superconductor and resistive thresholds, with a high-heat warning color. Optional volume flux uses a volume-normalization length. Users set vector length,

Indicator v6 Oscillators & momentumVolume
Updated 10 months ago · GPL-3.0 GitHub repository of Apex Vector
1 stars

RI SHORT Manual is an overlay indicator for ES and NQ futures that outlines a discretionary short reversal setup. Levels are measured from the previous session close using a risk interval: an entry level above the anchor, with target and stop levels at fixed f

Indicator v6 Support & resistanceMean reversion
Updated 10 months ago · None stated GitHub repository of RI SHORT Manual REVERSAL_TOUCH
1 stars

A chart-overlay indicator that adds slope-based measures to common indicators. It tracks RSI slope, moving average slope, a Bollinger squeeze test, MACD momentum, volume trend, price acceleration and a linear-regression trend strength. Recent pivots give suppo

Indicator v6 Oscillators & momentumBreakout
Updated 10 months ago · None stated GitHub repository of Predictive Crypto Trading Bot Pro
1 stars

An earlier release of the swing structure overlay that marks change of character, break of structure and liquidity events on the price chart. A volume strength filter compares the breaking bar with the last few bars or with a tape average, and weak breaks can

Indicator v6 SMC / ICT / price actionVolume
Updated 10 months ago · None stated GitHub repository of Orderflow Break Tape Earlier Version
1 stars

Labels four single-candle reversal patterns on the price chart: bullish hammer, inverted hammer, hanging man and shooting star. Detection compares wick length to body size, using a wick-to-body ratio setting and a Strict, Normal or Relaxed sensitivity multipli

Indicator v6 Candlestick patterns
Updated 11 months ago · Custom licence GitHub repository of Hammer & Inverted Hammer Patterns

Viprasol Elite Flow Pro

by Thedev-Lars
1 stars

An overlay that draws a volatility-based trend cloud with three speed modes, detects premium and discount zones, and marks rejections at those zones. A volume filter flags spikes and climax bars, and signals can be set to aggressive, balanced or conservative w

Indicator v6 TrendSupport & resistance
Updated 11 months ago · None stated GitHub repository of Viprasol Elite Flow Pro

Breaks and Retests [HG]

by christonomous
1 stars

This indicator identifies pivot highs and pivot lows to map support and resistance levels directly on the price chart. It detects breakouts beyond these zones and signals subsequent retest attempts with visual labels and boxes. Users can adjust the pivot lookb

Indicator v5 Support & resistanceBreakout Repaints
Updated 11 months ago · None stated GitHub repository of Breaks and Retests [HG]

Breakout Probability

by angrysky56
1 stars

Measures how often price has reached levels placed at fixed percentage steps above and below a reference and shows those hit counts as probabilities. It draws a set number of level lines on the price chart, optional labels and a statistics table, and can fill

Indicator v5 BreakoutSupport & resistance
Updated 11 months ago · MIT GitHub repository of Breakout Probability
1 stars

Advanced ICT Theory - A-ICT identifies institutional market structure patterns based on Smart Money Concepts directly on the price chart. It detects displacement candles, order blocks, fair value gaps, trap zones, and reversal zones, tracking their mitigation

Indicator v6 SMC / ICT / price actionSupport & resistance Repaints
Updated 11 months ago · None stated GitHub repository of Advanced ICT Theory - A-ICT

This indicator, drawn in a separate pane, pulls Bitcoin and Ethereum prices from two user-chosen symbols, forms the BTC to ETH price ratio and converts it to a z-score against a rolling average and standard deviation (30 bars by default). Upper and lower thres

Indicator v5 Mean reversionOscillators & momentum
Updated 11 months ago · None stated GitHub repository of BTC/ETH Pairs Trading Z-Score & RSI/MACD
1 stars

The Bollinger Squeeze Indicator measures volatility contraction by comparing Bollinger Bands with Keltner Channels. It calculates standard deviation-based bands and ATR-based channels around a simple moving average. When the Bollinger Bands contract inside the

Indicator v5 Volatility & bandsBreakout
Updated 11 months ago · None stated GitHub repository of Bollinger Squeeze Indicator

CHoCH Signal TRXUSDT

by gnuhhung317
1 stars

A generated indicator on the price chart that draws a short fixed set of hard-coded lines and a label for TRXUSDT on the 30 minute chart. Three aqua dashed lines mark pivot highs, three yellow dashed lines mark pivot lows, and a lime label marks a change of ch

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 11 months ago · MIT GitHub repository of CHoCH Signal TRXUSDT
1 stars

A price-chart trend indicator that smooths the chosen source with a multi-order Kalman filter, builds ATR-based upper and lower bands around it, smooths the bands exponentially, and flips the trend when price crosses a band. An optional multi-timeframe switch

Indicator v6 TrendVolatility & bands
Updated 11 months ago · MIT GitHub repository of Kalman Exponential SuperTrend MTF

[FS] Time & Cycles

by flasomm
1 stars

A price-chart overlay that draws previous day and previous week highs and lows, plus the current day and week extremes, with optional labels, dates and line styles. History depth is adjustable up to ten periods. It also marks chosen clock times such as midnigh

Indicator v6 Support & resistanceSessions & time
Updated 11 months ago · None stated GitHub repository of [FS] Time & Cycles

A Pine version 5 price-chart indicator that marks the opening range of each session, taken from a chosen time period or a custom session and timezone. It plots the range high and low with a shaded box and prints breakout signals when price closes outside the r

Indicator v5 Sessions & timeBreakout
Updated 12 months ago · MIT GitHub repository of LuxAlgo Opening Range with Breakouts and Targets v5

EMA Fibonacci Trend

by ktg0413
1 stars

The EMA Fibonacci Trend indicator calculates and plots dynamic Fibonacci retracement and extension levels based on a 200-period Exponential Moving Average (EMA). It measures volatility using a 14-period Average True Range (ATR) relative to price, establishing

Indicator v6 Support & resistanceMoving averages
Updated 1 year ago · None stated GitHub repository of EMA Fibonacci Trend

FRK Reversal Times

by murdrae
1 stars

This indicator highlights clock-time windows in New York time on the price chart, defaulting to short windows around the early morning and the 8:45 to 11:16 morning hours. During each window it draws a horizontal line along the top of the chart. A second optio

Indicator v6 Sessions & time
Updated 1 year ago · None stated GitHub repository of FRK Reversal Times

Sell Spike

by dsjrego
1 stars

A simple overlay that prints a red sell label above a bar when two conditions occur together. The bar's upper wick must be longer than its body and longer than half of a 14-period ATR, and the bar's high must pierce the upper Bollinger Band. The band length an

Indicator v5 Volatility & bandsCandlestick patterns
Updated 1 year ago · None stated GitHub repository of Sell Spike

MVG

by lappingio
1 stars

An intraday gap tracker for the price chart. After each confirmed bar it checks whether the bar's low is above the prior high or its high is below the prior low within the same day, and draws a rectangle over the empty space. Gaps are marked filled once price

Indicator v6 Support & resistance
Updated 1 year ago · None stated GitHub repository of MVG

Smoothed Heiken Ashi

by turnupdigital
1 stars

An indicator that draws smoothed Heiken Ashi candles on the price chart. Prices are smoothed with a selectable moving average type and length before the Heiken Ashi calculation and again afterwards, using an imported library of average types. Signal badges mar

Indicator v6 TrendMoving averages
Updated 1 year ago · None stated GitHub repository of Smoothed Heiken Ashi

ADR Up to 10 Days With Targets

by MarvelousShabi
1 stars

This indicator calculates the average daily range from a user-selected lookback of one to ten completed days and rounds it to the instrument tick. It draws optional bullish and bearish target lines from the current day's range on the price chart and shows a co

Indicator v6 Volatility & bandsSupport & resistance Repaints
Updated 1 year ago · MIT GitHub repository of ADR Up to 10 Days With Targets

A price-chart overlay that combines several tools. It draws a Nadaraya-Watson kernel envelope with a repainting smoothing option, a Hull moving average band in three variants that can optionally come from a higher timeframe, and an ATR trailing stop in the sty

Indicator v5 TrendMoving averages Repaints
Updated 1 year ago · None stated GitHub repository of UT Bot, Nadaraya-Watson, Hull Suite and Reversal Combo

ezTrend Lines

by ezPappi
1 stars

ezTrend Lines calculates selected oscillator indicators, including RSI, CCI, Momentum, OBV, or MACD, and displays them in a separate pane. It identifies pivot highs and pivot lows on the chosen oscillator line using configurable pivot periods and checks up to

Indicator v6 Oscillators & momentumSupport & resistance
Updated 1 year ago · GPL-3.0 GitHub repository of ezTrend Lines

Bollinger Bands

by yagyesh-bobde
1 stars

The Bollinger Bands indicator plots a basis moving average line together with two volatility bands on the main price chart. The middle band shows the average price level while the upper and lower bands reflect price deviation from volatility. Traders use the b

Indicator v6 Volatility & bandsMoving averages
Updated 1 year ago · None stated GitHub repository of Bollinger Bands

MTF Moving Average

by itsmeterada
1 stars

Plots a simple or exponential moving average calculated on a user-selected timeframe over the current chart. Inputs set the timeframe, average type, length, source, line colour, thickness and transparency. An optional label on the last bar shows the timeframe,

Indicator v6 Moving averagesTrend
Updated 1 year ago · None stated GitHub repository of MTF Moving Average
1 stars

A separate-pane indicator that plots the change in a chosen price source over a set number of trading sessions, as percent or points. Columns are green for gains and red for losses, with aqua and fuchsia highlighting changes above or below two configurable thr

Indicator v6 Oscillators & momentumVolatility & bands
Updated 1 year ago · MIT GitHub repository of Price Change History
1 stars

A separate-pane indicator that calculates ADX and the plus and minus directional indicators with Wilder smoothing and shows their difference as a coloured histogram. Optional lines show ADX and ADXR, which averages ADX with its earlier value. Two threshold inp

Indicator v5 TrendOscillators & momentum
Updated 1 year ago · None stated GitHub repository of ADX Histogram with DI Lines

BuySell vol

by mrgunkin
1 stars

The BuySell Volume Indicator plots volume as histogram columns on the price chart and optionally a moving average of volume in a separate pane. It compares current price and volume with values from lookback bars to color bars green for bullish volume and red f

Indicator v5 Volume
Updated 1 year ago · MIT GitHub repository of BuySell vol

COT Financial

by ivansoft
1 stars

An indicator in a separate pane that plots Commitment of Traders financial report metrics for the chart symbol, including open interest and dealer, asset manager, leveraged funds and other reportable positions. Settings pick the metric, the direction, a select

Indicator v6
Updated 1 year ago · None stated GitHub repository of COT Financial

TB: Main Indicators

by farias-hecdin
1 stars

This indicator collects overlay tools for the price chart in one script. It draws two configurable vertical time separators, tints the background by day of week, and plots two EMAs of 100 and 50 periods. It also marks support and resistance from pivot highs an

Indicator v5 TrendMoving averages
Updated 1 year ago · MIT GitHub repository of TB: Main Indicators

This overlay indicator draws a Fibonacci golden zone between two selectable ratios based on swing pivots. It plots an anchored VWAP that can be hidden on daily and higher charts and colored by trend. Divergence markers compare price with VWAP using a lookback

Indicator v5 Support & resistanceDivergence
Updated 1 year ago · None stated GitHub repository of Fib Golden Wave + VWAP Divergence + RSI (Kernel Optimized)

Bollinger Bands

by zhuzp98
1 stars

This indicator plots Bollinger Bands volatility bands calculated from the input source price. The middle band uses an EMA of the source over the specified length, with bands formed by adding and subtracting the standard deviation multiplied by the mult. It als

Indicator v5 Volatility & bandsMoving averages
Updated 1 year ago · None stated GitHub repository of Bollinger Bands
1 stars

Measures how far price has moved from its 50-period moving average in multiples of ATR percent, using daily data. A dot is plotted when the distance exceeds a chosen multiple, with ten as the default, and an optional info table shows the readings. Settings cha

Indicator v5 Volatility & bandsMean reversion
Updated 1 year ago · None stated GitHub repository of ATR% Multiple from 50-MA

Chop and Explode

by techteam92
1 stars

This indicator identifies consolidation zones and potential breakout moves by processing price data through optional high-pass cleaning, minimax scaling, and RSI calculation. Relative strength values between 40 and 60 represent ranging or chop zones, while cro

Indicator v5 Oscillators & momentumVolatility & bands
Updated 1 year ago · None stated GitHub repository of Chop and Explode

Dojis

by fiji-solutions
1 stars

This indicator identifies and plots bullish and bearish Doji candlestick patterns directly on the price chart. It defines a Doji by comparing body size to the total candle range and ensuring upper and lower wicks are balanced within a customizable ratio. Signa

Indicator v5 Candlestick patterns
Updated 2 years ago · None stated GitHub repository of Dojis

Jinni v1

by Hurairahengg
1 stars

Jinni v1 is a Pine Script indicator that plots buy and sell signals on the price chart. It calculates two EMAs, one on close with length 34 and another on input source with length 65, to detect uptrend and downtrend. Additional checks include candle direction,

Indicator v5 TrendOscillators & momentum
Updated 2 years ago · None stated GitHub repository of Jinni v1

SuperChandelierIndicator

by darkshloser
1 stars

Draws three ATR-based SuperTrend lines on the price chart, each with its own ATR period, multiplier, source and a wicks-or-close option. A second timeframe input supports a higher timeframe view, and a Chandelier-style exit layer with ATR length, multiplier, c

Indicator v5 TrendVolatility & bands
Updated 2 years ago · Apache-2.0 GitHub repository of SuperChandelierIndicator

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