Pine Library · 7,612 open-source scripts

Free TradingView Indicators (page 19)

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

RVol Panel

by samkdgit
1 stars

RVol Panel plots relative volume in a separate pane for intraday charts. It compares each bar’s volume with the same bar position across a configurable number of recent sessions and also tracks cumulative session volume against that baseline. Bars are colored

Indicator v5 VolumeSessions & time
Updated 11 months ago · MIT GitHub repository of RVol Panel

MTF Checklist Dashboard

by eliasvictor-trading
1 stars

An overlay indicator that shows a colour-coded table of market conditions across six timeframes, 1, 5, 15, 30, 60 and 240 minutes by default, including opening range breakout status and distance from the daily high and low. It prints arrow signals when enough

Indicator v6 Screeners & dashboardsSessions & time
Updated 11 months ago · None stated GitHub repository of MTF Checklist Dashboard
1 stars

This indicator looks for a five-candle shape on the price chart. In the high model the middle candle holds the highest high, with rising highs into it and falling lows after it; the low model is the mirror image. When a shape is found it draws grey connecting

Indicator v6 Candlestick patterns Repaints
Updated 11 months ago · None stated GitHub repository of 5-Candle High/Low Indicator
1 stars

ATR Volatility Trailing Stop plots an EMA trend moving average alongside dynamic ATR-based trailing stops on the price chart. The indicator determines trend direction from price relative to the EMA. Long trailing stop trails upward using ATR when uptrend, shor

Indicator v5 Volatility & bandsTrend
Updated 11 months ago · None stated GitHub repository of ATR Volatility Trailing Stop

N Rolling and Anchored VWAP

by murasamenomad
1 stars

A price chart overlay that plots rolling VWAP lines over 7, 30, 90 and 365 days, calculated from a selectable reference timeframe with optional smoothing and price labels. It also draws up to several anchored VWAPs that restart each day, week, month, quarter o

Indicator v6 VolumeSupport & resistance Repaints
Updated 11 months ago · None stated GitHub repository of N Rolling and Anchored VWAP

Normalises USD/TWD, TSMC, the 0050 ETF, the dollar index and the SOXX semiconductor ETF against their own moving averages and plots them together. It then measures rolling correlations of USD/TWD with the dollar index, SOXX and TSMC, and labels whichever has t

Indicator v5 Screeners & dashboards
Updated 11 months ago · MIT GitHub repository of TWD Triple-Layer Driver Detector

CHoCH Signal TRXUSDT

by gnuhhung317
1 stars

A generated indicator on the price chart that draws a fixed set of hard-coded lines and one label for TRXUSDT on the 30 minute chart. Aqua dashed lines mark pivot highs, yellow dashed lines mark pivot lows, and a lime label marks a change of character at a sta

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 passes the chosen source through a multi-order Kalman filter, then places ATR-multiple upper and lower bands around the filtered price and smooths them exponentially. The trend turns bullish when price crosses above the upper

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

A price-chart overlay that marks regular pivot highs and lows using a configurable pivot length, plus missed pivots that occurred between them, joined by zigzag lines. It measures each move between consecutive pivots, showing price change in points and percent

Indicator v6 Support & resistance
Updated 11 months ago · None stated GitHub repository of [FS] Pivot Measurements

Order Block Detector

by freacatt
1 stars

A price-chart overlay that finds bullish and bearish order blocks from volume pivots. A pivot length sets how many bars confirm a volume swing, and the candle range there becomes a zone drawn as a box with a dashed or solid average line, extended to the right.

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 11 months ago · None stated GitHub repository of Order Block Detector

A price-chart indicator that marks the opening range of each session, either from a chosen opening time period or a custom session and timezone. It plots the range high and low, shades the range, and prints breakout signals when price closes beyond it. Targets

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

SamK Indicator

by samkling
1 stars

A Pine v5 overlay that combines several chart aids for stock trading. It plots selectable moving averages on all timeframes, optional daily moving averages pulled from the daily series, 50, 100 and 200 SMAs, and pivots. Further switches add average daily range

Indicator v5 Moving averagesSupport & resistance Repaints
Updated 1 year ago · None stated GitHub repository of SamK Indicator

Flip Zones V1

by TraderBarat
1 stars

Finds candles with unusually high volume and draws a box from the candle high to low on the price chart. Volume counts as unusual when it exceeds a moving average of volume by a multiplier, default 2. Large-body candles are tagged as breakouts, and small-body

Indicator v5 Support & resistanceVolume
Updated 1 year ago · MIT GitHub repository of Flip Zones V1

Bitcoin Cycles Indicator

by mikegreiner
1 stars

Bitcoin Cycles Indicator tracks cycle lows and highs on the price chart for daily, weekly, monthly and custom timeframes. It labels potential and final cycle points, flags failed cycles, and draws projection boxes based on an average cycle length. Minimum and

Indicator v6 Support & resistance Repaints
Updated 1 year ago · MIT GitHub repository of Bitcoin Cycles Indicator

Swing Highs and Lows

by RadinAnsari
1 stars

This indicator identifies dynamic support and resistance levels on the price chart using pivot high and low calculations. Based on a configurable swing length setting, it detects key market turnarounds and plots triangular markers above swing highs and below s

Indicator v5 Support & resistance
Updated 1 year ago · None stated GitHub repository of Swing Highs and Lows

bar_index

by SauceSlinger
1 stars

This file is mostly a text reference for Pine Script variables such as bar_index and the barstate family, kept with a parsing project. The runnable code is a minimal indicator that plots the bar index in a separate pane and plots the close only after bar 5000,

Indicator v5 Repaints
Updated 1 year ago · MIT GitHub repository of bar_index
1 stars

An indicator that builds a rolling volume profile over a configurable window of recent candles and plots the Value Area High, Value Area Low and Point of Control. Settings include the lookback length, the percentage of volume treated as the value area, a smoot

Indicator v6 VolumeSupport & resistance
Updated 1 year ago · None stated GitHub repository of Rolling Volume Area Indicator

2 Supertrend

by ktg0413
1 stars

Calculates and plots two Supertrend lines with different sensitivity settings alongside a 200-period EMA baseline on the price chart. The fast Supertrend uses a smaller ATR multiplier to capture short-term price momentum, while the slow Supertrend uses a large

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

Hotzones

by feliperazeek
1 stars

Hotzones identifies and plots bullish and bearish order block liquidity zones directly on the price chart. It draws colored boxes for active liquidity ranges along with average price levels. The indicator dynamically removes mitigated zones when price crosses

Indicator v6 Support & resistanceSMC / ICT / price action
Updated 1 year ago · None stated GitHub repository of Hotzones

FRK OHLC Statistics

by murdrae
1 stars

FRK OHLC Statistics is an overlay indicator that draws key Open, High, Low, and Wick level lines on the price chart from up to five customizable timeframes. It allows traders to monitor historical reference points across intraday, daily, weekly, and monthly pe

Indicator v6 Support & resistance Repaints
Updated 1 year ago · None stated GitHub repository of FRK OHLC Statistics
1 stars

A statistics table on the price chart that counts how many recent candles closed up, down or flat and shows the share of each as a directional bias. In Standard mode it uses a fixed lookback; in Daily, Weekly or Monthly mode it counts candles since the session

Indicator v6 Screeners & dashboards
Updated 1 year ago · MIT GitHub repository of QuantMarket Lab Directional Dashboard

An overlay with Turkish labels that detects XABCD harmonic patterns, including Gartley, Bat, Butterfly, Crab, Deep Crab, Shark and Cypher. In automatic mode it scans pivots over a lookback window and scores each match against a minimum percentage; in manual mo

Indicator v5 Support & resistance Repaints
Updated 1 year ago · MIT GitHub repository of Harmonic Pattern Manual and Auto

ATR Exit Indicator

by Shifrozy
1 stars

Plots ATR-based trailing exit levels on the price chart. It tracks the highest and lowest close over a lookback window, 200 bars by default, and sets a long exit level at three ATR below the high and a short exit level at three ATR above the low. Labels and al

Indicator v6 Volatility & bands
Updated 1 year ago · None stated GitHub repository of ATR Exit Indicator
1 stars

ATR Retracement EMA Signals identifies momentum setups by detecting large candle expansions relative to Average True Range, followed by brief price retracements and moving average crossovers. When price experiences a strong bar move, retracing within a configu

Indicator v5 Volatility & bandsMoving averages
Updated 1 year ago · MIT GitHub repository of ATR Retracement EMA Signals

Trend Analyzer MACD Enhanced

by panzmoravylab
1 stars

This indicator, drawn in a separate pane, combines MACD, RSI and volume analysis with divergence detection. It compares price extremes over the last twenty bars with MACD and RSI to flag bullish and bearish divergences, colours the background by trend and mark

Indicator v6 Oscillators & momentumDivergence
Updated 1 year ago · None stated GitHub repository of Trend Analyzer MACD Enhanced

Buy 8/13/25E

by dsjrego
1 stars

A price chart overlay that plots a 9-period EMA and a Bollinger upper band and prints buy markers. A standard buy triangle appears on a confirmed green bar that closes above the EMA and above the close two bars back, provided the previous bar was not red. An e

Indicator v5 Moving averagesVolatility & bands
Updated 1 year ago · None stated GitHub repository of Buy 8/13/25E

Neural Network Buy and Sell Signals

by solskjaeralesithio
1 stars

This indicator combines a neural network signal grading engine with moving average and trading session filters directly on the price chart. It plots buy and sell signal labels based on momentum, volatility, and trend conditions evaluated across selectable cand

Indicator v6 AI / machine learningMoving averages

Llama P2P

by lappingio
1 stars

A session and levels overlay that draws boxes for the Sydney, Asia and London sessions in New York time with optional labels, plus a Fibonacci retracement of the session range. It also draws horizontal lines for the current and true day open, previous day, wee

Indicator v6 Sessions & timeSupport & resistance Repaints
Updated 1 year ago · None stated GitHub repository of Llama P2P

CCE ORB

by ylohnitram
1 stars

Marks the opening range of the US stock session on the price chart. The range starts at 9:30 New York time and lasts a set number of minutes, 15 by default, with optional extension levels projected from it. A setting limits the display to the morning or to the

Indicator v5 Sessions & timeBreakout
Updated 1 year ago · None stated GitHub repository of CCE ORB

Reversal Signals

by turnupdigital
1 stars

An indicator on the price chart that looks for candle reversal setups over a lookback of 12 candles and requires confirmation within a few further candles, optionally backed by volume above its 20 bar average. A trend moving average, selectable as SMA, EMA, WM

Indicator v6 Candlestick patternsMoving averages
Updated 1 year ago · None stated GitHub repository of Reversal Signals

IVY Indicator

by vinodliyanage
1 stars

A chart-overlay indicator that plots a 9-period EMA and converts the absolute distance between the close and the EMA into a confidence value using a sigmoid curve with fixed fitted constants. A buy triangle appears when price is above the EMA and the value mee

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

This indicator calculates the average high-to-low range of a user-selected number of prior candles on a chosen timeframe. It plots bullish and bearish target lines from the current candle range on the price chart and can extend those lines by a set number of b

Indicator v6 Volatility & bandsSupport & resistance Repaints
Updated 1 year ago · MIT GitHub repository of ACR(Average Candle Range) With Targets

ICT Levels

by JamestheBuildrCodes
1 stars

An overlay that marks the opening price at five New York clock times each day: 12 AM, 8:30 AM, 9:30 AM, 2 PM and 6 PM. For the current day only, each time gets a horizontal line at that bar's open and a text label to the right, and the previous day's lines are

Indicator v6 Sessions & timeSupport & resistance
Updated 1 year ago · None stated GitHub repository of ICT Levels

Detects bullish and bearish order blocks using pivot highs and lows and draws them as boxes on the price chart. Settings define the minimum and maximum block size, the pivot left and right bar counts, the maximum number of historic blocks kept, and a lookback

Indicator v5 SMC / ICT / price actionSupport & resistance

Premium 3

by Abishek-Tharu99
1 stars

A multi-tool overlay indicator on the price chart. It offers reversal buy and sell markers, oversold and overbought shading, a trend ribbon, optional reversal bands and three moving average support and resistance lines. It can also show higher-timeframe liquid

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 1 year ago · None stated GitHub repository of Premium 3

Super AI Binary Bot

by 12345678798
1 stars

This indicator generates reversal signals based on simple candlestick comparisons over a user-defined lookback period. A bullish signal triggers when both the current and historical candles close higher while the current low is lower than the past low, and vic

Indicator v5 Candlestick patterns Repaints
Updated 1 year ago · None stated GitHub repository of Super AI Binary Bot
1 stars

An overlay indicator that marks price breaks confirmed by a volume surge. A break is when price moves past the recent high or low by a set percentage, direction selectable, on volume above its average. Optional confirmations are a retest, RSI and MACD momentum

Indicator v6 BreakoutVolume Archived
Updated 1 year ago · MIT GitHub repository of High Volume Momentum Strategy
1 stars

This indicator finds pivot highs and lows with an adjustable detection length and margin, then draws buyside and sellside liquidity zones and level lines on the price chart. Zones can be coloured separately and given their own margin. Optional liquidity voids

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 1 year ago · None stated GitHub repository of Buyside & Sellside Liquidity

Swing Trading Indicator

by armaandamani
1 stars

A separate-pane indicator built for crypto swing and day trading with an external bot. It plots a Stochastic RSI, a MACD with very long periods for the medium-term trend, and a Money Flow Index, and also uses two Bollinger Band sets for oversold entries and ex

Indicator v6 Oscillators & momentumVolatility & bands Repaints
Updated 1 year ago · None stated GitHub repository of Swing Trading Indicator

SMC Dashboard

by minik28
1 stars

An early skeleton of a dashboard intended to support the LuxAlgo smart money concepts indicator. It declares a multi-timeframe trend row for 1, 5, 15 and 60 minutes and a table for long and short setup checks covering liquidity grab, CHoCH, order block and fai

Indicator v5 SMC / ICT / price actionScreeners & dashboards
Updated 1 year ago · None stated GitHub repository of SMC Dashboard

Liquidity Zones

by MarcosACH
1 stars

Liquidity Zones highlights bars where volume is above a multiple of its moving average while short-term price volatility is below half of the average volatility. Matching bars are shaded as zones, with optional labels showing the zone volume in units or curren

Indicator v6 VolumeSupport & resistance
Updated 1 year ago · None stated GitHub repository of Liquidity Zones

Consolidation Zones

by MarcosACH
1 stars

Consolidation Zones draws boxes over periods when price stays inside a band around a simple moving average. A zone forms when every close in the last minimum-zone-length bars sits within one ATR of the average. Overlapping zones are extended and merged, and zo

Indicator v6 Volatility & bandsSupport & resistance
Updated 1 year ago · None stated GitHub repository of Consolidation Zones
1 stars

Three Bar Reversal Pattern marks bullish and bearish three-candle reversals. A bullish pattern is two down candles followed by an up candle closing above the first candle's open; the bearish pattern is the mirror image. Optional filters require volume above it

Indicator v6 Candlestick patternsVolume
Updated 1 year ago · None stated GitHub repository of Three Bar Reversal Pattern

Market Structure

by MarcosACH
1 stars

Market Structure plots swing highs and swing lows, found as the highest or lowest bar within a configurable window, and marks change of character events when the close breaks the latest swing level in the opposite direction. Pivot colors, visibility and the nu

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 1 year ago · None stated GitHub repository of Market Structure

Trend Detector

by MarcosACH
1 stars

Trend Detector can plot up to three moving averages, each with its own type (SMA, EMA, RMA, WMA or VWMA), length, source and timeframe, defaulting to 15, 60 and 240 minutes. A table lists whether each selected average is trending up or down. An option waits fo

Indicator v5 TrendMoving averages
Updated 1 year ago · None stated GitHub repository of Trend Detector

Triple SMA

by ceteongvanness
1 stars

This Pine Script v6 indicator calculates and plots three simple moving averages directly on the main price chart. It displays a 20-period short-term SMA, a 50-period medium-term SMA, and a 200-period long-term SMA using distinct line colors. The script offers

Indicator v6 TrendMoving averages
Updated 1 year ago · None stated GitHub repository of Triple SMA

Buy and Sell Signal Combo

by Mr-Madhuranga
1 stars

An indicator on the price chart that merges three signal sources into one buy and one sell marker. A buy appears when RSI is below 30 and MACD crosses above its signal line, when the 50 EMA crosses above the 200 EMA, or when price closes above the highest high

Indicator v5 Oscillators & momentumBreakout
Updated 1 year ago · None stated GitHub repository of Buy and Sell Signal Combo

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