Pine Library · 7,612 open-source scripts

Free TradingView Indicators (page 128)

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

Gold Centered Key Zones

by alboogycOdR
6 stars

This indicator plots horizontal dotted lines at evenly spaced key prices and a translucent rectangle centered on each line. The user sets the first and last level, the spacing between them, and how far each zone extends above and below its line. Drawing runs o

Indicator v5 Support & resistance
Updated 7 months ago · None stated GitHub repository of Gold Centered Key Zones

Highlight Month

by g-moe
3 stars

Highlight Month is a simple chart overlay indicator that shades the chart background during the first five weeks of the calendar year. It checks whether the current bar falls within week numbers one through five, highlighting the period corresponding to Januar

Indicator v5 Sessions & time
Updated 5 months ago · None stated GitHub repository of Highlight Month

Calculates and plots Anchored VWAP curves on the price chart based on specific user-selected event timestamps or standard periodic intervals such as daily, weekly, and monthly levels. It features customizable bands around the VWAP lines, configurable using per

Indicator v5 VolumeSupport & resistance Repaints
Updated 8 months ago · None stated GitHub repository of Anchored VWAP Pinch & Handoff, Intervals, and Signals

HV Roll Multi Rare

by nishpa800
1 stars

A rolling high-volume event counter that marks clusters of rare volume peaks on the price chart. It tracks five rare tiers, from all-time high volume to 4000, 3000, 2000 and 1000 bar highs, across three lanes each, and signals when a set number of events occur

Indicator v5 Volume
Updated 2 months ago · None stated GitHub repository of HV Roll Multi Rare

Historical Bar Match

by mikeyhu70
1 stars

This indicator compares the colour pattern of the latest bars, green or red by close, with up to a thousand bars of history. It looks for earlier matches and shows what followed them in a dashboard table on the chart, listing the matched dates and bars. Lookba

Indicator v5 Candlestick patternsScreeners & dashboards
Updated 6 months ago · None stated GitHub repository of Historical Bar Match

CYBR-tracker

by Allen1212
303 stars

This overlay indicator marks ARK Invest activity on the CYBR price chart. With the ETF input set to ALL, it draws a green buy label below the bar dated 16 January 2020, using the text Buy and a same-day count of X1. The script does not calculate price indicato

Indicator v4
Updated 2 years ago · None stated GitHub repository of CYBR-tracker
261 stars

This indicator plots multiple auto-multiplying Keltner Channels across different lookback lengths (5, 10, 25, 50, 100, and 200 periods) directly on the main price chart. It calculates exponential moving averages and range-based band offsets, dynamically adjust

Indicator v4 Volatility & bandsMoving averages
Updated 4 years ago · None stated GitHub repository of [RS] Simple Forecast - Keltner Worms
114 stars

Calculates normalized reversal metrics across up to ten Forex currency pairs using user-selected moving average methods, including HarmonicMA, EMA, SMA, or WMA. The indicator identifies overbought, oversold, and mean-crossing conditions using a configurable th

Indicator v4 Screeners & dashboardsMean reversion
Updated 1 year ago · None stated GitHub repository of Multi-Pair Trend Reversal Widget

This indicator computes the InPhase and Quadrature components of the Hilbert Transform Phasor using Ehlers' FIR filter algorithm. It processes the input source (default HLC3) through smoothing, detrender, and phase shift steps to generate the components. Plots

Indicator v6 Oscillators & momentum
Updated 4 weeks ago · Apache-2.0 GitHub repository of Ehlers Hilbert Transform Phasor Components

Example 5

by be-thomas
65 stars

This indicator retrieves Heikin Ashi candle data for the current symbol and plots the low price of the Heikin Ashi candles directly on the price chart. It uses the security function to fetch the low value from a Heikin Ashi ticker for the chart's active timefr

Indicator v4 Candlestick patterns
Updated 6 days ago · GPL-3.0 GitHub repository of Example 5
47 stars

This indicator calculates the Spearman rank correlation coefficient between two series: a selected price source from the active chart and a price source from a secondary ticker symbol. Over a customizable lookback period, it ranks the values within a sliding w

Indicator v6
Updated 8 months ago · MIT GitHub repository of Spearman Rank Correlation (SPEARMAN)

ICT ORB

by alboogycOdR
6 stars

ICT ORB draws the opening range for a chosen session and marks breakout conditions on the price chart. It can require relative volume, a volume spike, a liquidity sweep, displacement, trend alignment, an order block, and higher-timeframe bias before a fair-val

Indicator v5 SMC / ICT / price actionBreakout
Updated 7 months ago · None stated GitHub repository of ICT ORB

The Historical Vol MA Band Indicator calculates volatility bands around a simple moving average using 52-week high and low data from the weekly timeframe. It plots upper, middle, and lower bands on the main price chart along with optional trailing stop-loss le

Indicator v5 Volatility & bandsMoving averages
Updated 5 months ago · None stated GitHub repository of Historical Vol MA Band Indicator

AR Forecast Scatterplot

by regalouisei
2 stars

This indicator plots an AR forecast on the price chart using the selected source. It computes autocorrelation between close and time across multiple lookback lengths to identify the strongest trend, then generates forecast results. Results appear as a scatter

Indicator v5 Trend
Updated 8 months ago · None stated GitHub repository of AR Forecast Scatterplot

Volume Accumulation (VA)

by mushroom-men-Trading
2 stars

This indicator calculates and plots a cumulative volume accumulation line in a separate pane. For each bar, it computes the bar midpoint between high and low, subtracts the midpoint from the close price, and multiplies the difference by the bar volume before a

Indicator v6 Volume
Updated 9 months ago · None stated GitHub repository of Volume Accumulation (VA)

Fractal Mirror Levels

by morindok
1 stars

Fractal Mirror Levels identifies swing highs and swing lows using multi-bar fractal logic and projects mirrored horizontal support and resistance levels across the price chart. Users select two interactive points directly on the chart to establish a reference

Indicator v5 Support & resistance
Updated 7 weeks ago · None stated GitHub repository of Fractal Mirror Levels
1 stars

Bearish-only overlay indicator that plots 36 sell-side detection markers on the price chart. It combines high-volume candles, standard deviation displacement and a PBJ trend filter, with a revised price-spike relative volume ladder in this build. Toggles switc

Indicator v5 VolumeBreakout
Updated 2 months ago · None stated GitHub repository of HV+D PBJ Bearish New RVOL v1.0

Key Levels

by mikeyhu70
1 stars

A Pine Script v5 indicator that draws support and resistance zones on the price chart from recent pivot highs and lows. Zone width is based on ATR times a multiplier, capped by a maximum percentage, and overlapping zones can be aligned and extended to the righ

Indicator v5 Support & resistanceVolatility & bands
Updated 6 months ago · None stated GitHub repository of Key Levels

Value

by ivansoft
1 stars

An indicator in a separate pane that works with traded value, volume times the mid price. It shows single bar values, levels derived from them, values from higher timeframes of one day and one week, cumulative volume over eight, twenty-four and forty-eight bar

Indicator v5 VolumeSupport & resistance Repaints
Updated 1 year ago · None stated GitHub repository of Value

DANE-tracker

by Allen1212
303 stars

DANE-tracker is a Pine Script v4 overlay that marks dated purchase events on the DANE price chart. With the ETF input set to ALL, the only available choice, it places green labels below the bars on 16 January 2020 and 22 January 2020, each reading a buy with a

Indicator v4
Updated 2 years ago · None stated GitHub repository of DANE-tracker

[RS] Splinter Analysis

by ricardosantos79
261 stars

This indicator calculates rolling extreme price levels across a user-specified lookback length and plots them in a separate indicator pane. It includes custom loop functions to evaluate highest and lowest values alongside their corresponding bar indices, as we

Indicator v4 Support & resistance
Updated 4 years ago · None stated GitHub repository of [RS] Splinter Analysis
99 stars

This indicator calculates John Ehlers' Hilbert Transform sine wave from a chosen price source, defaulting to hlc3. It smooths price, estimates the dominant cycle with a homodyne discriminator, clamps that period between 6 and 50 bars, and extracts phase with a

Indicator v6 Oscillators & momentum
Updated 4 weeks ago · Apache-2.0 GitHub repository of Ehlers Hilbert Transform SineWave

Example 6

by be-thomas
65 stars

This overlay indicator requests the low of a Heikin Ashi series built from the symbol’s regular session and plots that value on the price chart. It builds a regular-session ticker, converts it with heikinashi, then reads the low through security on the chart’s

Indicator v4 Candlestick patterns
Updated 6 days ago · GPL-3.0 GitHub repository of Example 6
47 stars

This indicator applies a square root transform to a user-selected price series and plots the result in a separate pane. The function returns na when the source is negative and raises a runtime error if the source is na. The only input chooses the series, defau

Indicator v6
Updated 8 months ago · MIT GitHub repository of Square Root Transformation (SQRT)

Money Flow Index

by TWODS-CAPITAL
37 stars

Calculates and plots the standard Money Flow Index oscillator using typical price and volume data over a user-defined lookback period. It renders in a separate indicator pane with reference lines at 80 for overbought, 50 for the center line, and 20 for oversol

Indicator v5 Oscillators & momentumVolume
Updated 3 years ago · MIT GitHub repository of Money Flow Index

This indicator plots a Stochastic RSI in a separate pane on a 0–100 scale. It computes RSI of the source, then a stochastic of that RSI, and smooths the K and D lines with a selectable average including SMA, EMA, and JMA-style options. It marks midline and K/D

Indicator v6 Oscillators & momentum
Updated 3 days ago · MIT GitHub repository of Stoch RSI Advanced [WavesUnchained]

ICT ORB

by alboogycOdR
6 stars

This overlay indicator marks a session opening range on the price chart and filters breakouts with relative volume. Session type, duration, and optional custom start time set the range, and historical ranges can stay on the chart. Full mode can require a liqui

Indicator v5 BreakoutSMC / ICT / price action
Updated 7 months ago · None stated GitHub repository of ICT ORB
3 stars

Calculates and plots key session reference levels directly on the price chart, specifically pre-market high and low alongside prior day high and low. Users can adjust how levels project across historical data, toggle line labels, customize spacing, and show pr

Indicator v5 Support & resistanceSessions & time
Updated 5 months ago · None stated GitHub repository of Hooplah High Low + Table
2 stars

Calculates an ATR-based z-score oscillator and normalized volume across multiple assets, screening up to 21 symbols simultaneously. Outlier detection filters extreme standard deviations before normalizing values between 0 and 100. It visualizes the comparative

Indicator v5 Screeners & dashboardsVolatility & bands
Updated 8 months ago · None stated GitHub repository of ATR OSC and Volume Screener

Volume Force (VF)

by mushroom-men-Trading
2 stars

Volume Force (VF) is an indicator that calculates the force of volume behind price movements. It measures price change multiplied by volume and smooths the result using an EMA-style formula with adjustable smoothing period. The script plots the VF line on a se

Indicator v6 VolumeOscillators & momentum
Updated 9 months ago · None stated GitHub repository of Volume Force (VF)

HV+D PBJ Bearish v1

by nishpa800
1 stars

Bearish half of a split HV+D and PBJ indicator, drawn on the price chart. It plots 36 sell-side markers that combine high-volume candles, standard deviation displacement and a PBJ moving average and Supertrend filter. Each pattern, such as the DDDD, DDD, Foxtr

Indicator v5 VolumeBreakout
Updated 2 months ago · None stated GitHub repository of HV+D PBJ Bearish v1

Price Alert 2024

by mikeyhu70
1 stars

An overlay that measures how far the current bar has moved from its open, as a percentage, and sends a text alert when the move reaches one of five levels, 2.5, 5, 7.5, 10 and 12.5 percent by default. Both up and down moves are measured by size, and only the h

Indicator v5 Repaints
Updated 6 months ago · None stated GitHub repository of Price Alert 2024

Visible Fibonacci

by ivansoft
1 stars

An indicator that draws Fibonacci retracement levels on the price chart for the part of the chart currently in view. It can base the levels on the high and low of the visible range or on zig zag pivots found within it, with a pivot length setting and an option

Indicator v5 Support & resistance Repaints
Updated 1 year ago · None stated GitHub repository of Visible Fibonacci

DDD-tracker

by Allen1212
303 stars

DDD-tracker is an overlay indicator that marks historical ARK Invest purchases and sales of DDD on the price chart. It draws green buy labels below bars and red sell labels above bars at fixed dates, with a count of how many ARK funds traded the stock that day

Indicator v4
Updated 2 years ago · None stated GitHub repository of DDD-tracker

[RS]Donchian Fans

by ricardosantos79
261 stars

This indicator plots Donchian Channel boundary lines along with dynamic fan projections directly on the price chart. It calculates the highest high, lowest low, and median price over a customizable lookback period. Whenever price establishes a new channel high

Indicator v4 Support & resistanceTrend
Updated 4 years ago · None stated GitHub repository of [RS]Donchian Fans

MultiIndicator

by capissimo
114 stars

MultiIndicator combines multiple technical indicators into a single separate pane to save chart space. It calculates and displays market regime detection based on ordinary least squares regression, a Holt exponential smoothing crossover, normalized RSI, ADX, a

Indicator v4 Oscillators & momentumTrend
Updated 1 year ago · None stated GitHub repository of MultiIndicator

This indicator implements John Ehlers' Hilbert Transform Trend vs Cycle Mode algorithm cross-checked against TA-Lib standards. It analyzes dominant cycle periods, phase changes, and sine wave components from a price input to determine whether the market is tre

Indicator v6 Trend
Updated 4 weeks ago · Apache-2.0 GitHub repository of Ehlers Hilbert Transform Trend vs Cycle Mode (HT_TRENDMODE)

Example 6.1

by be-thomas
65 stars

This indicator retrieves Heikin Ashi candle data for the current symbol and timeframe using the security function. It constructs and plots custom Heikin Ashi candlesticks, coloring them green when the Heikin Ashi close is greater than or equal to the Heikin As

Indicator v4 Candlestick patterns
Updated 6 days ago · GPL-3.0 GitHub repository of Example 6.1
47 stars

Calculates and plots the square root mathematical transformation of a chosen price or series input in a separate pane. This non-linear mapping compresses larger values, helping to stabilize variance across price data. The calculation includes built-in safety c

Indicator v6
Updated 8 months ago · MIT GitHub repository of Square Root Transformation (SQRT)

Morning Doji Star - Bull

by TWODS-CAPITAL
37 stars

The Morning Doji Star Bullish indicator identifies a three-candle bullish reversal pattern consisting of a long black candle, a gapping doji, and a long white candle closing above the midpoint of the first body. It applies optional trend filtering using SMA50

Indicator v5 Candlestick patterns
Updated 3 years ago · MIT GitHub repository of Morning Doji Star - Bull

Structural Wave Field is a market structure indicator that evaluates structural flow, internal wave energy, and structural integrity across multiple time horizons. It combines momentum, velocity, and acceleration with wave segmentation and Elliott-context sequ

Indicator v6 SMC / ICT / price actionTrend
Updated 3 days ago · MIT GitHub repository of Structural Wave Field [WavesUnchained]

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