Pine Library · 7,612 open-source scripts

Free TradingView Indicators (page 139)

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

SMI Ergodic Indicator

by TWODS-CAPITAL
37 stars

The SMI Ergodic Indicator calculates and displays the True Strength Index oscillator alongside an exponential moving average signal line in a separate pane. It evaluates price momentum through double smoothing across configurable short and long periods. Users

Indicator v5 Oscillators & momentum
Updated 3 years ago · MIT GitHub repository of SMI Ergodic Indicator

This overlay indicator scans confirmed swing pivots for non-overlapping five-point Wolfe Wave wedges. It scores each candidate from 0 to 100 using contraction, channel traversal, apex, the fifth-point zone, risk/reward, timing, symmetry, and leg purity, then p

Indicator v6 Support & resistance
Updated 3 days ago · MIT GitHub repository of Wolfe Wave Scanner Pro [WavesUnchained]
3 stars

Calculates and plots multi-timeframe linear regression channels with customizable deviation bands directly on the price chart. The indicator overlays channels from multiple higher timeframes, ranging from intraday minutes to daily charts. Users can independent

Indicator v5 TrendSupport & resistance
Updated 5 months ago · None stated GitHub repository of LinReg MTF More TFs

Grid Bot Simulator

by regalouisei
2 stars

Calculates evenly spaced grid levels across a user-defined price range bounded by upper and lower limits. It triggers simulated buy signals when price drops across a grid level and sell signals when price crosses upward through a level, evaluated via bar extre

Indicator v5 Support & resistanceMean reversion
Updated 8 months ago · None stated GitHub repository of Grid Bot Simulator

Statistical Trailing Stop

by vedkanani123
1 stars

An overlay indicator that draws a trailing stop whose distance comes from a statistical distribution of recent price movement. Data length sets the sample window, distribution length sets how much history is normalised, and a base level setting picks one of fo

Indicator v6 Volatility & bandsTrend
Updated 2 months ago · None stated GitHub repository of Statistical Trailing Stop

KC Combo SR v5.3

by nishpa800
1 stars

Combines bullish and bearish signals in one price chart overlay, built on a Keltner Channel, an ATR supertrend and several volume and displacement detectors. Markers flag candles where those detectors line up with a support or resistance structure. Version 5.3

Indicator v5 Support & resistanceVolume
Updated 2 months ago · None stated GitHub repository of KC Combo SR v5.3
1 stars

Calculates a VWAP-based pivot on a higher timeframe, either chosen automatically or set by the user, and extends it with up to fifteen Fibonacci multiples as horizontal levels on the price chart. Settings cover VWAP length, how many past periods to plot, line

Indicator v4 Support & resistance
Updated 6 months ago · None stated GitHub repository of VWAP Expanded Pivots Alt2

GRMN-tracker

by Allen1212
303 stars

GRMN-tracker overlays historical ARK Invest buy and sell labels on the Garmin price chart. With the ETF input set to ALL, it marks each recorded trade date with a red sell or green buy label and a count of how many ARK funds traded that day. Selecting ARKX ins

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

Test-008-Fusion

by ricardosantos79
261 stars

This indicator stores recent price extremes in Pine arrays and plots their averages on the price chart. It splits a fixed-length array into a lows half and a highs half. When price makes a new high or low over that length, it inserts the price at the front of

Indicator v4 Support & resistance
Updated 4 years ago · None stated GitHub repository of Test-008-Fusion
99 stars

Calculates and plots Fractal Chaos Bands directly on the price chart. The indicator identifies local fractal swing highs and lows, tracking the highest fractal high and lowest fractal low across a user-specified lookback period using monotonic deques. The resu

Indicator v6 Volatility & bandsSupport & resistance
Updated 4 weeks ago · Apache-2.0 GitHub repository of Fractal Chaos Bands (FCB)

My Script

by be-thomas
65 stars

This indicator plots visual character markers directly on the price chart to identify bearish candles. It evaluates each bar and displays a symbol whenever the opening price is greater than the closing price. The script includes no user-configurable input para

Indicator v4 Candlestick patterns
Updated 6 days ago · GPL-3.0 GitHub repository of My Script

SMI Ergodic Oscillator

by TWODS-CAPITAL
37 stars

This indicator plots the SMI Ergodic Oscillator in a separate pane. It calculates the True Strength Index of close prices using the short and long lengths, smooths that result with an exponential moving average signal, and plots the difference as a histogram.

Indicator v5 Oscillators & momentum
Updated 3 years ago · MIT GitHub repository of SMI Ergodic Oscillator
13 stars

This indicator plots a squeeze-momentum histogram in a separate pane. It compares Bollinger Bands with Keltner Channels to mark squeeze on, squeeze off, or no squeeze, and colors the zero line by that state. The histogram is a linear regression of close agains

Indicator v5 Oscillators & momentumVolatility & bands
Updated 1 year ago · None stated GitHub repository of TradingLatino Abajo A001

This indicator overlays Wyckoff schematic analysis on the chart, identifying accumulation and distribution phases (A through E) alongside key events like Selling Climax, Automatic Rally, Spring, UTAD, and Sign of Strength. It calculates range quality scores, a

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 3 days ago · MIT GitHub repository of Wyckoff Schematics [WavesUnchained]

LFWD Watermark + Checklist

by eddiebelaval
7 stars

This visual utility overlays a custom motivational watermark and a trading rules checklist directly on the price chart using UI tables. It produces no trading signals or technical calculations. Users can customize the watermark text, font sizes, background col

Indicator v5 Screeners & dashboardsSMC / ICT / price action
Updated 3 months ago · None stated GitHub repository of LFWD Watermark + Checklist

NY SMC Suite Pro

by alboogycOdR
6 stars

NY SMC Suite Pro is an overlay indicator that visualizes Smart Money Concepts (SMC) and custom intraday trading sessions on the price chart. It detects and plots order blocks, fair value gaps, liquidity pools, market structure breaks (BOS and CHoCH), and chang

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 7 months ago · None stated GitHub repository of NY SMC Suite Pro

This indicator calculates and plots a linear regression channel directly on the price chart using a combination of Weighted Moving Average (WMA) and Simple Moving Average (SMA) values to derive slope and intercept. It projects a center regression line along wi

Indicator v5 TrendSupport & resistance
Updated 5 months ago · None stated GitHub repository of LinReg MTF More TFs EXPORT ONLY

This indicator detects harmonic patterns using a Zigzag pivot engine and derives trend-following entry and stop levels relative to key pattern legs. It overlays dynamic trailing levels on the price chart to assist in tracking market direction following pattern

Indicator v5 TrendSupport & resistance Repaints
Updated 8 months ago · None stated GitHub repository of Harmonic Patterns Based Trend Follower

Mirror Oscilator

by morindok
1 stars

The Mirror Oscilator calculates a specialized oscillator in a separate pane by analyzing fractal periods and dynamic symmetry levels. It computes fractal turning points based on high and low prices over a specified period, derives symmetrical price relationshi

Indicator v5 Oscillators & momentumSupport & resistance
Updated 7 weeks ago · None stated GitHub repository of Mirror Oscilator

StealthTrail SuperTrend

by vedkanani123
1 stars

An ATR SuperTrend indicator on the price chart with an adaptive multiplier that scales with volatility relative to its average. Flips use a cushion measured in ATR and a signal cooldown, and can require an RSI threshold and optional volume. Risk presets draw a

Indicator v6 TrendVolatility & bands
Updated 2 months ago · None stated GitHub repository of StealthTrail SuperTrend

KC Combo v2

by nishpa800
1 stars

Draws a Keltner Channel and ATR supertrend on the price chart and marks candles where gated combinations of pullback, displacement and volume detectors fire together. Inputs set the base moving average, channel length, ATR multiplier and displacement threshold

Indicator v5 Volatility & bandsTrend
Updated 2 months ago · None stated GitHub repository of KC Combo v2

Cycle Swing Momentum

by mikeyhu70
1 stars

This indicator plots an adaptive swing momentum oscillator in a separate pane, built from custom moving averages and a cycle length setting. It can read an internal lower timeframe, chosen automatically or by hand, to produce a signal line. Optional divergence

Indicator v4 Oscillators & momentumDivergence Repaints
Updated 6 months ago · None stated GitHub repository of Cycle Swing Momentum

GRMNU Tracker

by Allen1212
303 stars

GRMNU Tracker plots historical trade activity by ARK Invest for the GRMNU ticker directly onto the price chart using chart labels. It marks specific historical dates with buy or sell markers along with the count of participating ARK funds. Users can filter by

Indicator v4
Updated 2 years ago · None stated GitHub repository of GRMNU Tracker

Test-011-Game

by ricardosantos79
261 stars

This experimental indicator implements a cellular automaton game on an 8x8 grid using Pine Script arrays. It evaluates the north, south, east, and west neighbors of each cell with toroidal wrapping and updates active states according to survival and reproducti

Indicator v4
Updated 4 years ago · None stated GitHub repository of Test-011-Game

This Pine Script indicator computes the FSI using Ehlers Fourier series analysis on the close price. It applies fundamental and harmonic bandpass filters, derives quadrature components for phase shift, estimates signal power over the cycle period, and reconstr

Indicator v6 Oscillators & momentum
Updated 4 weeks ago · Apache-2.0 GitHub repository of FSI - Ehlers Fourier Series Indicator

My Script

by be-thomas
65 stars

This indicator serves as a basic drawing demonstration from the official documentation, plotting directly on the price chart. On every bar, it draws a line segment connecting the previous bar's low price to the current bar's high price using the native line dr

Indicator v4
Updated 6 days ago · GPL-3.0 GitHub repository of My Script

Smoothed Moving Average

by TWODS-CAPITAL
37 stars

The Smoothed Moving Average indicator calculates and plots a smoothed moving average directly on the price chart. It initializes using a simple moving average over the user-defined length and recursively updates using previous average values to reduce noise an

Indicator v5 Moving averagesTrend
Updated 3 years ago · MIT GitHub repository of Smoothed Moving Average
13 stars

TradingLatino Abajo B002 is a momentum and volatility indicator that calculates a Squeeze Momentum oscillator in a separate pane. It compares Bollinger Bands and Keltner Channels to detect squeeze conditions while calculating momentum using linear regression b

Indicator v5 Oscillators & momentumVolatility & bands
Updated 1 year ago · None stated GitHub repository of TradingLatino Abajo B002
9 stars

ZigZag Core calculates and overlays market structure swing high and low points using customizable pivot depth, minimum pivot spacing, and flexible reversal filtering modes such as Percentage, ATR, or Hybrid. It plots connecting swing legs, developing legs, mar

Indicator v6 Support & resistanceTrend Repaints
Updated 3 days ago · MIT GitHub repository of ZigZag Core [WavesUnchained]

NY SMC Suite Pro

by alboogycOdR
6 stars

This overlay indicator maps New York smart-money concepts on the price chart. It highlights three killzone sessions, draws order blocks and fair value gaps, and notes change-in-state-of-delivery events plus market-structure shifts. A statistics dashboard score

Indicator v5 SMC / ICT / price actionSessions & time
Updated 7 months ago · None stated GitHub repository of NY SMC Suite Pro

Litt Volume ++

by g-moe
3 stars

The Litt Volume ++ indicator measures relative volume by comparing raw volume against a 100-period exponential moving average baseline. It calculates a relative volume ratio and smooths it with a 20-period EMA to identify volume intensity levels. Rendered in a

Indicator v5 Volume
Updated 5 months ago · None stated GitHub repository of Litt Volume ++
2 stars

This indicator automatically detects and visualizes regular and inverse Head and Shoulders patterns on the main price chart. It identifies potential pattern structures by scanning pivot high and pivot low points according to user-defined left and right bar set

Indicator v5 Support & resistance
Updated 8 months ago · None stated GitHub repository of Head & Shoulders S/R Regular

Mirror Oscillator Pro

by morindok
1 stars

Mirror Oscillator Pro is a separate-pane oscillator that reflects price around confirmed pivot highs and lows and a selectable baseline. It maps the mirrored value into a dynamic 0 to 100 range, smooths it with an exponential moving average, and plots that lin

Indicator v5 Oscillators & momentum
Updated 7 weeks ago · None stated GitHub repository of Mirror Oscillator Pro
1 stars

A SuperTrend-style indicator on the price chart that can tune its ATR length and multiplier automatically from a profile of the instrument over a lookback window. It adds multi-timeframe confluence with selectable strictness and an optional machine-learning si

Indicator v6 TrendVolatility & bands
Updated 2 months ago · None stated GitHub repository of StealthTrail SuperTrend ML Pro

KC Combo v3

by nishpa800
1 stars

Draws a Keltner Channel and ATR supertrend on the price chart and marks candles where gated combinations of pullback, displacement and volume detectors fire together. Inputs set the base moving average, channel length, ATR multiplier and displacement threshold

Indicator v5 Volatility & bandsTrend
Updated 2 months ago · None stated GitHub repository of KC Combo v3

D/W/M POC VAH VAL Area

by mikeyhu70
1 stars

A Pine Script v4 indicator that plots the point of control, value area high and value area low for daily, weekly and monthly periods on the price chart. It shows both the developing and the previous period, with optional shaded areas, target lines and text lab

Indicator v4 Support & resistanceVolume
Updated 6 months ago · None stated GitHub repository of D/W/M POC VAH VAL Area

GWRE-tracker

by Allen1212
303 stars

GWRE-tracker is an overlay indicator that marks recorded ARK Invest purchases and sales of Guidewire Software on the price chart. With the ETF setting on ALL, it places fixed dated labels above or below bars that read Buy or Sell and show an X1 count of funds

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

Test-015-Sort_Parameter

by ricardosantos79
261 stars

This utility indicator demonstrates array sorting functionality in Pine Script version 4 by managing a ten-element array of recent price values. It continuously updates the array with the latest close, copies and sorts the collection based on a user-defined bo

Indicator v4
Updated 4 years ago · None stated GitHub repository of Test-015-Sort_Parameter
99 stars

This indicator computes the cumulative distribution function of a gamma distribution for a price series and plots the result in a separate pane. It first min-max normalizes the source over a lookback window, then scales that value by the rate parameter and eva

Indicator v6
Updated 4 weeks ago · Apache-2.0 GitHub repository of Gamma Distribution CDF (GAMMADIST)

My Script

by be-thomas
65 stars

This indicator serves as a minimal documentation example that demonstrates label drawings in Pine Script v4. It creates a new visual label at the bar index and high price of each bar directly on the main price chart. The script does not calculate technical ind

Indicator v4
Updated 6 days ago · GPL-3.0 GitHub repository of My Script

Spinning Top Black

by TWODS-CAPITAL
37 stars

This overlay indicator detects a black spinning top on the price chart. It treats a candle as a match when the body is bearish, both the upper and lower shadows are at least 34 percent of the full range, and the body is not small enough to count as a doji. On

Indicator v5 Candlestick patterns
Updated 3 years ago · MIT GitHub repository of Spinning Top Black
13 stars

Calculates and plots a smoothed variation of the Squeeze Momentum indicator in a separate pane. It identifies market compression and expansion states by comparing Bollinger Bands with Keltner Channels, while tracking momentum via linear regression. Settings al

Indicator v5 Oscillators & momentumVolatility & bands
Updated 1 year ago · None stated GitHub repository of TradingLatino Abajo D002

This indicator calculates a custom ZigZag engine directly on the price chart to identify market structure and classic chart patterns. It automatically detects ABC corrections, symmetrical and sloped triangles, Wolfe waves, and Sperandeo 1-2-3 reversal patterns

Indicator v6 Support & resistanceTrend Repaints
Updated 3 days ago · MIT GitHub repository of ZigZag Patterns [WavesUnchained]
7 stars

The MACD RSI EMA Aggressive indicator generates momentum and trend-following signals on the price chart. It combines a MACD crossover or crossunder with an RSI threshold filter, price location relative to an Exponential Moving Average, volume expansion above a

Indicator v5 TrendOscillators & momentum
Updated 3 months ago · None stated GitHub repository of MACD RSI EMA Aggressive + ATR SLTP

NY SMC Suite Pro

by alboogycOdR
6 stars

NY SMC Suite Pro is a price-chart indicator that marks New York killzone sessions and smart-money structure. It shades the 714 AM, NY Open, and afternoon windows, and it plots order blocks and fair value gaps on a selectable analysis timeframe. Presets switch

Indicator v5 SMC / ICT / price actionSessions & time
Updated 7 months ago · None stated GitHub repository of NY SMC Suite Pro

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