Pine Library · 7,612 open-source scripts

Free TradingView Indicators (page 153)

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

99 stars

The Pivot Points (Camarilla) indicator calculates eight pivot levels based on the previous bar's high, low, and close. It derives the central pivot point PP and resistance (R1-R4) and support (S1-S4) levels using the Camarilla equation. Users select a pivot ca

Indicator v6 Support & resistance Repaints
Updated 4 weeks ago · Apache-2.0 GitHub repository of Pivot Points (Camarilla)
3 stars

Price Action Candles is an overlay indicator that plots the closing price on the main price chart. It uses a single plot of the close series and adds no calculations, filters, or trading signals. There are no user inputs, so nothing changes colour, style, or c

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

Flare

by regalouisei
2 stars

The Flare indicator plots connected linefills on the price chart to create a customizable visual flare shape. It takes user inputs for flare width, bars to look back from the close, power factor, and step size to control the shape and transitions. The script i

Indicator v5 Support & resistanceScreeners & dashboards
Updated 8 months ago · None stated GitHub repository of Flare

Torus

by morindok
1 stars

A drawing tool that renders a wireframe torus 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 area between them, drawing each ring as a blue polyline once on the las

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

PHR-tracker

by Allen1212
303 stars

PHR-tracker overlays historical ARK Invest purchases and sales of PHR on the price chart as dated labels. Green labels below bars mark buys and red labels above bars mark sells, with text showing the action and how many ARK ETFs traded that day. An ETF input s

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

Pivot Points (Classic)

by mihakralj
99 stars

This indicator calculates classic floor trader pivot points using high, low, and close prices from a higher timeframe. It determines the central pivot point along with three resistance levels (R1, R2, R3) and three support levels (S1, S2, S3). Calculated value

Indicator v6 Support & resistance
Updated 4 weeks ago · Apache-2.0 GitHub repository of Pivot Points (Classic)

Gann Box (Zeiierman)

by regalouisei
2 stars

The Gann Box (Zeiierman) indicator calculates and overlays Gann Box and optional Gann Fan structures directly on the main price chart. It projects horizontal Fibonacci level bounds and dynamic angle lines based on significant high and low points to highlight p

Indicator v5 Support & resistanceTrend
Updated 8 months ago · None stated GitHub repository of Gann Box (Zeiierman)

PINS-tracker

by Allen1212
303 stars

This indicator overlays historical ARK Invest buy and sell transactions directly onto the price chart for Pinterest (PINS). It plots visual labels at precise execution timestamps, indicating buy or sell decisions along with the count of participating funds. Us

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

Pivot Points (DeMark)

by mihakralj
99 stars

This indicator plots Tom DeMark pivot levels on the price chart. It reads the prior completed bar of a selected daily, weekly, or monthly timeframe and applies a conditional formula that weights the high, low, and close according to whether that bar closed bel

Indicator v6 Support & resistance
Updated 4 weeks ago · Apache-2.0 GitHub repository of Pivot Points (DeMark)
3 stars

Price Action Candles is an overlay indicator that marks simple swing patterns on the price chart. A green triangle appears below a bar when a low two bars earlier is below the lows around it and the next low is higher. A red triangle appears above a bar when t

Indicator v5 Candlestick patternsSupport & resistance Repaints
Updated 5 months ago · None stated GitHub repository of Price Action Candles

Golden Pocket

by regalouisei
2 stars

Golden Pocket indicator identifies potential reversal zones by drawing Fibonacci retracement lines and boxes between pivot highs and lows on the price chart. It applies moving average filters to confirm trend direction for both bull and bear setups. Users can

Indicator v5 Support & resistanceMoving averages
Updated 8 months ago · None stated GitHub repository of Golden Pocket

Two Tangent Circles

by morindok
1 stars

The script plots two closed polylines on the price chart representing tangent circles. It takes two user-defined points defined by time and price inputs to calculate the direction and distance between them. Centers of two circles with radii one-quarter of thos

Indicator v5 Support & resistance
Updated 7 weeks ago · None stated GitHub repository of Two Tangent Circles

PRLB-tracker

by Allen1212
303 stars

This indicator visualizes historical ARK Invest transactions for Proto Labs (PRLB) directly on the price chart. It hardcodes past purchase and sale records based on historical ETF filings and plots green or red labels at specific bar timestamps. The labels ind

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

This indicator plots extended traditional floor-trader pivot levels on the price chart. It takes the prior high, low, and close of a selected daily, weekly, or monthly timeframe and calculates the central pivot plus five resistance levels and five support leve

Indicator v6 Support & resistance
Updated 4 weeks ago · Apache-2.0 GitHub repository of Pivot Points (Extended)
3 stars

This indicator calculates a 30-period and a 50-period simple moving average of the closing price and plots both lines in a separate pane. It fills the space between them teal when the shorter average is above the longer average and red when it is below. There

Indicator v5 Moving averagesTrend
Updated 5 months ago · None stated GitHub repository of Price Action Candles

Heatmap Volume [xdecow]

by regalouisei
2 stars

This indicator classifies volume by how many standard deviations it sits from a moving average and colors that classification as a heatmap in a separate pane. Extra-high, high, medium, normal, and low bands use multiplier thresholds. Users can color volume bar

Indicator v5 VolumeMoving averages
Updated 8 months ago · None stated GitHub repository of Heatmap Volume [xdecow]

Universal System

by morindok
1 stars

Universal System plots geometric logarithmic spirals based on the golden ratio directly on the price chart. The indicator gathers price range data between two user-defined anchor timestamps, accumulating bullish and bearish price movement sums. On the final ba

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

PRME-tracker

by Allen1212
303 stars

This indicator plots historical ARK Invest buy and sell activity for PRME as labels on the price chart. Green labels below bars mark buys and red labels above bars mark sells, each dated with a timestamp and showing an ETF count such as X1. The ETF input switc

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

This indicator plots Fibonacci pivot levels on the price chart. It takes the previous completed bar's high, low, and close from a daily, weekly, or monthly timeframe and sets the pivot as their average. Resistance and support sit at 38.2 percent, 61.8 percent,

Indicator v6 Support & resistance
Updated 4 weeks ago · Apache-2.0 GitHub repository of Pivot Points (Fibonacci)
3 stars

Price Action Candles highlights consecutive range-containing bars on the price chart. It marks a bar when its high is at or above the prior high and its low is at or below the prior low, so the current range contains the previous bar. It paints the background

Indicator v5 Candlestick patterns
Updated 5 months ago · None stated GitHub repository of Price Action Candles
2 stars

This indicator implements Hosoda's Ichimoku Theories directly on the price chart, combining standard Ichimoku Kinko Hyo components (Tenkan-sen, Kijun-sen, Kumo cloud, and Chikou span) with Time Theory and Wave Theory analysis. It detects swing highs and lows,

Indicator v5 TrendSupport & resistance
Updated 8 months ago · None stated GitHub repository of Ichimoku Theories [LuxAlgo]

PRNT Tracker

by Allen1212
303 stars

PRNT Tracker plots historical trade activity of ARK Invest directly onto the price chart. It hardcodes transaction records to display green labels below price bars for buy transactions and red labels above price bars for sell transactions, along with counts in

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

Pivot Points (Woodie)

by mihakralj
99 stars

This indicator calculates and plots Woodie's pivot points using a weighted closing price formula across daily, weekly, or monthly periods. It computes the central pivot point along with three resistance levels (R1, R2, R3) and three support levels (S1, S2, S3)

Indicator v6 Support & resistance
Updated 4 weeks ago · Apache-2.0 GitHub repository of Pivot Points (Woodie)
3 stars

This lightweight indicator calculates a 9-period Exponential Moving Average (EMA) and a 20-period EMA, plotting both directly on the price chart overlay. It also plots a third line in orange that displays the mathematical sum of the two EMAs as a simple trend

Indicator v5 Moving averagesTrend
Updated 5 months ago · None stated GitHub repository of Price Action Candles

Indicators Overlay

by regalouisei
2 stars

Indicators Overlay plots up to ten technical indicators directly on the main price chart using line drawings, avoiding the need for separate sub-panes. It calculates common technical metrics such as RSI, CCI, OBV, Stochastic, MFI, ATR, CMO, CMF, Stochastic RSI

Indicator v5 Oscillators & momentumVolatility & bands
Updated 8 months ago · None stated GitHub repository of Indicators Overlay

Universe Of Mirrors

by morindok
1 stars

This Pine Script indicator calculates two pairs of parallel universes derived from moving averages of the source price using Fibonacci ratios of the golden ratio. It plots Universe A and Universe B lines along with their inverse counterparts, plus fill bands b

Indicator v5 TrendMoving averages
Updated 7 weeks ago · None stated GitHub repository of Universe Of Mirrors

PSNL Tracker

by Allen1212
303 stars

This indicator overlays historical ARK Invest transaction records for Personalis Inc (PSNL) directly onto the price chart. It plots labels on specific historical timestamps where ARK funds initiated buy or sell transactions, displaying trade details such as tr

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

This indicator calculates J. Welles Wilder's Plus Directional Indicator (+DI) to measure upward price momentum. It computes Positive Directional Movement (+DM) and True Range (TR), smoothing them using a compensated Running Moving Average (RMA) technique for a

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

This indicator provides an interactive framework for validating Elliott Wave motive wave structures directly on the price chart. Users select six anchor points corresponding to wave origins and terminals (points 0 through 5) using interactive chart inputs. The

Indicator v5 Support & resistanceTrend
Updated 8 months ago · None stated GitHub repository of Interactive Motive Wave Checklist
1 stars

This indicator aggregates price action into constant-volume candles based on a configurable cumulative volume threshold. It renders these volume bars directly on the price chart using boxes and wick lines, updating dynamically during live formation. A Zero-Lag

Indicator v5 VolumeMoving averages
Updated 7 weeks ago · None stated GitHub repository of Volume Candles by BITMOON618

PSTG-tracker

by Allen1212
303 stars

PSTG-tracker plots historical ARK Invest purchase and sale records for Pure Storage on the price chart. The script uses hardcoded timestamp locations to display green buy and red sell labels directly on specific historical bars. An input selector allows filter

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

This indicator calculates Wilder's plus directional movement and plots the smoothed value in a separate pane. On each bar it compares the upward and downward price moves, keeps only a positive up move that exceeds the down move, then applies a compensated RMA

Indicator v6 Trend
Updated 4 weeks ago · Apache-2.0 GitHub repository of Plus Directional Movement (+DM)

This indicator plots a linear regression line based on closing prices using a 10-period window. The regression calculates a straight line that best fits the price data points over the specified length. It draws the resulting trend line in a separate pane for v

Indicator v5 TrendMoving averages
Updated 5 months ago · None stated GitHub repository of Price Action Candles with Linear Regression
2 stars

Intersection Value Functions calculates the exact price level where two series intersect during a crossover or crossunder. It uses linear interpolation based on line slopes between consecutive bars to pinpoint the exact crossover value. The indicator plots two

Indicator v5 Moving averagesSupport & resistance
Updated 8 months ago · None stated GitHub repository of Intersection Value Functions

PSTI-tracker

by Allen1212
303 stars

PSTI-tracker overlays historical ARK Invest buy and sell transaction records directly on the price chart for PSTI stock. It places green buy labels below bars and red sell labels above bars at specific historical timestamps when ARK funds transacted. Input set

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

This indicator plots the Poisson cumulative distribution function of a price series in a separate pane. It min-max normalizes the selected source over a lookback window, scales that value into a Poisson rate lambda, and returns the probability that a Poisson c

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

This overlay indicator combines price-action swing structure with a MACD comparison and a dual moving-average filter. It finds pivot highs and lows, labels higher highs, lower highs, higher lows and lower lows, and builds a trend bias from those swings. It rep

Indicator v5 Candlestick patternsOscillators & momentum Repaints
Updated 5 months ago · None stated GitHub repository of Price Action Candles with MACD Signals
1 stars

Zero-Lag Fractal KdV Smoothing is an indicator that applies fractal dimension-based smoothing to price data using a KdV-like wave equation. It computes a weighted average between the current close price and the prior filtered value, where the weights depend on

Indicator v5 Moving averagesVolatility & bands
Updated 7 weeks ago · None stated GitHub repository of Zero-Lag Fractal KdV Smoothing

PTC-tracker

by Allen1212
303 stars

PTC-tracker is an overlay indicator that marks historical ARK Invest purchase dates for PTC on the price chart. It places green below-bar labels at fixed timestamps, each reading as a buy with a count of one. The only input selects an ETF filter and currently

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

This indicator plots a rolling polynomial regression fitted to a chosen price source over a lookback window. It builds the normal equations, solves them with Gauss-Jordan elimination and partial pivoting, and returns the polynomial value at the current bar. Pe

Indicator v6 Trend
Updated 4 weeks ago · Apache-2.0 GitHub repository of Polynomial Fitting (POLYFIT)
2 stars

Calculates and projects key liquidity levels directly on the main price chart based on volume pivot highs. When a volume peak is detected, the indicator captures the closing price from that period and plots horizontal lines across the chart. It also features o

Indicator v5 Support & resistanceVolume
Updated 8 months ago · None stated GitHub repository of Liquidity Levels [LuxAlgo]

PTNR-tracker

by Allen1212
303 stars

This indicator marks recorded ARK Invest purchases of PTNR on the price chart. It draws green labels below the bars at fixed calendar dates, anchored by bar time, with text that shows a buy and a count of one. One input chooses the ETF view, and the only liste

Indicator v4
Updated 2 years ago · None stated GitHub repository of PTNR-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