Pine Library · 7,612 open-source scripts

Free TradingView Indicators (page 151)

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

3D Sine Wave

by regalouisei
2 stars

This indicator plots a 3D sine wave in a separate pane. It calculates wave values using bar index, wave height and duration inputs. Lines form a wave shape with top, bottom, left and right fills based on coloring style. Regular or irregular shape option change

Indicator v5 Support & resistanceVolatility & bands
Updated 8 months ago · None stated GitHub repository of 3D Sine Wave

NSTG-tracker

by Allen1212
303 stars

This indicator overlays historical ARK Invest buy and sell dates for NSTG on the price chart. It places red sell labels above bars and green buy labels below bars, with text that counts how many selected ETFs traded that day. An ETF input switches between ARKG

Indicator v4 Screeners & dashboards
Updated 2 years ago · None stated GitHub repository of NSTG-tracker
99 stars

Min-Max Normalization rescales a price series or input source into a bounded range between 0 and 1 using rolling minimum and maximum values over a designated lookback period. It plots the normalized output as a line indicator in a separate chart pane. Users ca

Indicator v6
Updated 4 weeks ago · Apache-2.0 GitHub repository of Min-Max Normalization (NORMALIZE)

Volume

by be-thomas
65 stars

This indicator plots trading volume as a column chart in a separate pane with dynamic gradient coloring. It assigns distinct colors for bullish and bearish price bars based on whether the close is above the open. The transparency of each column dynamically adj

Indicator v4 Volume
Updated 5 days ago · GPL-3.0 GitHub repository of Volume
2 stars

This indicator renders an analog and digital world clock in a separate pane. It calculates local time across global cities based on UTC offsets and configurable daylight saving time options. Users can choose specific time zones, adjust text sizes, and toggle d

Indicator v5 Sessions & time Repaints
Updated 8 months ago · None stated GitHub repository of Analog/Digital World Clock by DGT

Symmetric Price

by morindok
1 stars

This indicator plots a mirrored copy of the close around a user-chosen symmetry price. For each bar it stores a point at twice the level minus the close, then draws those points as one orange polyline on the price chart when the last bar has at least two point

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

NTDOY Tracker

by Allen1212
303 stars

NTDOY Tracker overlays historical buy and sell transactions made by ARK Invest funds on the price chart for Nintendo Co., Ltd. (NTDOY). It places visual labels at specific historical timestamps indicating trade activity and the count of participating ARK ETFs.

Indicator v4
Updated 2 years ago · None stated GitHub repository of NTDOY Tracker
99 stars

This indicator calculates and plots the Minus Directional Indicator (-DI) in a separate pane to measure downward price movement. It computes negative directional movement and true range using Wilder's smoothing with warmup compensation, ensuring stable values

Indicator v6 TrendOscillators & momentum
Updated 4 weeks ago · Apache-2.0 GitHub repository of Minus Directional Indicator (-DI)

Zig Zag

by be-thomas
65 stars

Calculates and plots a ZigZag indicator directly on the price chart to highlight significant high and low pivot points. The script identifies local pivot highs and lows using a custom loop mechanism based on the depth setting, then connects them with drawing l

Indicator v4 TrendSupport & resistance Repaints
Updated 5 days ago · GPL-3.0 GitHub repository of Zig Zag

Pivot Trendlines

by g-moe
3 stars

Pivot Trendlines is an indicator that plots horizontal support and resistance lines along with trendline support and resistance based on swing pivots of customizable lengths. Three separate groups allow adjustment of pivot length to draw multiple horizontal li

Indicator v5 Support & resistanceTrend
Updated 5 months ago · None stated GitHub repository of Pivot Trendlines

Andean Oscillator

by regalouisei
2 stars

The Andean Oscillator measures trend strength by calculating distinct bullish and bearish components using modified exponential envelopes applied to open and close prices. It computes variance-like metrics to estimate directional volatility and tracks momentum

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

Symmetric Price - Invertible System calculates geometric trend baselines, symmetric moving averages, and Fibonacci wave oscillations overlaid directly on the price chart. Users select two anchor points with custom timestamps and prices to define a central slop

Indicator v5 Moving averagesSupport & resistance

NU-tracker

by Allen1212
303 stars

NU-tracker plots historical ARK Invest buy and sell events for the NU stock on the price chart. It places green labels below bars for buys and red labels above bars for sells, using fixed dates from late 2021 into early 2022 in the shown code. Each label marks

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

Calculates and plots the Minus Directional Movement (-DM) component of J. Welles Wilder's directional movement system. It measures downward price momentum by comparing the current low to the previous low and applying Wilder's RMA smoothing with warmup compensa

Indicator v6 TrendOscillators & momentum
Updated 4 weeks ago · Apache-2.0 GitHub repository of Minus Directional Movement (-DM)

Pivot Trendlines

by g-moe
3 stars

The Pivot Trendlines indicator identifies swing highs and lows on the chart to form support and resistance levels. It plots these levels as markers and draws trendlines connecting them. Buy and sell signals activate when the price breaks beyond a set percentag

Indicator v5 Support & resistanceBreakout
Updated 5 months ago · None stated GitHub repository of Pivot Trendlines
1 stars

Symmetric Price Mirror is an overlay indicator that reflects price candles around Fibonacci extension levels derived from two user-selected prices and a time window. It builds upper and lower slopes from degree angles or from box diagonals, then offsets those

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

NUVA-tracker

by Allen1212
303 stars

NUVA-tracker visualizes historical buy and sell transactions executed by ARK Invest on NuVasive (NUVA). It plots informational labels directly on the main price chart at historical timestamps, displaying transaction type and the number of participating ARK ETF

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

Mode

by mihakralj
99 stars

Mode calculates the most frequent value of a chosen source series over a lookback period and plots that value in a separate pane. The source defaults to close and the period defaults to 14. On each bar it counts non-missing values inside the available window,

Indicator v6
Updated 4 weeks ago · Apache-2.0 GitHub repository of Mode

Pivot Trendlines

by g-moe
3 stars

This indicator plots supply and demand zones along with pivot-based trendlines on the price chart. It detects swing highs and lows to form trendlines and overlays three customizable zones with adjustable lengths and timeframes for multi-timeframe analysis. Mai

Indicator v5 Support & resistanceTrend Repaints
Updated 5 months ago · None stated GitHub repository of Pivot Trendlines
1 stars

The Symmetric Price Mirror indicator calculates mirrored high and low price levels based on user-defined pivot range from lev1 and lev2 with optional time window t0 to t1. It applies slope adjustments using angles ang1 and ang2 or diagonal boxes scaled by bars

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

NVMI-tracker

by Allen1212
303 stars

This indicator plots ARK Invest purchase and sale labels for NVMI on the price chart. It marks dated trade events with buy or sell text and a count of how many ARK ETFs acted that day. The ETF input chooses which fund records to show, though this file only off

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

Modular Filter (MODF)

by mihakralj
99 stars

Modular Filter (MODF) calculates and plots an adaptive dual-path smoothing filter on the main price chart. Based on work by alexgrover, it computes upper and lower EMA bands that snap to price extremes and maintain a bullish or bearish state. The beta paramete

Indicator v6 TrendMoving averages
Updated 4 weeks ago · Apache-2.0 GitHub repository of Modular Filter (MODF)
2 stars

Calculates the statistical likelihood of price reaching multiple percentage-spaced breakout levels above and below the current price. It renders horizontal lines with percentage probability labels directly on the price chart and maintains a summary dashboard i

Indicator v5 BreakoutSupport & resistance
Updated 8 months ago · None stated GitHub repository of Breakout Probability (Expo)
1 stars

Symmetric Price with MA calculates centered and mirrored price values using moving average midpoints and user-defined slope projections. It allows users to set a time anchor and slope angle to dynamically offset price data, optionally applying Golden Ratio mul

Indicator v5 Moving averagesTrend
Updated 7 weeks ago · None stated GitHub repository of Symmetric Price with MA

NVS Tracker

by Allen1212
303 stars

NVS Tracker overlays historical buy and sell transactions executed by ARK Invest for Novartis (NVS) directly onto the main price chart. It renders colored visual labels below or above price bars corresponding to specific trade dates, indicating whether ARK fun

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

Momentum (MOM)

by mihakralj
99 stars

This indicator calculates momentum as the difference between the selected source and the same source a set number of bars earlier, measuring the rate of price change. It plots a single MOM line in a separate pane. Length sets the lookback, with a minimum of on

Indicator v6 Oscillators & momentum
Updated 4 weeks ago · Apache-2.0 GitHub repository of Momentum (MOM)

Pivot Trendlines

by g-moe
3 stars

The Pivot Trendlines indicator detects swing pivot highs and lows on the price chart using a user-defined pivot length. It identifies small pivots when they occur and large pivots when price breaks through the recent opposite small pivot. Labels for small pivo

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

CAGR Custom Range

by regalouisei
2 stars

CAGR Custom Range calculates the compound annual growth rate between two user-selected times on the chart. It captures the close at each point, passes those prices and times to TradingView's cagr function, and draws a connecting line colored by whether the lat

Indicator v5
Updated 8 months ago · None stated GitHub repository of CAGR Custom Range
1 stars

Symmetric Range Spiral System projects geometric mirrored price paths and spiral structures directly onto the price chart. It calculates reflection levels and symmetric price polylines relative to a user-selected price level and time window. Storing bar data i

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

NXPI-tracker

by Allen1212
303 stars

This indicator overlays historical ARK Invest buy and sell transactions for NXP Semiconductors (NXPI) directly onto the price chart. It plots green labels below the bars for purchase days and red labels above the bars for sale days, including indicators for tr

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

The MACD indicator calculates the difference between two exponential moving averages with fast and slow periods to identify momentum shifts in the market. It plots the MACD line, signal line, and histogram bars in a separate pane below the price chart. The his

Indicator v6 Oscillators & momentumMoving averages
Updated 4 weeks ago · Apache-2.0 GitHub repository of Moving Average Convergence Divergence (MACD)

Pivot Trendlines

by g-moe
3 stars

This indicator identifies pivot highs and lows using a swing lookback period and connects them with trendlines on the price chart. It generates long and short entry signals when price moves through predefined percentage thresholds in three steps for buy and se

Indicator v5 TrendSupport & resistance
Updated 5 months ago · None stated GitHub repository of Pivot Trendlines
2 stars

Christmas Toolkit [LuxAlgo] draws a decorative Christmas tree, garland, stars, and a moving deer on the price chart using labels. Width, offset, and garland rotations change the tree layout, while Static Tree and Deer Speed control whether the tree stays fixed

Indicator v5 Screeners & dashboardsOscillators & momentum Repaints
Updated 8 months ago · None stated GitHub repository of Christmas Toolkit [LuxAlgo]
1 stars

The Symmetrical Golden Shapes indicator draws geometric patterns directly on the price chart overlay within a user-defined time range and price level. It uses Pine Script polylines to plot customizable shapes such as diamonds, triangles, rectangles, polygons,

Indicator v5 Support & resistance
Updated 7 weeks ago · None stated GitHub repository of Symmetrical Golden Shapes

NXPIN-tracker

by Allen1212
303 stars

This indicator visualizes historical ARK Invest transactions for the NXPIN ticker directly on the price chart. It hardcodes specific trade dates using timestamp-anchored visual labels to indicate institutional buy or sell actions. The script does not calculate

Indicator v4
Updated 2 years ago · None stated GitHub repository of NXPIN-tracker
3 stars

This indicator plots horizontal support and resistance levels alongside sloping diagonal trendlines based on pivot high and pivot low points directly on the price chart. It provides three independent groups of pivot length settings, allowing traders to monitor

Indicator v5 Support & resistanceTrend
Updated 5 months ago · None stated GitHub repository of Pivot Trendlines v2

CM MacD Ult MTF V2.1

by regalouisei
2 stars

This indicator plots a customizable MACD in a separate pane. It calculates the MACD line from fast and slow SMA or EMA values, a signal line, and a histogram of their difference. An optional indicator timeframe can use another chart resolution. Users can show

Indicator v5 Oscillators & momentumMoving averages
Updated 8 months ago · None stated GitHub repository of CM MacD Ult MTF V2.1
1 stars

Symmetrical Golden Shapes plots customizable geometric shapes, including diamonds, ellipses, polygons, and stars, directly on the price chart. The indicator allows users to define time and price boundaries interactively, adjust center ratios, and mirror or rot

Indicator v5 Support & resistance
Updated 7 weeks ago · None stated GitHub repository of Symmetrical Golden Shapes

OERL-tracker

by Allen1212
303 stars

OERL-tracker is a Pine Script v4 overlay indicator that marks historical ARK Invest trades on the price chart. In the provided script it places a red label above the bar for 17 January 2020 reading a one-fund sell. An ETF input is present but offers only the A

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

Normal Distribution CDF (NORMDIST) calculates the cumulative distribution function for a normalized price series in a separate indicator pane. It standardizes price values using a rolling mean and standard deviation over a customizable lookback window, then sc

Indicator v6 Mean reversion
Updated 4 weeks ago · Apache-2.0 GitHub repository of Normal Distribution CDF (NORMDIST)

This overlay indicator plots three moving averages chosen from EMA, SMA, HMA, VWMA, or RMA. Inputs also configure Stochastic RSI and RSI lengths, buy and sell thresholds, and an optional RSI divergence filter with its own lookback. A session window can restric

Indicator v5 TrendOscillators & momentum
Updated 5 months ago · None stated GitHub repository of Pivot Trendlines with Divergence Scanner

Custom Pattern Detection

by regalouisei
2 stars

This indicator identifies multi-leg custom harmonic or structural patterns on the price chart based on pivot high and low points. It calculates Zigzag trendlines using a configurable lookback period and filters pattern segments (AB, BC, CD, DE, EF) using targe

Indicator v5 Support & resistanceTrend Repaints
Updated 8 months ago · None stated GitHub repository of Custom Pattern Detection

OKTA-tracker

by Allen1212
303 stars

OKTA-tracker visualizes historical ARK Invest trade activity for OKTA stock directly on the price chart. It plots green buy labels below price bars and red sell labels above price bars corresponding to historical transaction timestamps recorded for ARK funds s

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

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