Pine Library · 7,612 open-source scripts

Free TradingView Indicators (page 141)

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

1 stars

Mirror Oscillator Signals Only is an overlay indicator that projects Fibonacci wave symmetry and calculates signals based on user-selected chart anchor points and Williams Fractals. The script uses interactive time and price coordinates to establish wave refer

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

Synapse Trail Pro

by vedkanani123
1 stars

A trailing-stop trend indicator on the price chart. The trail is based on an EMA with an ATR band whose multiplier can adapt to volatility, and a ratchet option stops the trail from loosening. Signals receive a quality score and can be filtered by a minimum sc

Indicator v6 TrendVolatility & bands
Updated 2 months ago · None stated GitHub repository of Synapse Trail Pro

Naga Disp v2.1

by nishpa800
1 stars

Marks a candle when a very high volume reading and a large displacement happen on the same bar. Volume tiers compare the bar against lookbacks of 1000, 2000, 3000 and 4000 bars, and displacement compares the candle range to a standard deviation multiple with a

Indicator v5 VolumeSessions & time
Updated 2 months ago · None stated GitHub repository of Naga Disp v2.1

MD Range Finder 3

by mikeyhu70
1 stars

A Pine Script v4 indicator, the base version of the range finder, that locates a price range over a 50-bar period with a delay of three bars and draws baselines at 0, 0.5 and 1 on the price chart. Fibonacci-style extension lines are projected from the range an

Indicator v4 Support & resistance
Updated 6 months ago · None stated GitHub repository of MD Range Finder 3

HIMS Tracker

by Allen1212
303 stars

HIMS Tracker visualizes historical transaction records of ARK Invest for HIMS & Hers Health Inc. directly on the price chart. It uses hardcoded historical trade dates to plot green buy and red sell labels above or below price bars. Selecting specific ETF optio

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

Test-021-Sudo

by ricardosantos79
261 stars

This indicator is an experimental Sudoku helper that runs in a separate pane. It stores an 81-cell grid in arrays, seeds a custom pseudo-random function, and checks whether a proposed value already appears in the same row, column, or box. Inputs set the initia

Indicator v4
Updated 4 years ago · None stated GitHub repository of Test-021-Sudo

HA: Heikin-Ashi

by mihakralj
99 stars

This indicator calculates and plots Heikin-Ashi smoothed candlesticks directly on the price chart. It derives the smoothed close from standard price averages and recursively computes the open, high, and low values. The script does not issue trade signals or al

Indicator v6 Candlestick patternsTrend
Updated 4 weeks ago · Apache-2.0 GitHub repository of HA: Heikin-Ashi

My Script

by be-thomas
65 stars

This indicator draws a single persistent label on the price chart. It creates the label once above the bar at the close, then moves that same label to the current bar index on every bar and sets a tooltip. It does not calculate an oscillator, moving average, o

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

Supertrend

by TWODS-CAPITAL
37 stars

This indicator plots the Supertrend line on the price chart using TradingView's built-in Supertrend calculation. It derives the line from the average true range and a multiplier, then colors an uptrend green and a downtrend red. A light fill sits between the c

Indicator v5 TrendVolatility & bands
Updated 3 years ago · MIT GitHub repository of Supertrend

This overlay indicator draws prior month, week, and day reference levels on the price chart, plus current month levels. It plots prior month high and low, open and close, and point of control, current month high and low and point of control, prior week high an

Indicator v5 Support & resistanceSessions & time

MACD Signals

by g-moe
3 stars

The MACD Signals indicator plots dual Exponential Moving Averages (EMAs) and generates buy and sell signals directly on the price chart based on MACD crossovers filtered by trend context. Users can configure independent EMA and MACD parameter settings for long

Indicator v5 Oscillators & momentumMoving averages
Updated 5 months ago · None stated GitHub repository of MACD Signals

HTF Liquidity Levels

by regalouisei
2 stars

This indicator tracks and draws higher-timeframe liquidity levels directly on the price chart using customizable horizontal lines. It plots upper and lower liquidity reference boundaries across up to five user-configured timeframes, ranging from monthly down t

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 8 months ago · None stated GitHub repository of HTF Liquidity Levels
1 stars

Reflects past swing pivots across a chosen time axis on the price chart. The user selects a mirror time and a ratio; the script records confirmed pivot highs and lows that occurred before that time, using adjustable left and right lengths of five bars. When a

Indicator v5 Support & resistance
Updated 7 weeks ago · None stated GitHub repository of Mirrored Pivots - Time Reflection
1 stars

A short price-chart indicator that plots a 20 and a 50 period EMA and waits for a pullback after each crossover. After the 20 crosses above the 50, it looks for price to touch the 50 and then prints a buy triangle on the next green-closing candle. After a down

Indicator v6 Moving averagesTrend
Updated 2 months ago · None stated GitHub repository of Terilss EMA20-EMA50 Pullback Alert

Naga Disp v2.1 (Tick)

by nishpa800
1 stars

Marks a candle when a very high volume reading and a large displacement happen on the same bar. Volume tiers compare the bar against lookbacks of 1000, 2000, 3000 and 4000 bars, and displacement compares the candle range to a standard deviation multiple with a

Indicator v5 VolumeSessions & time
Updated 2 months ago · None stated GitHub repository of Naga Disp v2.1 (Tick)

MD Range Finder 3 (V2)

by mikeyhu70
1 stars

A Pine Script v4 indicator, a second variant of the range finder, that locates a price range over a 500-bar period and draws baselines at 0, 0.5 and 1 on the price chart, with Fibonacci-style extension lines projected from it. Lines extend to the right by defa

Indicator v4 Support & resistance
Updated 6 months ago · None stated GitHub repository of MD Range Finder 3 (V2)

HLAN-tracker

by Allen1212
303 stars

The HLAN Tracker visualizes ARK Invest trading activity directly on the price chart for the HLAN ticker. It draws historical buy and sell labels positioned by exact bar timestamps to display when ARK funds transacted the stock. Each label indicates the transac

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

Test-023-Mdim

by ricardosantos79
261 stars

This indicator calculates a flattened one-dimensional index from up to three array coordinates and their dimension limits. A function walks matching index and limit arrays and combines them into a single offset, returning na when the arrays are empty or of dif

Indicator v4
Updated 4 years ago · None stated GitHub repository of Test-023-Mdim

Hann FIR Filter (HANN)

by mihakralj
99 stars

This indicator calculates a finite impulse response filter using Hann window coefficients and plots the smoothed series on the price chart. It weights the selected source with a raised-cosine window over the chosen length and divides by the sum of the weights.

Indicator v6 TrendMoving averages
Updated 4 weeks ago · Apache-2.0 GitHub repository of Hann FIR Filter (HANN)

My Script

by be-thomas
65 stars

This script calculates the time difference between consecutive bars to project label placement into the future. On the final bar of the chart, it evaluates the bar interval duration and draws a label three bars ahead of the current bar at the close price using

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

This Pine Script indicator calculates the Opening Range Breakout (ORB) high and low within user-defined New York or London session times. It plots a colored box on the price chart marking the ORB range and its start bar index. After the session ends it detects

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

MACD Signals

by g-moe
3 stars

MACD Signals overlays buy and sell labels on the price chart by combining MACD crossovers with RSI conditions. A buy signal is generated when a bullish MACD crossover occurs within a user-defined bar limit after the RSI dips below an oversold threshold, while

Indicator v5 Oscillators & momentumMoving averages
Updated 5 months ago · None stated GitHub repository of MACD Signals
2 stars

This indicator tracks and visualizes cyclical turning points based on Hurst cycle principles in a separate pane. It identifies confirmed pivot highs or lows across multiple harmonic lengths ranging from half-cycle to 32x cycles. For each cycle length, it calcu

Indicator v5 Support & resistance
Updated 8 months ago · None stated GitHub repository of Hurst Diamond Notation Pivots
1 stars

Mirrored Price Polyline reflects price action across an interactive reference line drawn directly on the price chart. Users select two anchor points with custom time and price coordinates. The script calculates the slope between these points to define a centra

Indicator v5 Support & resistance
Updated 7 weeks ago · None stated GitHub repository of Mirrored Price Polyline

The Bear Crossover

by vedkanani123
1 stars

A simple moving average crossover indicator drawn on the price chart. It plots an 11-period and a 51-period exponential moving average. A BUY label appears when the fast line crosses above the slow line on a bullish candle, and a SELL label appears when it cro

Indicator v6 Moving averagesTrend
Updated 2 months ago · None stated GitHub repository of The Bear Crossover

MD Range Finder 3 (V3)

by mikeyhu70
1 stars

A Pine Script v4 indicator, a third variant of the range finder, that locates a price range over a 500-bar period and draws baselines at 0, 0.5 and 1 on the price chart, with Fibonacci-style extension lines projected from it. Lines extend to the right by defau

Indicator v4 Support & resistance
Updated 6 months ago · None stated GitHub repository of MD Range Finder 3 (V3)

HO-tracker

by Allen1212
303 stars

HO-tracker is an overlay indicator that places dated labels for historical ARK Invest purchases and sales on the price chart. Green labels below bars mark buys and red labels above bars mark sells, each showing a same-day ETF count such as X1. The ETF input sw

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

Test-024-Newfu

by ricardosantos79
261 stars

This indicator is a developer test of Pine Script v4 integer-array helpers rather than a market signal. It builds a small integer array, then applies unshift, reverse, index lookup, shift, last index, includes, average, standard deviation, variance, copy, sort

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

This indicator calculates the harmonic mean of a source series over a rolling lookback and plots the result in a separate pane. It stores recent values in a circular buffer, updates a running sum of reciprocals, and returns the count of valid samples divided b

Indicator v6
Updated 4 weeks ago · Apache-2.0 GitHub repository of Harmonic Mean (HARMEAN)

Technical Ratings

by TWODS-CAPITAL
37 stars

This indicator scores price using moving averages, oscillators, or both, then maps the result to buy, sell, and neutral ratings. It compares several simple and exponential averages, a Hull average, a volume-weighted average, and Ichimoku lines with price, and

Indicator v5 Oscillators & momentumMoving averages
Updated 3 years ago · MIT GitHub repository of Technical Ratings

SMC Strategy Hub + Alerts

by eddiebelaval
7 stars

This indicator marks market structure shifts when price closes beyond the prior lookback high or low, then labels a buy or sell with an ATR-based stop and a take-profit distance set by the TP multiplier. Optional boxes highlight bullish and bearish fair value

Indicator v5 SMC / ICT / price actionBreakout
Updated 3 months ago · None stated GitHub repository of SMC Strategy Hub + Alerts
6 stars

This indicator tracks opening range breakout (ORB) windows for the London and New York sessions and identifies ICT-style liquidity grabs. It calculates the high and low boundaries during the configured session periods and plots visual boxes directly on the pri

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

MACD Signals with Alert System combines multiple technical indicators into a unified signal and alert generator overlaid on the price chart. It calculates a Hull Moving Average, MACD histogram, three Exponential Moving Averages, Slow Stochastic, and Time Segme

Indicator v5 Oscillators & momentumMoving averages
Updated 5 months ago · None stated GitHub repository of MACD Signals with Alert System

Ichimoku Kinkō Hyō

by regalouisei
2 stars

This indicator plots an enhanced version of the traditional Ichimoku Kinkō Hyō on the main price chart. It calculates adaptive Tenkan-Sen and Kijun-Sen lines using dynamic lookback periods adjusted by volume, ATR volatility, and Chikou trend filters. Users can

Indicator v5 TrendMoving averages
Updated 8 months ago · None stated GitHub repository of Ichimoku Kinkō Hyō

TL Range X V3

by vedkanani123
1 stars

An indicator for the price chart that builds a ladder of resistance and support levels from a daily range divided by a divisor, measured from the daily, weekly or monthly open, with extra levels unlocking on strong runs and optional Fibonacci lines inside each

Indicator v6 Support & resistanceSessions & time Repaints
Updated 2 months ago · None stated GitHub repository of TL Range X V3

Proximity GZI HV

by nishpa800
1 stars

Detects fair value gaps on the price chart and flags two proximity signals. The GZI signal appears when opposite fair value gaps overlap within a set number of bars, and the HV signal appears when a gap forms on a bar with the highest volume of the last 63, 25

Indicator v5 SMC / ICT / price actionVolume
Updated 2 months ago · None stated GitHub repository of Proximity GZI HV

MD Range Finder 3 (V4)

by mikeyhu70
1 stars

A Pine Script v4 indicator, a fourth variant of the range finder, that locates a price range over a 500-bar period and draws baselines at 0, 0.5 and 1 on the price chart, with Fibonacci-style extension lines projected from it. Lines extend to the right by defa

Indicator v4 Support & resistance
Updated 6 months ago · None stated GitHub repository of MD Range Finder 3 (V4)

HON-tracker

by Allen1212
303 stars

This indicator plots historical ARK Invest buy and sell labels for Honeywell on the price chart. It uses a fixed list of dated trades and places green buy or red sell labels below or above bars, including a same-day count when more than one ARK ETF trades the

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

Test-027 Undeclared Input

by ricardosantos79
261 stars

This indicator is a Pine Script v4 test of array access together with a boolean input. On the first bar it fills an integer array with repeated index values from 0 through 50. After bar 50, when the close is above the open, it walks that array and assigns stor

Indicator v4
Updated 4 years ago · None stated GitHub repository of Test-027 Undeclared Input

This indicator calculates Vitali Apirine's Higher Highs and Lower Lows Stochastics (HHLLS). It evaluates conditional stochastic formulas that trigger only on bars establishing higher highs or lower lows, then smooths both values using an Exponential Moving Ave

Indicator v6 Oscillators & momentum
Updated 4 weeks ago · Apache-2.0 GitHub repository of Higher Highs & Lower Lows Stochastics (HHLLS)

My Script

by be-thomas
65 stars

This indicator draws a single text label on the price chart. It runs only while the current bar is realtime and places the label ten bars before the latest bar, above that bar, with the fixed text Label. It requests ten bars of history for the time series thro

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

This indicator overlays a Hull Moving Average and three Exponential Moving Averages on the price chart while monitoring signals from MACD, Stochastic Oscillator, and Time Segmented Volume. It tracks trend direction changes, MACD histogram color shifts from bri

Indicator v5 TrendOscillators & momentum
Updated 5 months ago · None stated GitHub repository of MACD Signals with Alert System

Ichimoku Oscillator

by regalouisei
2 stars

The Ichimoku Oscillator indicator calculates conversion line, base line, leading span, and lagging span using specified periods. It plots these values in a separate pane along with an optional EMA overlay. Main settings allow customization of line lengths, ATR

Indicator v5 TrendOscillators & momentum
Updated 8 months ago · None stated GitHub repository of Ichimoku Oscillator

The Morindok Dynamic Gann Spiral Ratio indicator computes time and price angles derived from a dynamic N value based on volatility and a selected price source. It calculates a ratio between these angles and generates buy or sell signals when the ratio approach

Indicator v5 Support & resistanceTrend
Updated 7 weeks ago · None stated GitHub repository of Morindok Dynamic Gann Spiral Ratio

Trend Context

by vedkanani123
1 stars

A price-chart indicator that classifies the market as up, down or neutral using an adaptive baseline whose smoothing speed follows price efficiency. A weighted score combines price location against ATR zones, baseline slope, momentum and position within the re

Indicator v6 TrendVolatility & bands
Updated 2 months ago · None stated GitHub repository of Trend Context

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