Pine Library · 7,612 open-source scripts

Free TradingView Indicators (page 159)

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

Equivolume Bars

by g-moe
3 stars

Equivolume Bars renders candlestick bodies and wicks using Pine Script box objects directly on the main price chart. It adjusts each bar's horizontal width proportionally to its trading volume relative to a historical lookback sum, making high-volume bars appe

Indicator v4 Volume
Updated 5 months ago · None stated GitHub repository of Equivolume Bars

WDAY-tracker

by Allen1212
303 stars

WDAY-tracker displays historical ARK Invest buy and sell transactions for Workday Inc. (WDAY) directly on the price chart. The indicator places green labels below the candle for purchases and red labels above the candle for sales, indicating the action and the

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

Williams Fractals

by mihakralj
99 stars

Williams Fractals detects classic five-bar reversal patterns directly on the price chart. The indicator calculates up fractals when a candle high exceeds the two preceding and two succeeding highs, and down fractals when a low is lower than the surrounding low

Indicator v6 Support & resistance
Updated 4 weeks ago · Apache-2.0 GitHub repository of Williams Fractals
3 stars

Price Action Candles plots the close price in a separate pane. It also defines a helper that turns a number into a fixed-width string from a format pattern, using figure spaces and punctuation spaces so columns of values line up, with an optional leading minus

Indicator v4
Updated 5 months ago · None stated GitHub repository of Price Action Candles

WDI-tracker

by Allen1212
303 stars

WDI Tracker visualizes historical buy and sell transactions executed by ARK Invest on the price chart. It displays trade activity and share volume adjustments, allowing traders to monitor institutional transaction history over time. An input setting enables fi

Indicator v4
Updated 2 years ago · None stated GitHub repository of WDI-tracker
99 stars

This indicator plots the Williams Gator Oscillator in a separate pane. It builds three smoothed moving averages (jaw, teeth, and lips) from a chosen source, shifts each by its offset, and plots two histograms: the absolute gap between jaw and teeth above zero,

Indicator v6 Oscillators & momentumMoving averages
Updated 4 weeks ago · Apache-2.0 GitHub repository of Williams Gator Oscillator (GATOR)

SimpleBot

by g-moe
3 stars

SimpleBot is a Pine Script v4 overlay indicator that stores recent prior-bar opens and closes in rolling arrays and averages each series. It draws two horizontal lines on the price chart, one for the average open and one for the average close, both extended to

Indicator v4 Moving averagesSupport & resistance
Updated 5 months ago · None stated GitHub repository of SimpleBot

WIX-tracker

by Allen1212
303 stars

This indicator visualizes historical purchase and sale transactions made by ARK Invest on the price chart. It plots buy and sell labels corresponding to recorded trade dates, including share volume and ETF weight details depending on the selected settings. The

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

ATR Trailing Stop

by mihakralj
99 stars

Calculates an ATR-based trailing stop overlaid on the price chart to assist with trend identification and stop placement. Using a specified ATR period and multiplier, it projects upper and lower bounds around the closing price. The stop line ratchets up during

Indicator v5 TrendVolatility & bands
Updated 4 weeks ago · Apache-2.0 GitHub repository of ATR Trailing Stop

ATR Trailing

by g-moe
3 stars

Calculates a dynamic trailing stop based on the Average True Range (ATR) and a sensitivity multiplier. It plots the trailing stop directly on the price chart, coloring the line green during uptrends and red during downtrends. Buy and sell labels appear when th

Indicator v4 TrendVolatility & bands
Updated 5 months ago · None stated GitHub repository of ATR Trailing

WKHS-tracker

by Allen1212
303 stars

This indicator plots historical buy and sell transactions executed by ARK Invest ETFs for Workhorse Group Inc. (WKHS) directly on the price chart. It visualizes daily purchase activity with green labels below bars and sales with red labels above bars, includin

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

Beta Convexity

by mihakralj
99 stars

Beta Convexity plots the second difference of a linear regression fitted to the close. It estimates how that fitted series bends over a rolling window and draws the result in a separate pane with a zero reference line. The period input sets the regression leng

Indicator v5
Updated 4 weeks ago · Apache-2.0 GitHub repository of Beta Convexity
3 stars

Blastoise's Indicator draws dynamic support and resistance trend lines on the price chart. It locates swing highs and swing lows with a fixed 20-bar pivot and joins the last three of each into rising lower lines and falling upper lines. A line is kept only whe

Indicator v4 TrendSupport & resistance
Updated 5 months ago · None stated GitHub repository of Blastoise's Indicator

WORK-tracker

by Allen1212
303 stars

This overlay indicator marks historical ARK Invest purchases and sales of the WORK stock on the price chart. It places green buy labels below bars and red sell labels above bars at fixed dates, with a count of how many selected ARK ETFs traded that day. The ET

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

CSV Feed Reference

by mihakralj
99 stars

CSV Feed Reference is a Pine Script v5 indicator that plots the close price as a blue line in a separate pane. The published source contains no user inputs and no additional calculations, signals, or overlays. The file name and title identify it as a CSV feed

Indicator v5
Updated 4 weeks ago · Apache-2.0 GitHub repository of CSV Feed Reference
3 stars

The Directional Movement Index plots the Average Directional Index (ADX) along with the Positive Directional Indicator (+DI) and Negative Directional Indicator (-DI) in a separate pane. It calculates trend strength and direction from price changes using true r

Indicator v4 TrendOscillators & momentum
Updated 5 months ago · None stated GitHub repository of Directional Movement Index

XLNX-tracker

by Allen1212
303 stars

XLNX-tracker visualizes historical purchase and sale transactions made by ARK Invest funds for Xilinx (XLNX) directly on the price chart. The script plots green labels below price bars for buy transactions and red labels above price bars for sell transactions,

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

Elder Impulse System

by mihakralj
99 stars

Elder Impulse System plots a column series in a separate pane. It compares a 13-period exponential moving average with its previous value and a MACD histogram with its previous value. A rising EMA and rising histogram print 1, a falling EMA and falling histogr

Indicator v5 TrendOscillators & momentum
Updated 4 weeks ago · Apache-2.0 GitHub repository of Elder Impulse System
3 stars

The Divergence Scanner is an indicator that detects divergences using the Hull Moving Average. It calculates the high-low average price as the source and applies a Hull Moving Average with length 21 and a lookback of 2. Users can enable the display of Hull sup

Indicator v4 DivergenceMoving averages
Updated 5 months ago · None stated GitHub repository of Divergence Scanner
99 stars

This Pine Script indicator plots the Geometric Brownian Motion Reference line on a separate pane. It calculates the reference value as the close price multiplied by e raised to the drift parameter, creating a simulated price path under GBM assumptions. The dri

Indicator v5 Volatility & bands
Updated 4 weeks ago · Apache-2.0 GitHub repository of Geometric Brownian Motion Reference

Holt-Winters Channel

by mihakralj
99 stars

This overlay indicator estimates a Holt-Winters-style level, trend, and acceleration from the close, then projects a middle line one step ahead. It tracks a smoothed squared forecast error and multiplies its square root by the multiplier to form upper and lowe

Indicator v5 TrendVolatility & bands
Updated 4 weeks ago · Apache-2.0 GitHub repository of Holt-Winters Channel
3 stars

The OBV MACD Indicator calculates a volume-based momentum oscillator by combining On-Balance Volume with price standard deviation spread. It creates a synthetic price-volume shadow series, smooths it using an Exponential Moving Average, and applies a Moving Av

Indicator v4 VolumeOscillators & momentum
Updated 5 months ago · None stated GitHub repository of OBV MACD Indicator

Rolling Minimum Index

by mihakralj
99 stars

Rolling Minimum Index calculates and plots the bar offset to the lowest closing price over a user-defined lookback window using Pine Script's built-in lowestbars function. Plotted in a separate indicator pane, it outputs a negative integer representing how man

Indicator v5 Support & resistance
Updated 4 weeks ago · Apache-2.0 GitHub repository of Rolling Minimum Index

Squeeze Pro

by mihakralj
99 stars

Squeeze Pro measures market volatility compression by comparing Bollinger Bands against three tiers of Keltner Channels (wide, normal, and narrow). It calculates squeeze intensity based on whether Bollinger Bands fall within these respective channel boundaries

Indicator v5 Volatility & bands
Updated 4 weeks ago · Apache-2.0 GitHub repository of Squeeze Pro

TTM Squeeze

by mihakralj
99 stars

This indicator detects volatility compression by comparing Bollinger Bands with Keltner Channels. It calculates standard deviation and Average True Range over a user-defined period, plotting a binary column in a separate pane. When the Bollinger Band width fal

Indicator v5 Volatility & bandsBreakout
Updated 4 weeks ago · Apache-2.0 GitHub repository of TTM Squeeze

Volatility Stop

by mihakralj
99 stars

The Volatility Stop indicator calculates a trailing stop level based on Average True Range (ATR) to help identify trend direction and reversal levels. It tracks price changes over a user-defined ATR period and multiplier, plotting a green line during uptrends

Indicator v5 Volatility & bandsTrend
Updated 4 weeks ago · Apache-2.0 GitHub repository of Volatility Stop

Volume-Weighted MACD

by mihakralj
99 stars

This indicator plots a volume-weighted MACD in a separate pane. It subtracts a slow volume-weighted moving average of close from a faster one, then smooths that line with an exponential moving average to form the signal. A column histogram shows the gap betwee

Indicator v5 Oscillators & momentumMoving averages
Updated 4 weeks ago · Apache-2.0 GitHub repository of Volume-Weighted MACD

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