Pine Library · 7,612 open-source scripts

Free TradingView Indicators (page 45)

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

1 stars

An indicator that detects a volatility squeeze when ATR falls to a low percentile of its recent range, tracks the high and low of the squeeze, and signals a long or short when price closes beyond that range as the squeeze ends. It plots EMA lines with a ribbon

Indicator v6 BreakoutVolatility & bands
Updated 7 months ago · None stated GitHub repository of V19 Volatility Squeeze Breakout

Breaker Blocks

by nexobanks-prep
1 stars

A smart money indicator that finds swing highs and lows with a pivot length, detects a break of structure, and marks the last opposing candle before it as an order block. When price later closes through that block, the zone flips into a bullish or bearish brea

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 7 months ago · None stated GitHub repository of Breaker Blocks

Gemini QUANTUM

by haydarkadioglu
1 stars

This overlay indicator plots a range-filter trend baseline on the price chart and marks BUY or SELL when the filter direction flips. It builds the filter from a smoothed average of source changes scaled by a multiplier, then trails price above or below that ra

Indicator v5 TrendSMC / ICT / price action Repaints
Updated 8 months ago · None stated GitHub repository of Gemini QUANTUM

ARC TrendStepper

by Tradehook-org
1 stars

ARC TrendStepper calculates and plots a stepped trend line directly on the price chart to filter out minor market noise. It updates the stepped value only when price changes exceed a configurable threshold calculated via Ticks, ATR, or percentage move. The ind

Indicator v5 TrendVolatility & bands
Updated 8 months ago · None stated GitHub repository of ARC TrendStepper

MES Gamma (7DTE)

by Juice-zhi
1 stars

A price-chart overlay that draws a static set of options gamma levels for MES (Micro E-mini S&P 500 futures, scaled from SPY options) expiring in seven days. The center line and the one and two standard deviation bands are hardcoded numbers from a snapshot dat

Indicator v5 Support & resistance
Updated 8 months ago · None stated GitHub repository of MES Gamma (7DTE)

FVG + IFVG Gap (ULTRA)

by Ahmed1926
1 stars

An overlay indicator that detects fair value gaps, where one candle's low is above the high from two bars earlier or the reverse, and inverse fair value gaps. Each gap is drawn as a box with an optional 50 percent midline in a chosen style. Settings choose whe

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 9 months ago · None stated GitHub repository of FVG + IFVG Gap (ULTRA)
1 stars

Calculates the Chaikin Oscillator as the difference between a fast and a slow exponential average of the accumulation and distribution line, with defaults of 3 and 10. It plots in a separate pane around a zero line, with a colour gradient based on recent extre

Indicator v5 VolumeOscillators & momentum
Updated 9 months ago · MPL-2.0 GitHub repository of Chaikin Oscillator
1 stars

The Squeeze Momentum BB Enhanced indicator computes a momentum oscillator from close prices using linear regression or SMA. It identifies squeezes between Bollinger Bands and Keltner Channels to flag potential breakouts. Plots include colored momentum lines, f

Indicator v5 Oscillators & momentumMoving averages
Updated 9 months ago · None stated GitHub repository of Squeeze Momentum BB Enhanced
1 stars

Market Structure & S/R Zones plots swing pivot points, structural labels, and horizontal support and resistance zones directly on the price chart. Using configurable swing lengths, it identifies swing highs and lows to classify higher highs, higher lows, lower

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 9 months ago · MIT GitHub repository of Market Structure & S/R Zones
1 stars

Ranges with Targets is an indicator that draws horizontal support and resistance lines on the price chart using ATR-based calculations. It detects buy and sell signals from crossovers of close price with the upper and lower range levels. A target multiplier se

Indicator v5 TrendSupport & resistance
Updated 9 months ago · None stated GitHub repository of Ranges with Targets [ChartPrime]

Support & Resistance Finder

by IamTamheedNazir
1 stars

Support & Resistance Finder is an indicator that automatically detects key support and resistance levels on the price chart. It identifies pivot highs and lows using customizable lookback periods and level strength parameters, then tracks and maintains the str

Indicator v5 Support & resistance
Updated 9 months ago · Custom licence GitHub repository of Support & Resistance Finder

A chart-overlay SuperTrend variant whose ATR multiplier shrinks for a limited number of bars after a divergence is found. Divergences are detected with pivots between price and a hidden oscillator, and shown as small markers. If a divergence in the trend direc

Indicator v6 TrendDivergence
Updated 9 months ago · None stated GitHub repository of SuperTrend Weighted by Divergence

Yellow Lines for RS

by tqfoster1035
1 stars

Yellow Lines for RS is an overlay indicator that draws horizontal price lines for E-mini S&P 500 and Nasdaq 100 futures. The price levels are typed in by the user in the settings, with three slots per instrument, plus a set of optional preset ES levels. It det

Indicator v6 Support & resistance
Updated 10 months ago · None stated GitHub repository of Yellow Lines for RS

Ultra Clean Signals

by KirstonKK
1 stars

A minimal chart-overlay indicator that plots a 20 and a 50 EMA and prints large buy or sell labels on an EMA cross. A buy also needs volume above 1.5 times its 20-bar average, RSI between 35 and 65 and price above the fast EMA; a sell needs the opposite price

Indicator v6 Moving averagesTrend
Updated 10 months ago · None stated GitHub repository of Ultra Clean Signals

Ogi's Levels

by ognenmitev
1 stars

A multi-part overlay that draws support and resistance boxes from pivot highs and lows, sized as a multiple of ATR, with stop loss and two take profit lines based on an ATR stop distance and risk-to-reward ratios. It adds a trend label from a 50 and 200 bar si

Indicator v6 Support & resistanceTrend
Updated 11 months ago · Custom licence GitHub repository of Ogi's Levels
1 stars

A planning utility rather than a market indicator. It shows a named primary goal with up to 20 milestone entries on the price chart, each with an editable name and a completion checkbox. The user sets how many goals are displayed and ticks them off in the sett

Indicator v5 Screeners & dashboards
Updated 11 months ago · None stated GitHub repository of Goal Setting Strategies Viprasol
1 stars

This indicator detects swing highs and lows using configurable pivot lookback periods and plots upper and lower trendlines directly on the price chart. Slope angles are dynamically calculated using ATR, standard deviation, or linear regression methods. Breakou

Indicator v5 TrendSupport & resistance Repaints
Updated 11 months ago · None stated GitHub repository of Trendlines with Breaks LuxAlgo
1 stars

Advanced Market Theory calculates Market Profile, TPO, and Hybrid profiles directly on the price chart. It identifies key structural levels including the Point of Control, Value Area High and Low boundaries, Initial Balance range projections, single prints, po

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 11 months ago · None stated GitHub repository of Advanced Market Theory
1 stars

An indicator on the price chart that finds pivot highs and lows with adjustable left and right bar counts, classifies each into numbered variants using the highs and lows of the neighbouring bars, and connects them as waves. It labels the latest eight pivots,

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 11 months ago · MIT GitHub repository of Pivot Waves 8-Pattern CHoCH

Example Screener - 1

by NakliTechie
1 stars

This overlay indicator is an example multi-symbol screener drawn on the price chart. It exposes an RSI length plus overbought and oversold levels, and boolean switches that turn individual symbols on or off. Column width and screen number control panel placeme

Indicator v5 Oscillators & momentumScreeners & dashboards
Updated 1 year ago · MIT GitHub repository of Example Screener - 1

CVD Enhanced

by turnupdigital
1 stars

An indicator that draws cumulative volume delta as candles in a separate pane, built from lower timeframe volume for a chosen anchor period. Adjustable positive and negative threshold lines mark bullish and bearish confirmation levels, with the area between th

Indicator v6 VolumeOscillators & momentum
Updated 1 year ago · None stated GitHub repository of CVD Enhanced

Calculates standard Relative Strength Index values and identifies positive bullish divergences between price swing lows and RSI lows. The script tracks confirmed pivots using configurable left and right lookback lengths, storing historical pivot prices and ind

Indicator v5 DivergenceOscillators & momentum
Updated 1 year ago · GPL-3.0 GitHub repository of Positive RSI Divergence Detector

Pivot Points Standard

by yagyesh-bobde
1 stars

The Pivot Points Standard indicator calculates and plots support, resistance, and pivot levels directly on the price chart. It offers multiple calculation algorithms, including Traditional, Fibonacci, Woodie, Classic, Demark, and Camarilla. Users can select pi

Indicator v6 Support & resistance Repaints
Updated 1 year ago · None stated GitHub repository of Pivot Points Standard

This indicator plots Parabolic SAR circles and a configurable exponential moving average on the price chart. It treats the average of open, high, low, and close above the EMA as bullish and below it as bearish. A buy label appears when SAR is below the low, th

Indicator v5 TrendOscillators & momentum
Updated 1 year ago · None stated GitHub repository of Parabolic SAR + EMA 200 + MACD Signals

MACD Indicator

by CodeThat
1 stars

This indicator calculates and plots a standard Moving Average Convergence Divergence oscillator in a separate chart pane. It computes the fast MACD line, the slow signal line, and the histogram based on user-configurable short, long, and signal period inputs.

Indicator v6 Oscillators & momentumMoving averages
Updated 1 year ago · None stated GitHub repository of MACD Indicator

Volume Price Indicator

by fuyuanyuan
1 stars

This indicator plots colored volume bars on the price chart, where green shows price up days and red shows price down days. It also draws an EMA of volume in yellow. The script detects bullish and bearish divergences by comparing price highs/lows to volume hig

Indicator v6 VolumeMoving averages
Updated 1 year ago · None stated GitHub repository of Volume Price Indicator

Aroon Oscillator

by munlit
1 stars

A separate-pane indicator that computes the Aroon oscillator from how recently the highest high and lowest low occurred over a set length, then smooths it with a zero-lag filter that searches for a best gain value. A second signal line is derived from it. Inpu

Indicator v5 Oscillators & momentumTrend
Updated 1 year ago · None stated GitHub repository of Aroon Oscillator

Moon Phase and MA

by mrgunkin
1 stars

This indicator calculates the lunar age from the chart date and marks a new moon above the bar and a full moon below the bar. It also plots the close as a daily 200-period moving average and weekly 20- and 200-period moving averages, each as a simple or expone

Indicator v5 Moving averages Repaints
Updated 1 year ago · MIT GitHub repository of Moon Phase and MA

COT Total

by ivansoft
1 stars

An indicator in a separate pane that plots total Commitment of Traders positions for the chart symbol. A display setting chooses long positions, short positions, their sum, their difference or the long share as a percentage of the sum. Other settings pick the

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

FGW | dobofulop

by Dfulop98
1 stars

This indicator draws a Fibonacci golden zone from the most recent swing high and swing low on the price chart. It measures that swing over a configurable bar range and places two Fibonacci ratios, defaulting to 0.5 and 0.618, as lines that outline a potential

Indicator v5 Support & resistance
Updated 1 year ago · None stated GitHub repository of FGW | dobofulop
1 stars

A compact Pine v5 indicator that draws imbalance zones between candles on the price chart using lines. Two settings are available: a visualization range that sets how many recent imbalances stay on the chart, and a color. Labels are in Spanish and the header c

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 1 year ago · None stated GitHub repository of Order Flow Imbalance
1 stars

This indicator calculates multiple smoothed versions of a chosen dataset using Kalman filters with adjustable gain parameters. It plots the resulting lines on the price chart for visual comparison. The main settings allow selection of the input source and togg

Indicator v5 Oscillators & momentumMoving averages
Updated 1 year ago · None stated GitHub repository of Kalman Gain Parameter Mechanics

Fractal Engulfing Candles

by fiji-solutions
1 stars

This indicator marks engulfing-style candles on the price chart when they also form at a ten-bar swing. A bullish mark requires a prior bearish candle, an open at or below that close, a close at or above that open, a swing low, and RSI below 30. A bearish mark

Indicator v5 Candlestick patternsOscillators & momentum
Updated 2 years ago · None stated GitHub repository of Fractal Engulfing Candles

CM_EMA Trend Bars

by Hurairahengg
1 stars

CM_EMA Trend Bars is a trend-following indicator that plots buy and sell signal shapes on the price chart based on exponential moving average position. It calculates a single exponential moving average (EMA) using a customizable period, defaulting to 34 bars.

Indicator v5 TrendMoving averages
Updated 2 years ago · None stated GitHub repository of CM_EMA Trend Bars

theIndicator v2

by darkshloser
1 stars

A refactored version of a triple SuperTrend overlay. Each of three lines is calculated through helper functions from an ATR period, multiplier and a shared price source, with an option to use wicks or closing prices. Long stops plot in green and short stops in

Indicator v5 Trend
Updated 2 years ago · Apache-2.0 GitHub repository of theIndicator v2

The Pirate Compass

by yankeexlr
1 stars

An overlay for crypto, stocks and commodities that runs two parallel sets of the same staged logic, each with its own RSI length and 21, 50, 100 and 300-period simple moving averages. The logic flags bearish candles with RSI below 20, tracks crosses above the

Indicator v5 Mean reversionOscillators & momentum
Updated 2 years ago · None stated GitHub repository of The Pirate Compass

ARI-Overextension

by alessioricco
1 stars

This indicator measures how far the close sits from a Hull moving average and plots that gap as a percentage in a separate pane. It also calculates an exponential moving average over the same trend length. The plotted line is red above 20, green below zero, an

Indicator v4 Moving averagesMean reversion
Updated 2 years ago · Apache-2.0 GitHub repository of ARI-Overextension

TrendGlow

by RobACurtis
1 stars

TrendGlow is a price-chart indicator that recolors candles according to a bullish, bearish, or sideways trend. It imports a BullBear library and can combine Stochastic RSI, MACD, and SMA checks on a user-selected timeframe through request.security. Users toggl

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

QQE Signals

by eduardofx
1 stars

A price-chart overlay that applies the quantitative qualitative estimation method to RSI. It smooths RSI with an exponential average, builds a fast volatility band from the average change in that line, and tracks a trailing line that flips between the upper an

Indicator v4 Oscillators & momentum
Updated 2 years ago · None stated GitHub repository of QQE Signals
1 stars

Calculates and plots customizable Ichimoku Kinko Hyo components directly on the price chart. It provides options to display standard Ichimoku lines including Tenkan-sen, Kijun-sen, Senkou Span A, Senkou Span B, and Chikou Span, as well as an overlay for the Ic

Indicator v5 TrendSupport & resistance
Updated 3 years ago · MIT GitHub repository of Woverine - Ichimou & Cloud

Money Printer Go BRRR 2.0

by sourdiesel1202
1 stars

A separate-pane indicator that calls an imported helper library to test SMA, MACD, RSI and DMI conditions for long and short setups, plus an ADX check. It plots a green line at 1 when all four long conditions are true and a red line at minus 1 when all four sh

Indicator v5 Oscillators & momentumTrend
Updated 3 years ago · None stated GitHub repository of Money Printer Go BRRR 2.0

This indicator calculates the Directional Movement Index, including plus DI, minus DI, and a smoothed ADX, then compares confirmed ADX pivots with price pivots to mark divergences. Users set price and ADX lookbacks, a short, medium, or long divergence range, a

Indicator v4 Oscillators & momentumDivergence
Updated 3 years ago · Apache-2.0 GitHub repository of Directional Movement Index Divergence+

MA Cross

by jubayernil
1 stars

This indicator calculates three Simple Moving Averages with periods of 55, 89, and 233 on closing prices and overlays them directly on the price chart. It evaluates a specific bearish crossover pattern where the 55-period fast moving average drops below the 89

Indicator v4 TrendMoving averages
Updated 3 years ago · None stated GitHub repository of MA Cross

QS Vix

by nvFede
1 stars

A Pine v4 indicator in a separate pane that builds a volatility gauge from the S&P 500 index. It measures the distance of the current low from the highest high over a short window and a window ten times longer, as percentages, adds them and smooths the sum wit

Indicator v4 Volatility & bands
Updated 3 years ago · None stated GitHub repository of QS Vix

Asymmetric Band

by JohnsonHsiao
1 stars

This indicator calculates volatility-based envelopes directly on the price chart. It plots a central exponential moving average of closing prices alongside asymmetric outer bands. The upper band is derived from an EMA of price highs plus a standard deviation o

Indicator v5 Volatility & bandsMoving averages
Updated 3 years ago · None stated GitHub repository of Asymmetric Band

Combo2

by 0xfffangel
1 stars

A combined overlay that bundles several tools in one script. It draws three median-based high/low lines that flip between green and red as price crosses them, support and resistance levels from pivot bars with an optional higher timeframe, Fibonacci levels ove

Indicator v4 TrendSupport & resistance Repaints
Updated 4 years ago · None stated GitHub repository of Combo2

Monitor Armónico

by micayael
1 stars

A separate-pane indicator that combines a squeeze momentum histogram with an ADX-style line. The histogram is a linear regression of price against a channel midline and is coloured by direction and strength, while cross markers on the zero line show whether Bo

Indicator v4 Oscillators & momentumVolatility & bands
Updated 4 years ago · None stated GitHub repository of Monitor Armónico
1 stars

This is a minimal test script for an alert-driven trading bot. A single Long input chooses the direction, and on every bar the script fires an alert with a JSON message for a market buy or a market sell of a fixed small Bitcoin amount. It calculates no indicat

Indicator v4
Updated 4 years ago · MIT GitHub repository of Test Azure Functions

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