Pine Library · 7,612 open-source scripts

Free TradingView Indicators (page 133)

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

KC Combo Bear 44 v4.1

by nishpa800
1 stars

Bearish-only overlay indicator with forty-four combination markers built on Keltner Channel logic, drawn on the price chart. Letter codes on markers show which members fired, such as PB, PBJ, RC, RS, pocket pivot and displacement, and colours are reserved for

Indicator v5 Volatility & bandsVolume
Updated 2 months ago · None stated GitHub repository of KC Combo Bear 44 v4.1
1 stars

Draws supply and demand zones on the price chart from engulfing candle patterns. A lookback setting decides when a zone is invalidated and a tolerance margin allows small breaches. Algorithm modes range from looser to strict engulfing, with a threshold for big

Indicator v5 Support & resistanceCandlestick patterns
Updated 6 months ago · None stated GitHub repository of Supply and Demand Zones V4

Gaps

by ivansoft
1 stars

An indicator on the price chart that finds price gaps between bars and draws a box over each one, green for up gaps and red for down gaps. A gap must exceed a minimum size set as a percentage of the recent average bar range. Each box extends to the right until

Indicator v5 Support & resistance
Updated 1 year ago · None stated GitHub repository of Gaps

ESLT-tracker

by Allen1212
303 stars

ESLT-tracker plots historical ARK Invest purchase and sale labels on the ESLT price chart. Green labels mark buys below bars and red labels mark sells above bars at fixed calendar timestamps. The ETF input switches between all recorded activity and the ARKQ or

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

Function: Event Statistics

by ricardosantos79
261 stars

Function: Event Statistics tracks and analyzes price behavior following specific market events. By default, it detects when price crosses above a ten-period simple moving average and records price changes, peak high, and minimum low values over a user-defined

Indicator v4 Moving averages
Updated 4 years ago · None stated GitHub repository of Function: Event Statistics
114 stars

This indicator modifies LazyBear's Squeeze Momentum indicator by scaling momentum values between 0 and 1. It identifies market compression when Bollinger Bands contract inside Keltner Channels, plotting colored dots at the 0.5 baseline to show whether a squeez

Indicator v4 Volatility & bandsOscillators & momentum
Updated 1 year ago · None stated GitHub repository of Squeeze Momentum Indicator Mod

The Ehlers SSF Detrended Synthetic Price indicator calculates a detrended price series using dual Super Smooth Filters based on a dominant cycle period. It subtracts a half-cycle super smooth filter from a quarter-cycle super smooth filter to isolate cyclical

Indicator v6 Oscillators & momentum
Updated 4 weeks ago · Apache-2.0 GitHub repository of Ehlers SSF Detrended Synthetic Price (SSFDSP)

Green Bars Count

by be-thomas
65 stars

This simple documentation indicator calculates and plots the cumulative number of green candlestick bars across the chart. It identifies bars where the closing price is greater than or equal to the opening price, then increments a persistent variable on every

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

Ultrasmooth Filter (USF) calculates a noise-reduced trend curve using a two-pole infinite impulse response (IIR) filter structure with momentum enhancement. Designed to minimize lag while suppressing price fluctuations, it computes efficiently with constant O(

Indicator v6 Moving averagesTrend
Updated 8 months ago · MIT GitHub repository of Ultrasmooth Filter (USF)

On Neck - Bearish

by TWODS-CAPITAL
37 stars

This indicator identifies the bearish On Neck candlestick pattern on the price chart. The pattern is a two-bar continuation setup occurring during a downtrend, where a long black (bearish) candle is followed by a small white (bullish) candle that opens below t

Indicator v5 Candlestick patterns
Updated 3 years ago · MIT GitHub repository of On Neck - Bearish

This indicator detects market accumulation phases and bottom formations over time rather than generating single-point buy signals. It evaluates five scoring components: trend loss, range formation, volatility compression, liquidity behavior, and early bullish

Indicator v6 TrendVolatility & bands
Updated 3 days ago · MIT GitHub repository of Vein: Accumulation Phase 4H [WavesUnchained]
6 stars

This indicator plots Candle Range Theory setups on the price chart. It marks session-based CRT ranges for one-hour or four-hour models and labels buy and sell signals after a liquidity sweep. Entry logic either waits for a market structure shift plus a fair va

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 7 months ago · None stated GitHub repository of Institutional CRT Engine Dual Mode
2 stars

The Detrended Rhythm Oscillator combines a Detrended Price Oscillator with ZigZag pivot logic to measure market cycle lengths and dominant swing rhythms. It plots detrended oscillations in a separate pane along with dynamic distance labels between swing highs

Indicator v5 Oscillators & momentumSupport & resistance Repaints
Updated 8 months ago · None stated GitHub repository of Detrended Rhythm Oscillator
1 stars

This indicator calculates a Fibonacci-scaled sinusoidal wave cycle derived from two user-selected chart reference points. Plotted directly on the main price chart, it projects an extended trendline alongside moving averages adjusted by normal and inverse slope

Indicator v5 TrendSupport & resistance
Updated 7 weeks ago · None stated GitHub repository of Hyper Fibo System {Morindok}

NO.1 V1 Fast Confirmed Flip

by vedkanani123
1 stars

A price-chart indicator that builds an adaptive core line by blending a Kaufman-style adaptive average with a zero-lag EMA, then surrounds it with ratcheting ATR trail rails. A buy label means the active side flips long and a sell label flips short, committed

Indicator v6 TrendVolatility & bands
Updated 2 months ago · None stated GitHub repository of NO.1 V1 Fast Confirmed Flip

KC Combo Bear 44 v4.4

by nishpa800
1 stars

Bearish-only overlay indicator with forty-four combination markers built on Keltner Channel logic, drawn on the price chart. Letter codes on markers show which members fired, such as PB, PBJ, RC, RS, pocket pivot and displacement. This version removes the per-

Indicator v5 Volatility & bandsVolume
Updated 2 months ago · None stated GitHub repository of KC Combo Bear 44 v4.4
1 stars

Draws supply and demand zones on the price chart from engulfing candle patterns, in a version labelled stable by its file name. A lookback setting decides when a zone is invalidated and a tolerance margin allows small breaches. Algorithm modes range from loose

Indicator v5 Support & resistanceCandlestick patterns
Updated 6 months ago · None stated GitHub repository of Supply and Demand Zones V4

HighLow

by ivansoft
1 stars

Experimental overlay that tracks the high, low and open of different periods, such as session, day and week, using varip variables and chart points, and draws dotted lines and labels at the periods' extremes. Colour, text size, line width and line style are ad

Indicator v5 Support & resistanceSessions & time Repaints
Updated 1 year ago · None stated GitHub repository of HighLow

EVGN-tracker

by Allen1212
303 stars

EVGN-tracker places dated labels on the EVGN price chart to mark ARK Invest buy and sell activity. Green labels sit below bars for buys and red labels sit above bars for sells. Each label shows Buy or Sell and an X count of how many ARK ETFs traded that day. A

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

This indicator computes a single flattened index from multi-dimensional array coordinates. The function walks matching index and limit arrays and applies a nested offset formula so higher dimensions wrap into one integer. Inputs set the x, y, and z coordinates

Indicator v4
Updated 4 years ago · None stated GitHub repository of Function: Multi Dimension Indexer
114 stars

This indicator plots a zigzag-like moving average and a stepline on the price chart. It fetches previous bar prices from two input timeframes using the security function with gaps off and lookahead on. The zzoid function creates a smoothed curve via cumulative

Indicator v4 Moving averagesTrend Repaints
Updated 1 year ago · None stated GitHub repository of Straightened Price Curve
99 stars

This indicator plots John Ehlers Super Passband Filter in a separate pane. It builds a wide-band passband oscillator by differencing two z-transformed exponential moving averages that use a smoothing factor of five divided by the period. It also plots the root

Indicator v6 Oscillators & momentum
Updated 4 weeks ago · Apache-2.0 GitHub repository of Ehlers Super Passband Filter (SPBF)

Green Candle Close

by be-thomas
65 stars

This script checks whether the current bar closes higher than it opens, representing a bullish green candle. When a green candle occurs, the indicator assigns and plots the closing price in a separate pane; otherwise, it outputs a null value. Designed as a bas

Indicator v4 Candlestick patterns
Updated 6 days ago · GPL-3.0 GitHub repository of Green Candle Close

This indicator calculates the statistical variance of a price series over a user-defined lookback window and plots it in a separate pane. Using a ring buffer alongside running sums and squared sums, it computes sample dispersion efficiently without recalculati

Indicator v6 Volatility & bands
Updated 8 months ago · MIT GitHub repository of Variance, Dispersion or Spread (VARIANCE)

Open Interest

by TWODS-CAPITAL
37 stars

Open Interest requests the chart symbol's open-interest series, or an overridden symbol, and plots it in a separate pane. It builds a ticker ending in _OI and loads open, high, low, and close. On intraday futures charts the request uses the daily timeframe. Wh

Indicator v5 Volume
Updated 3 years ago · MIT GitHub repository of Open Interest

Vein Execution 15m is an execution and timing overlay designed to complement higher-timeframe context. It monitors lower-timeframe micro structure shifts, liquidity sweeps, rejection candles, engulfing patterns, and follow-through momentum. The script calculat

Indicator v6 TrendSMC / ICT / price action
Updated 3 days ago · MIT GitHub repository of Vein: Execution 15m [WavesUnchained]

Hidden Relative Strength

by eddiebelaval
7 stars

The Hidden Relative Strength indicator normalizes price changes of a symbol by dividing them by ATR volatility, then subtracts the normalized move of a benchmark symbol such as QQQ to derive raw relative strength. This value is accumulated over time, scaled by

Indicator v5 Volatility & bandsOscillators & momentum
Updated 3 months ago · None stated GitHub repository of Hidden Relative Strength
6 stars

Institutional CRT Engine v5.0 identifies institutional trading setups using Candle Range Theory (CRT) across user-selected session anchor bars in Asia, London, and New York. It plots session range boxes directly on the price chart and monitors for liquidity sw

Indicator v5 SMC / ICT / price actionSessions & time
Updated 7 months ago · None stated GitHub repository of Institutional CRT Engine v5.0

Diluted EPS Signal

by regalouisei
2 stars

This indicator tracks fundamental earnings data directly on the price chart. It retrieves consensus earnings-per-share estimates and reported diluted EPS using financial data requests. When a new earnings report is detected, it calculates the percentage surpri

Indicator v5
Updated 8 months ago · None stated GitHub repository of Diluted EPS Signal

Volatility of Volatility (VOV)

by mushroom-men-Trading
2 stars

The Volatility of Volatility (VOV) indicator measures the rate of variation in price volatility over time. It first computes a rolling standard deviation of the chosen price source over a specified initial lookback period. It then calculates a second standard

Indicator v5 Volatility & bands
Updated 9 months ago · None stated GitHub repository of Volatility of Volatility (VOV)

Hypercube 4D

by morindok
1 stars

This indicator draws a four-dimensional hypercube (tesseract) geometric projection directly on the price chart. The user selects two anchor points via interactive chart inputs to define the time and price boundaries. The script calculates a center coordinate,

Indicator v5
Updated 7 weeks ago · None stated GitHub repository of Hypercube 4D

NO.1 V1 Final Regime Router

by vedkanani123
1 stars

An overlay signal indicator that routes between three exclusive modes: a trend mode using Supertrend flips or Donchian continuation, a range fade mode, and a transition mode that trades breakouts of a finished Asia range. Shock candles, gaps, micro-ranges and

Indicator v6 Sessions & timeTrend Repaints
Updated 2 months ago · None stated GitHub repository of NO.1 V1 Final Regime Router

KC Combo Bear Tick

by nishpa800
1 stars

Tick-chart bearish overlay indicator with 23 combination markers that mix Keltner Channel logic with other engines. Inputs cover a VWMA base line, an ATR Supertrend, a PB and J filter, Keltner bands with slope thresholds, pocket pivot size, and a displacement

Indicator v5 Volatility & bandsVolume Repaints
Updated 2 months ago · None stated GitHub repository of KC Combo Bear Tick
1 stars

Draws supply and demand zones on the price chart from engulfing candle patterns. A lookback setting decides when a zone is invalidated, a tolerance margin allows small breaches, and a long term mode keeps more zones. Algorithm modes range from looser to strict

Indicator v5 Support & resistanceCandlestick patterns
Updated 6 months ago · None stated GitHub repository of Supply and Demand Zones V4

HighLow

by ivansoft
1 stars

An indicator on the price chart that tracks the high, low, open and close of calendar periods, with session, day, week, month and year contexts, and keeps a short history of recent periods. It handles Moscow Exchange futures sessions with their main and evenin

Indicator v5 Support & resistanceSessions & time
Updated 1 year ago · None stated GitHub repository of HighLow

EXPC-tracker

by Allen1212
303 stars

This Pine Script indicator plots labels on the price chart to mark ARK Invest ETF buy and sell events for a selected stock. The main input setting is ETF type selection, defaulting to ALL or specific ETFs such as ARKQ. Labels appear below the chart price for e

Indicator v4 Support & resistanceSMC / ICT / price action
Updated 2 years ago · None stated GitHub repository of EXPC-tracker

My Script

by ricardosantos79
261 stars

This indicator is a Pine Script v4 drawing experiment that stores ten recent price changes and a rounded RSI reading in arrays. It plots those values as circles in a separate pane, using plot offsets to place points horizontally and a gradient function to colo

Indicator v4 Oscillators & momentum
Updated 4 years ago · None stated GitHub repository of My Script

Volume & Dollar Bars

by capissimo
114 stars

This indicator implements basic volume and dollar bar thresholds on the main price chart. It accumulates either traded volume or dollar volume (volume multiplied by price) until reaching a user-defined delta threshold. When the accumulated value crosses the de

Indicator v4 Volume
Updated 1 year ago · None stated GitHub repository of Volume & Dollar Bars
99 stars

This indicator calculates John Ehlers Trendflex in a separate pane. It pre-filters the chosen source with a two-pole SuperSmoother, sums the difference between the current filtered value and recent filtered values as a cumulative slope, then divides that slope

Indicator v6 Oscillators & momentumTrend
Updated 4 weeks ago · Apache-2.0 GitHub repository of Ehlers Trendflex (TRENDFLEX)

History referencing

by be-thomas
65 stars

This Pine Script v4 indicator demonstrates history referencing on array values versus series values. It stores the close in a one-element float array, then plots the previous value of that array element beside the previous close. It also plots a 20-period simp

Indicator v4 Moving averages
Updated 6 days ago · GPL-3.0 GitHub repository of History referencing
47 stars

This indicator plots a rolling linearly weighted average of a chosen source on the price chart. Weights rise from the oldest bar to the newest, matching a weighted moving average, and a circular buffer updates the sums in constant time. During warm-up the deno

Indicator v6 Moving averages
Updated 8 months ago · MIT GitHub repository of Weighted Average (WAVG)

Vein Exhaustion is a price-chart indicator that scores how stretched a directional move is before structure confirms a turn. It builds separate bull and bear scores from consecutive directional bars, EMA distance in ATR units, RSI and MFI extremes, volume-base

Indicator v6 TrendOscillators & momentum
Updated 3 days ago · MIT GitHub repository of Vein: Exhaustion [WavesUnchained]

MA & BB Levels [ST]

by eddiebelaval
7 stars

This indicator draws horizontal daily and weekly levels on the price chart from two exponential moving averages and a Bollinger-style envelope. It calculates EMA 9, EMA 20, and an EMA-based band with a configurable standard-deviation width, then requests those

Indicator v5 Moving averagesVolatility & bands Repaints
Updated 3 months ago · None stated GitHub repository of MA & BB Levels [ST]

Key Levels Pro

by alboogycOdR
6 stars

The script plots horizontal lines on the price chart for key trading levels, including previous day high and low, daily session ranges split into Asia and London, and gaps labeled NDOG daily, NWOG weekly, and NMOG monthly. It optionally shows wick rejection sy

Indicator v5 Support & resistanceSessions & time
Updated 7 months ago · None stated GitHub repository of Key Levels Pro

This indicator combines MACD calculations, Bollinger Bands, and Keltner Channels to identify trend conditions and momentum shifts. It plots colored MACD lines, dot signals, and a squeeze cloud in a separate pane to highlight overbought or oversold momentum lev

Indicator v5 Oscillators & momentumVolatility & bands Repaints
Updated 5 months ago · None stated GitHub repository of Jerry Buy Sell Indicator Premium
2 stars

Divergence-Support/Resistence combines dual Zigzag pivot detection with momentum oscillators to identify divergence patterns and plot support and resistance levels directly on the price chart. Users can select from various built-in oscillators, such as RSI, CC

Indicator v5 DivergenceSupport & resistance Repaints
Updated 8 months ago · None stated GitHub repository of Divergence-Support/Resistence

Volatility Ratio (VR)

by mushroom-men-Trading
2 stars

The Volatility Ratio (VR) indicator measures short-term price range relative to average historical volatility. It calculates the current bar's True Range and divides it by an Average True Range (ATR) computed via Wilder's smoothed moving average with initial b

Indicator v5 Volatility & bands
Updated 9 months ago · None stated GitHub repository of Volatility Ratio (VR)

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