Pine Library · 7,612 open-source scripts

Free TradingView Indicators (page 27)

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

2 stars

Calculates 20-day Average Daily Range percentage, multi-month performance metrics, opening gap size, and relative volume to identify Kristjan Kullamägi style Breakout and Episodic Pivot setups. When conditions are satisfied on the price chart, it flags candles

Indicator v6 BreakoutVolume
Updated 4 months ago · Custom licence GitHub repository of Qullamaggie Breakout / EP Flags

StdDev Anchor AI

by teaceo-debug
2 stars

The StdDev Anchor AI indicator plots swing high and low points on the price chart using pivot functions. It detects displacement legs based on minimum range and confirmation ratio settings, then applies standard deviation logic to identify anchor levels. MTF c

Indicator v6 Support & resistanceVolatility & bands Repaints
Updated 4 months ago · None stated GitHub repository of StdDev Anchor AI

ORB Breakout Alert

by az9713
2 stars

The indicator identifies upside breakouts from the 30-minute US market opening range between 09:30 and 10:00 AM ET. It triggers a signal when price closes above the opening range high before 11:30 AM ET, provided bar volume exceeds a multiplier of the opening

Indicator v5 BreakoutSessions & time
Updated 5 months ago · None stated GitHub repository of ORB Breakout Alert
2 stars

Session Extreme Revisit identifies the highest supply candle and lowest demand candle formed during London and New York sessions and draws extended reaction zones on the price chart. It evaluates candidate candles using size, wick ratio, and displacement filte

Indicator v5 Sessions & timeSupport & resistance
Updated 5 months ago · None stated GitHub repository of Session Extreme Revisit — Pro
2 stars

This overlay indicator maps a US equity day-trading framework of levels, trend, and patience candles onto the price chart. It plots 8 and 21 SMAs, higher-timeframe 200 SMAs, VWAP, the last five days of premarket highs and lows, and the 9:30–9:45 opening range.

Indicator v6 TrendMoving averages Repaints
Updated 6 months ago · None stated GitHub repository of Day Trading Strategy v2
2 stars

Ghost Zone v9 plots chart overlay signals and key structural levels derived from reverse-engineered price action, volume spread analysis, and momentum filters. It identifies specific trading patterns including Low Volume Test (LVT), Signal Test (ST), Bull Trap

Indicator v6 VolumeCandlestick patterns
Updated 6 months ago · None stated GitHub repository of Ghost Zone v9 - GTI Signals v18a

DR/IDR

by avatar-lavventura
2 stars

This indicator plots Defining Range (DR) and Implied Defining Range (IDR) levels across Regular, After, and Overnight market sessions directly on the price chart. It visualizes high and low range boundaries, midline levels, opening lines, background boxes, and

Indicator v5 Sessions & timeSupport & resistance Repaints
Updated 7 months ago · None stated GitHub repository of DR/IDR

This indicator evaluates market conditions across four user-defined timeframes by combining RSI, MACD crossovers, triple EMA trend filters, Bollinger Band boundaries, and volume spikes. It computes aggregate bullish and bearish scores, plotting buy and sell si

Indicator v5 Screeners & dashboardsOscillators & momentum
Updated 8 months ago · None stated GitHub repository of Multi-Timeframe Trade Signal Indicator

This indicator plugin for grid trading systems calculates dynamic upper, middle, and lower channel boundaries based on historical highest highs and lowest lows. Users can adjust the lookback period, toggle candle wicks, apply moving average smoothing, add pric

Indicator v6 Support & resistance Repaints
Updated 8 months ago · MIT GitHub repository of Grid Bot [Grid range plugin] HighLow [psyll]

ATR Rope

by regalouisei
2 stars

This overlay indicator smooths a chosen price source with a rope-style range filter. It moves the line only when price travels beyond an ATR length multiplied by a user multiplier, then colors the rope up, down, or flat from its slope and from source crosses.

Indicator v6 TrendVolatility & bands
Updated 8 months ago · None stated GitHub repository of ATR Rope

Market Structure - Clean & Objective

by ifreddyman2014-tech
2 stars

The script identifies and plots market structure components directly on the price chart using confirmed pivot highs and lows. It classifies swing points into Higher Highs, Higher Lows, Lower Highs, and Lower Lows while detecting Break of Structure (BOS) and Ch

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 8 months ago · None stated GitHub repository of Market Structure - Clean & Objective

CT Reverse MACD Cross

by mushroom-men-Trading
2 stars

This indicator calculates and displays a Moving Average Convergence Divergence (MACD) oscillator alongside EMA and SMA signal lines and histograms in a separate pane. It offers reverse signal line calculations and detailed visual styling, including directional

Indicator v6 Oscillators & momentumMoving averages
Updated 9 months ago · None stated GitHub repository of CT Reverse MACD Cross
2 stars

The script detects pin bar candlestick patterns by comparing each candle's body size to its total range and measuring the relative lengths of its upper and lower shadows. A bullish pin bar forms when the body is small, the lower shadow is at least twice as lon

Indicator v5 Candlestick patterns
Updated 10 months ago · None stated GitHub repository of Pin Bar Detector | Algobid

QQE + AK Trend + EFI

by realanthonyc
2 stars

This indicator computes and plots a QQE histogram using RSI of the chosen source smoothed with Wilder's ATR method, alongside an AK Trend line derived from fast EMAs with dynamic scale factors adjusted by timeframe. It also calculates Elder Force Index with ad

Indicator v6 TrendOscillators & momentum
Updated 11 months ago · MPL-2.0 GitHub repository of QQE + AK Trend + EFI

Trend Analyzer EMA Only

by panzmoravylab
2 stars

Trend Analyzer EMA Only compares a fast and a slow exponential moving average on the price chart and labels the state uptrend, downtrend, or neutral. A buy or sell signal appears when the fast average crosses the slow average while both slopes agree and their

Indicator v6 TrendMoving averages
Updated 1 year ago · None stated GitHub repository of Trend Analyzer EMA Only

ADR label

by etnt
2 stars

This indicator calculates and displays the Average Daily Range percentage alongside a Mark Minervini Trend Template score in an on-screen table. It evaluates moving average alignments, 52-week price extremes, and moving average slope criteria to generate a Tre

Indicator v6 Screeners & dashboardsTrend
Updated 1 year ago · MPL-2.0 GitHub repository of ADR label
2 stars

This indicator identifies and plots dynamic support and resistance levels on the price chart using pivot highs and pivot lows. It evaluates historical pivot clusters over a multi-bar lookback window to construct key horizontal levels, with options to render bu

Indicator v6 Support & resistance
Updated 1 year ago · None stated GitHub repository of Support/Resistance Levels
2 stars

Multi-Indicator Trading System is a price chart overlay indicator that combines exponential moving averages, MACD, RSI, and multi-timeframe Ichimoku cloud analysis. It evaluates local timeframe indicators alongside higher timeframe trend filters to generate bu

Indicator v5 TrendOscillators & momentum
Updated 1 year ago · MIT GitHub repository of Multi-Indicator Trading System

DrawLevels

by ashwagamma
2 stars

This indicator draws predefined support and resistance levels, price range boxes, and key value area markers directly on the price chart. It visualizes hardcoded horizontal price levels, support and resistance zones, and value area references such as prior day

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

This indicator visualizes volume delta, total volume, or open interest delta directly on the price chart. By fetching one-minute intrabar data, it distributes buying and selling activity into price levels defined by percentages or tick sizes. It calculates del

Indicator v5 VolumeSupport & resistance
Updated 1 year ago · None stated GitHub repository of Volume Delta | OI Delta [Kioseff Trading]

This overlay indicator marks swing highs and lows, then draws supply and demand boxes around points of interest. It labels higher highs, lower highs, higher lows, and lower lows, and can show break-of-structure and point-of-interest labels plus an optional zig

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 1 year ago · None stated GitHub repository of FluidTrades - SMC Lite + Moving Average Ribbon

Tik 2 JPY

by keiru517
2 stars

This indicator plots horizontal lines on the price chart at ratios ranging from 120 to 170 in steps of 10. It draws main red lines at each ratio and aqua and yellow subdivisions at quarter and half points. The lines extend rightward from past bar index minus 1

Indicator v6 Support & resistance
Updated 1 year ago · None stated GitHub repository of Tik 2 JPY
2 stars

PriceCatch Intraday Range plots key daily price levels and projections on intraday price charts. It calculates daily open, high, low, and close values using higher-timeframe data requests, drawing reference lines for custom percentage change thresholds and dai

Indicator v6 Support & resistanceSessions & time
Updated 1 year ago · MPL-2.0 GitHub repository of PriceCatch Intraday Range

Custom Session VWAP

by ryangaraygay
2 stars

This indicator calculates and plots a Volume Weighted Average Price (VWAP) restricted to a user-defined trading session on the price chart. It uses the specified source (default hlc3) to compute the VWAP only while the market is in the custom session (default

Indicator v6 VolumeSupport & resistance
Updated 1 year ago · MIT GitHub repository of Custom Session VWAP

Whale Detection with VWAP

by scallywag41
2 stars

This indicator identifies large volume trades occurring near the Volume Weighted Average Price (VWAP). It calculates a cumulative VWAP and checks whether the bar's volume meets or exceeds a specified minimum block trade volume. Additionally, it verifies if the

Indicator v5 VolumeMoving averages
Updated 2 years ago · None stated GitHub repository of Whale Detection with VWAP

Mc War OB + EMA

by tuanmcwar
2 stars

This price-chart indicator plots a 34-period EMA and an 89-period EMA and defines buy and sell conditions from their relationship to the prior close. It is built to draw bullish and bearish order-block boxes, optionally recolor blocks that price has broken, an

Indicator v5 Moving averagesSMC / ICT / price action
Updated 2 years ago · None stated GitHub repository of Mc War OB + EMA

MACD

by CjHare
2 stars

This indicator calculates the MACD in a separate pane. It subtracts a slow exponential moving average from a fast one, then smooths that difference with another exponential moving average to form the signal. It plots the MACD and signal as solid lines, a colum

Indicator v5 Oscillators & momentumMoving averages
Updated 2 years ago · Apache-2.0 GitHub repository of MACD
2 stars

This indicator plots the Vortex Indicator and the Relative Strength Index together in a separate pane. It calculates VI+ and VI- from absolute high-low ranges over a shared length, then draws RSI from a chosen source with a selectable SMA or EMA of the RSI. Ho

Indicator v5 Oscillators & momentumTrend
Updated 2 years ago · MIT GitHub repository of Combined Indicator RSI, Vortex

Resistance 20 Periods

by jpiedrafita
2 stars

This indicator calculates and plots the highest close price over the preceding 20 bars directly on the main price chart. Designed to highlight key resistance levels and potential breakout points, it displays a single gray line representing the rolling 20-perio

Indicator v5 Support & resistanceBreakout
Updated 2 years ago · None stated GitHub repository of Resistance 20 Periods
2 stars

This indicator overlays multiple moving averages on the price chart including 5, 10, 21, 30, 50, 150 and 200 period EMAs and SMAs. It draws D-Day markers with labels, identifies buying and selling climaxes, plots 52-week high and low levels, and detects VIX in

Indicator v5 Moving averagesSupport & resistance Repaints
Updated 2 years ago · MIT GitHub repository of Combined Candle Counter

Saty ATR Levels

by mikah13
2 stars

Saty ATR Levels calculates projected support, resistance, trigger, and target levels overlaid on the price chart using Average True Range and Fibonacci ratios. It supports multiple trading modes, including Day, Multiday, Swing, Position, and Long-term options.

Indicator v5 Volatility & bandsSupport & resistance Repaints
Updated 2 years ago · None stated GitHub repository of Saty ATR Levels
2 stars

This indicator plots a Nadaraya-Watson kernel estimate of the selected source on the price chart and draws upper and lower envelopes around it. A Gaussian window weights nearby bars. Bandwidth sets how wide that smoothing is, and a multiplier scales the mean a

Indicator v5 TrendVolatility & bands Repaints
Updated 2 years ago · None stated GitHub repository of Nadaraya-Watson Envelope [LuxAlgo]

PerformanceTable

by jvalen01
2 stars

PerformanceTable displays a compact dashboard table on the main chart summarizing key stock metrics. It calculates the 20-day Average Daily Range (ADR), an IBD-style Relative Strength (RS) rating, 10-day average trading volume, quarterly earnings and revenue e

Indicator v5 Screeners & dashboards
Updated 3 years ago · None stated GitHub repository of PerformanceTable

HTF Candles & Pivots

by itmakesyousick
2 stars

This indicator overlays higher-timeframe candles and traditional pivot levels on the price chart. It draws open-close or high-low candle bodies, optional wicks, and history modes that include shifting the previous higher-timeframe candle onto the current one.

Indicator v5 Candlestick patternsSupport & resistance
Updated 3 years ago · None stated GitHub repository of HTF Candles & Pivots

Smart Money Concepts [LuxAlgo]

by srinivas-yarramsetti
2 stars

This indicator plots Smart Money Concepts elements on the price chart including internal and swing order blocks, bullish and bearish structures with BOS and CHoCH breaks, fair value gaps, equal highs and lows, and swing points. It can color candles according t

Indicator v5 SMC / ICT / price actionCandlestick patterns Repaints
Updated 3 years ago · None stated GitHub repository of Smart Money Concepts [LuxAlgo]

This indicator overlays a Supertrend calculation with filled trend zones and ATR-based premium or discount offset lines directly on the price chart. Upon direction changes in the Supertrend, it identifies highest highs and lowest lows during the preceding tren

Indicator v5 TrendSupport & resistance
Updated 3 years ago · None stated GitHub repository of [JL] Supertrend Zone Pivot Point with Zigzag Fib

Manual DR w/ Waddah

by theupslidedown
2 stars

This indicator calculates and displays Defining Range (DR) and implied Defining Range (iDR) levels across selected trading sessions, such as main, early, and Asian ranges. It plots session high and low lines, extended projections, range boxes, and Fibonacci le

Indicator v5 Support & resistanceSessions & time
Updated 3 years ago · None stated GitHub repository of Manual DR w/ Waddah

Initial Balance

by MuMuLLC
2 stars

The Initial Balance indicator highlights high, low, and 50% midpoint levels calculated over a defined session timeframe, such as the opening hour. It draws primary initial balance bounds, optional extended x2 projection levels, intermediate 50% levels, and sha

Indicator v5 Support & resistanceSessions & time
Updated 3 years ago · MIT GitHub repository of Initial Balance

Donchian Trend Ribbon

by ctkqiang
2 stars

This indicator plots a stacked trend ribbon in a separate pane from Donchian channel breakouts. For a chosen period it marks an uptrend when the close exceeds the previous highest high and a downtrend when the close falls below the previous lowest low, otherwi

Indicator v4 TrendBreakout
Updated 3 years ago · Apache-2.0 GitHub repository of Donchian Trend Ribbon

MACD #1

by storm0611
2 stars

MACD #1 is a momentum indicator that calculates the MACD line as the difference between a fast EMA and a slow EMA of the close price. It also computes the signal line as the EMA of the MACD line with a default length of 9. The script plots the MACD line in blu

Indicator v5 Oscillators & momentumMoving averages
Updated 4 years ago · None stated GitHub repository of MACD #1

Calculates and plots daily moving averages, including 200, 100, and 50-period SMAs as well as a 20-period EMA, onto intraday price charts. It also includes an optional Williams Alligator Jaw line calculated using a smoothed moving average. Settings allow adjus

Indicator v5 Moving averagesTrend Repaints
Updated 4 years ago · MIT GitHub repository of Daily Moving Averages on Intraday Chart

Volume

by pureweb-creator
2 stars

This indicator plots trading volume on a separate pane below the price chart. It colors the volume bars red if the previous close is higher than the current close, or aqua if lower, when the 'Color bars based on previous close' setting is enabled. The script a

Indicator v4 Volume
Updated 5 years ago · GPL-3.0 GitHub repository of Volume

MC - Defensive

by Metzenas
2 stars

MC - Defensive calculates a WaveTrend oscillator combined with a volume-weighted money flow index to generate buy and sell signals directly on the price chart. Buy signals trigger when WaveTrend crosses up in oversold conditions with low money flow values, whi

Indicator v4 Oscillators & momentumVolume
Updated 5 years ago · None stated GitHub repository of MC - Defensive
2 stars

This indicator implements a three-dimensional matrix as one Pine float array, with sheet, row, and column counts stored in the first three values. It creates a filled matrix, reads those dimensions, and returns the start and end indexes of a chosen sheet. It a

Indicator v4
Updated 5 years ago · MIT GitHub repository of 3D array datastructure functions
1 stars

A separate-pane indicator that runs a percentage-deviation ZigZag state machine on up to eight timeframes, from one minute to daily, and shows whether each is currently in an up leg after a swing low or a down leg after a swing high. Settings choose the deviat

Indicator v6 Trend Repaints
Updated 2 days ago · None stated GitHub repository of BD ZigZag MTF Consensus

Flat Zone Detector

by xopromo
1 stars

An indicator on the price chart that detects sideways ranges and flags breakouts from them. For each bar it counts how many of the previous N completed bars overlapped a zone of plus or minus a multiple of ATR around the current close, giving a flat score from

Indicator v6 BreakoutVolatility & bands
Updated 2 days ago · None stated GitHub repository of Flat Zone Detector

6 EMAs Integrated

by sean-ccho
1 stars

Plots six exponential moving averages on the price chart, with default lengths of 5, 10, 20, 50, 100 and 200 applied to the close. The three short-term lines and three long-term lines are grouped in the settings, and each line has its own on/off switch and len

Indicator v5 Moving averagesTrend
Updated 2 days ago · None stated GitHub repository of 6 EMAs Integrated
1 stars

This indicator calculates the classic Awesome Oscillator by subtracting a 34-period simple moving average from a 5-period simple moving average of median prices. It plots the resulting values as a color-coded column histogram in a separate pane, turning green

Indicator v6 Oscillators & momentumMoving averages
Updated 2 days ago · Custom licence GitHub repository of Awesome Oscillator

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