Pine Library · 7,612 open-source scripts

Free TradingView Indicators (page 148)

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

Sphere

by morindok
1 stars

A drawing tool that renders a wireframe sphere on the price chart. The user picks two points by time and price, and the script scales a fixed set of precomputed outline coordinates into the box between them, drawing each ring as a blue polyline once on the las

Indicator v5
Updated 7 weeks ago · None stated GitHub repository of Sphere

LSPD-tracker

by Allen1212
303 stars

This overlay indicator marks historical ARK Invest purchases of LSPD on the price chart. It places green buy labels below bars at fixed calendar dates, each showing a buy count of one. An ETF input switches between all recorded ARK activity and ARKF only; the

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

This indicator applies a natural logarithmic transformation to a chosen price series and plots the result in a separate pane. For each bar it returns the natural logarithm of the source when the value is positive, and returns a missing value when the source is

Indicator v6
Updated 4 weeks ago · Apache-2.0 GitHub repository of Logarithmic Transformation (LOG)

Price vs Past

by be-thomas
65 stars

This indicator draws a one-row heatmap table at the bottom center of the price chart. On the last bar it compares the current high with each of the previous lookback highs. A cell is bull-colored when the current high is above that past high and bear-colored o

Indicator v4 Screeners & dashboards
Updated 6 days ago · GPL-3.0 GitHub repository of Price vs Past

MTF Charting

by g-moe
3 stars

This indicator plots multi-timeframe candlestick sequences directly on the price chart using boxes and lines. It projects historical candlesticks from up to five customizable higher timeframes alongside the current price action. Users can configure the timefra

Indicator v5 Candlestick patterns Repaints
Updated 5 months ago · None stated GitHub repository of MTF Charting
2 stars

Plots key period levels including Open, High, Low, and Equilibrium (EQ) for multi-timeframe intervals such as yearly and quarterly periods directly on the price chart. To prevent chart clutter, the script checks across active levels and suppresses duplicates.

Indicator v5 Support & resistance
Updated 8 months ago · None stated GitHub repository of No Duplicates Interval Range & EQ

Spiral Map

by morindok
1 stars

The Spiral Map indicator calculates spiral patterns on a price chart using a symmetric price level within user-defined time ranges. It generates pre-range and post-range spirals of Archimedean, Logarithmic, or Fibonacci types, scaled according to width and hei

Indicator v5 Support & resistance
Updated 7 weeks ago · None stated GitHub repository of Spiral Map

VOB Ladder Watch

by nishpa800
1 stars

A read-only companion to the volume order block tools. It builds bullish zones for six sensitivity tiers from moving average crossovers, tracks the latest active zone midpoint of each, and checks whether the zones from the lowest tier upward sit at strictly as

Indicator v5 SMC / ICT / price actionVolume
Updated 2 months ago · None stated GitHub repository of VOB Ladder Watch

MASS-tracker

by Allen1212
303 stars

MASS-tracker places fixed historical labels on the price chart for ARK Invest purchases and sales of this stock. Green labels below bars mark buys and red labels above bars mark sells, each showing an X count of how many ARK ETFs traded the name that day. The

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

The sigmoid indicator applies the logistic function to a source series, transforming any real-valued input into the range between 0 and 1. It calculates the output using the formula S(x) = 1 / (1 + exp(-k * (x - x0))), where k is the steepness factor and x0 is

Indicator v6 Moving averages
Updated 4 weeks ago · Apache-2.0 GitHub repository of Logistic Function (SIGMOID)

MTF Cipher Dots

by g-moe
3 stars

MTF Cipher Dots plots colored dots on the price chart based on WaveTrend oscillator calculations across multiple timeframes. It generates bull and bear signals by comparing WaveTrend values to thresholds, with dots appearing when conditions are met above or be

Indicator v5 Oscillators & momentumVolatility & bands
Updated 5 months ago · None stated GitHub repository of MTF Cipher Dots
2 stars

Order Chain [Kioseff Trading] is a realtime order flow indicator that tracks live price changes and volume flow in a separate pane. By utilizing intrabar persistent variables, it constructs an order chain visualization showing tick delta statistics and order v

Indicator v5 VolumeSupport & resistance Repaints
Updated 8 months ago · None stated GitHub repository of Order Chain [Kioseff Trading]
1 stars

Finds volume order blocks, zones where heavy volume built up around a moving average crossover, and draws them on the price chart as support or resistance areas. Six sensitivity tiers each produce buy and sell tier signals with mutually exclusive handling, plu

Indicator v5 SMC / ICT / price actionVolume
Updated 2 months ago · None stated GitHub repository of VOB v11 Full Tick-Friendly

MCRB-tracker

by Allen1212
303 stars

This indicator overlays historical ARK Invest purchase and sale markers for MCRB on the price chart. It places green buy labels below bars and red sell labels above bars at fixed dates, with text that counts how many ARK ETFs traded the stock that day. An ETF

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

Lowest Value (LOWEST)

by mihakralj
99 stars

This indicator plots the lowest value of a chosen source over a rolling lookback. It uses a monotonic deque so each bar updates the window minimum without scanning the whole period. A period input sets the lookback length, and a source input selects the series

Indicator v6 Support & resistance
Updated 4 weeks ago · Apache-2.0 GitHub repository of Lowest Value (LOWEST)

This overlay indicator marks the high and low of the 19:30 SAST Wednesday bar and draws a separate pair of horizontal lines for the first through fifth Wednesday of the month. Each Wednesday has its own high and low colours and line widths, and each pair can b

Indicator v5 Support & resistanceSessions & time

MTF EFI

by g-moe
3 stars

This indicator calculates Elder's Force Index (EFI) across multiple configurable timeframes and displays resulting signals directly on the price chart. Users can select the smoothing length, choose the moving average type (EMA, SMA, VWMA, RMA, or HMA), and tog

Indicator v5 VolumeOscillators & momentum Repaints
Updated 5 months ago · None stated GitHub repository of MTF EFI
2 stars

Oscillator Workbench — Chart plots a configurable blend of two built-in oscillators and an optional external oscillator on the price chart. It draws a weighted oscillator line and a reference moving average, coloring both by successive up or down states. Users

Indicator v5 Oscillators & momentumMoving averages
Updated 8 months ago · None stated GitHub repository of Oscillator Workbench — Chart [LucF]
1 stars

This indicator calculates dynamic symmetry lines by reflecting lagged price points across upper and lower boundary bands. Users can choose between Bollinger Bands or Donchian Channels to define the baseline boundaries. The script generates alternating BUY and

Indicator v5 Volatility & bandsSupport & resistance
Updated 7 weeks ago · None stated GitHub repository of Spiral Symmetric Signals
1 stars

Tick-chart-friendly overlay indicator extending the volume order block engine with multi-zone and cluster detection. Six sensitivity tiers build zones from fast and slow EMA crossovers, and the default view shows only VLB bull and bear markers, which need zone

Indicator v5 Support & resistanceVolume
Updated 2 months ago · None stated GitHub repository of VOB v11 Multiples Tick-Friendly

META-tracker

by Allen1212
303 stars

This indicator overlays historical ARK Invest buy and sell events for META on the price chart. It places green labels below bars for purchases and red labels above bars for sales, with a same-day count of how many selected ARK ETFs traded the stock. The ETF in

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

Lunar Phase (LUNAR)

by mihakralj
99 stars

This indicator calculates the lunar phase for each bar from the bar open timestamp using orbital elements, perturbation terms, and epoch corrections. It plots a continuous phase value from 0 at new moon to 1 at full moon in a separate pane. It marks new moon n

Indicator v6
Updated 4 weeks ago · Apache-2.0 GitHub repository of Lunar Phase (LUNAR)

Protected array size

by be-thomas
65 stars

This indicator creates a float array of user-specified size in Pine Script v4 and fills it with sequential integer indices from zero. It then plots the array size on a separate pane. The main input setting controls the array size, which determines the length o

Indicator v4
Updated 6 days ago · GPL-3.0 GitHub repository of Protected array size

Percent Rank

by regalouisei
2 stars

The Percent Rank indicator plots the percent rank of closing prices for ten different cryptocurrency symbols in columns within a separate pane. It calculates the rank relative to previous values over a user-defined length period, defaulting to 60 bars. Columns

Indicator v5 Oscillators & momentumSupport & resistance
Updated 8 months ago · None stated GitHub repository of Percent Rank
1 stars

Finds volume order blocks, zones built from heavy volume around moving average crossovers, and draws them on the price chart. This multiples-only edition focuses on combined events: strict ladder patterns across six sensitivity tiers, multi-zone coincidences,

Indicator v5 SMC / ICT / price actionVolume
Updated 2 months ago · None stated GitHub repository of VOB v11 Multiples Tick-Friendly

MGA-tracker

by Allen1212
303 stars

This Pine Script indicator plots ARK Invest trade labels directly on the price chart for selected stocks. Labels show buy or sell events with share volumes and ETF weights, including counts for multiple ETFs trading the same day. The main input setting allows

Indicator v4 Support & resistanceScreeners & dashboards
Updated 2 years ago · None stated GitHub repository of MGA-tracker

MA Envelope (MAE)

by mihakralj
99 stars

The MA Envelope indicator calculates upper and lower channel bands shifted by a user-defined percentage around a baseline moving average. It supports Simple Moving Average, Exponential Moving Average, and Weighted Moving Average calculation types. The script p

Indicator v6 Moving averagesSupport & resistance
Updated 4 weeks ago · Apache-2.0 GitHub repository of MA Envelope (MAE)

Range Analysis

by be-thomas
65 stars

Analyzes price action over a rolling five-day lookback window calculated from the current real-time timestamp. The indicator identifies bars that fall within the five-day period, computes the highest high across that window, and plots a marker at that price le

Indicator v4 Support & resistance Repaints
Updated 6 days ago · GPL-3.0 GitHub repository of Range Analysis

Supertrend

by alboogycOdR
6 stars

This indicator calculates and plots the standard Supertrend bands directly on the price chart to determine trend direction. It computes volatility bands using either Pine's built-in RMA-based ATR or an SMA-based true range, adjusting dynamically with close pri

Indicator v4 TrendVolatility & bands
Updated 7 months ago · None stated GitHub repository of Supertrend

MTF EFI Test

by g-moe
3 stars

This overlay indicator calculates a smoothed Elder Force Index and compares it across up to seven user-selected timeframes. Each timeframe can be switched on or off and given separate buy and sell threshold values. The force index length and the smoothing meth

Indicator v5 Oscillators & momentumVolume Repaints
Updated 5 months ago · None stated GitHub repository of MTF EFI Test

Performance

by regalouisei
2 stars

The Performance indicator calculates percentage price changes across multiple customizable higher timeframes, displaying the results in an on-screen dashboard table overlay. Users can toggle up to nine timeframes, including weekly, monthly, and multi-month per

Indicator v5 Screeners & dashboards Repaints
Updated 8 months ago · None stated GitHub repository of Performance

VOB v11.10

by nishpa800
1 stars

Detects volume order block zones from six moving average pairs at different sensitivity lengths and draws them on the price chart. It marks ladder patterns across the six tiers, multi-zone coincidences on a single candle, tier clusters and all-time-high-volume

Indicator v5 SMC / ICT / price actionVolume
Updated 2 months ago · None stated GitHub repository of VOB v11.10

MGIC-tracker

by Allen1212
303 stars

The MGIC-tracker is a TradingView indicator that overlays ARK Invest trade records onto stock price charts. It plots buy and sell labels at the exact timestamp of each transaction, showing share volume and ETF weight. Users select a specific ETF type via setti

Indicator v4 Support & resistanceVolume
Updated 2 years ago · None stated GitHub repository of MGIC-tracker
99 stars

This script calculates Bill Williams' Market Facilitation Index (BW MFI) to evaluate price movement efficiency relative to trading volume. It computes the range between the high and low prices divided by volume for each bar, returning zero when volume is zero.

Indicator v6 VolumeVolatility & bands
Updated 4 weeks ago · Apache-2.0 GitHub repository of Market Facilitation Index (MARKETFI)
3 stars

Calculates and projects multi-timeframe supply and demand zones directly on the price chart. The indicator identifies pivot points and renders colored zone boxes across configurable timeframes ranging from 5 minutes to 1 week. Settings allow users to adjust pi

Indicator v5 Support & resistanceSMC / ICT / price action Repaints
Updated 5 months ago · None stated GitHub repository of MTF Supply/Demand

Point of Control

by regalouisei
2 stars

This indicator tracks and plots the Point of Control (POC) directly on the price chart by distributing volume across discrete price increments. It can reset calculations daily, weekly, or after a custom number of bars. Additional options allow plotting histori

Indicator v5 VolumeSupport & resistance
Updated 8 months ago · None stated GitHub repository of Point of Control
1 stars

A momentum oscillator in a separate pane that compares upward and downward candle force over a lookback of 21 bars, scaled from minus 100 to plus 100, then smooths it with a short average and adds a signal line and histogram. Overbought and oversold levels def

Indicator v5 Oscillators & momentum
Updated 7 weeks ago · None stated GitHub repository of Spiral Trend Exhaustion (STE) Pro

VOB v11.10 Tick

by nishpa800
1 stars

Detects volume order block zones from six moving average pairs at different sensitivity lengths and draws them on the price chart. It marks ladder patterns across the six tiers, multi-zone coincidences on a single candle, tier clusters and all-time-high-volume

Indicator v5 SMC / ICT / price actionVolume
Updated 2 months ago · None stated GitHub repository of VOB v11.10 Tick

MKFG-tracker

by Allen1212
303 stars

This overlay indicator marks historical ARK Invest purchases and sales of MKFG on the price chart. It places dated labels below bars for buys and above bars for sells, including a count of how many selected funds traded that day. The ETF input switches between

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

Mean %Error (MPE)

by mihakralj
99 stars

Mean %Error measures the average percentage difference between an input price series and a predicted target, set by default to its Exponential Moving Average. It calculates individual bar percentage errors and computes a sliding average over a customizable loo

Indicator v6 Moving averagesVolatility & bands
Updated 4 weeks ago · Apache-2.0 GitHub repository of Mean %Error (MPE)

RMA in for loop

by be-thomas
65 stars

This indicator sums two running moving averages of the close and plots that total in a separate pane. A for loop from 1 to 2 adds rma of close for each length into a running sum, then plots the result. There are no user inputs, so the lengths stay fixed at 1 a

Indicator v4 Moving averages
Updated 6 days ago · GPL-3.0 GitHub repository of RMA in for loop
3 stars

This indicator draws multi-timeframe supply and demand zones as boxes on the price chart. It uses a swing length to locate pivots and a width setting to set zone thickness, and it can optionally add one-minute and five-minute zones. Users can allow overlapping

Indicator v5 Support & resistanceSMC / ICT / price action Repaints
Updated 5 months ago · None stated GitHub repository of MTF Supply/Demand v2

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