Pine Library · 7,612 open-source scripts

Free TradingView Indicators (page 95)

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

SSL Oscillator

by TamTH-Dev
2 stars

The SSL Oscillator is a separate pane indicator that combines momentum channel calculations with Quantitative Qualitative Estimation (QQE) logic. It evaluates moving average differences, standard deviation channels, and smoothed RSI values across multiple conf

Indicator v5 Oscillators & momentumMoving averages
Updated 6 weeks ago · None stated GitHub repository of SSL Oscillator

Market Cap Landscape 3D

by regalouisei
2 stars

This indicator projects a three-dimensional surface map and wireframe landscape representing cryptocurrency market capitalization directly onto the price chart. It renders a customizable grid with gradient surface strips, wireframe lines, markers, peak volume

Indicator v6 Screeners & dashboards
Updated 8 months ago · None stated GitHub repository of Market Cap Landscape 3D

Ease of Movement (EOM)

by mushroom-men-Trading
2 stars

This indicator calculates and plots the Ease of Movement (EOM) oscillator in a separate chart pane. It evaluates the relationship between price midpoint changes and trading volume relative to the bar's high-low range to quantify how easily price moves. The raw

Indicator v6 VolumeOscillators & momentum
Updated 9 months ago · None stated GitHub repository of Ease of Movement (EOM)

Bollinger ZigZag ++

by WISEPLAT
2 stars

Bollinger ZigZag ++ combines Bollinger Band percent B calculations, pivot points, and a ZigZag filter to mark potential support and resistance levels directly on the price chart. It detects overbought and oversold thresholds relative to the bands and draws vis

Indicator v4 Volatility & bandsSupport & resistance Repaints
Updated 3 years ago · None stated GitHub repository of Bollinger ZigZag ++

SMC Profile Context

by skipp-dev
1 stars

SMC Profile Context is an indicator that operates as a decision-support companion overlay in a separate pane. It imports pre-calculated fields from an external micro-profiles library to display ticker quality metrics and market context. The indicator visualize

Indicator v6 SMC / ICT / price actionScreeners & dashboards
Updated 5 days ago · None stated GitHub repository of SMC Profile Context

P_err_input_in_function

by GammaExpansion
1 stars

This v6 indicator defines a function f that accepts an integer input and plots the function result. The plot appears on a separate pane. No trading signals or position rules exist. The script tests input handling inside functions and draws a constant value on

Indicator v6
Updated 8 days ago · MIT GitHub repository of P_err_input_in_function

DEPV2 DEBUG S0

by YuceSezar89
1 stars

DEPV2 DEBUG S0 monitors 20 major cryptocurrencies on Binance including BTC, ETH, SOL, XRP, DOGE and others. It generates signals using four methods: TREND, MOMENTUM, VOLATILITY and VOLUME. Users choose from same-time confirmation, sequential confirmation or au

Indicator v6 TrendOscillators & momentum Repaints
Updated 2 weeks ago · None stated GitHub repository of DEPV2 DEBUG S0
1 stars

This indicator plots mirrored price and parallel lines on the chart. It defines a base line using two input points and calculates the maximum deviation for a price channel by reflecting the close price around the base line. Users can apply the reflection to th

Indicator v6 TrendSupport & resistance
Updated 7 weeks ago · None stated GitHub repository of Mirrored Price & Parallel Lines

Terminal Velocity Stop

by vedkanani123
1 stars

An ATR trailing stop drawn on the price chart. The stop chases a target set at a multiple of ATR below price in an uptrend and above price in a downtrend, but its travel per bar is capped at a terminal velocity setting measured in ATR, 0.3 by default. This kee

Indicator v6 TrendVolatility & bands
Updated 2 months ago · None stated GitHub repository of Terminal Velocity Stop
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 v6 SMC / ICT / price actionVolume
Updated 2 months ago · None stated GitHub repository of VOB v11 Full HW Coincidence

FUTURES-IWBADT Trading Bot

by GreyssonEnterprises
1 stars

A Pine v4 indicator that judges trend by comparing a 9 and an 18 period EMA on three higher timeframes (1 hour, 4 hour and daily by default) and optionally the chart timeframe. Background colours show when all or most timeframes agree on direction. Settings in

Indicator v4 TrendMoving averages Repaints
Updated 3 months ago · MIT GitHub repository of FUTURES-IWBADT Trading Bot

V9 Watchlist Ranker

by kevinesk
1 stars

Evaluates intraday trading rules across ten ticker symbols simultaneously using multi-symbol data requests. It monitors 5-minute volume surges, price breakout pivots, moving average positioning, and session time filters customized for Bursa Malaysia trading ho

Indicator v5 Screeners & dashboardsScalping
Updated 4 months ago · None stated GitHub repository of V9 Watchlist Ranker

Support and Resistance

by rubbermetal
1 stars

Support and Resistance finds pivot highs and lows using configurable left and right bar counts and keeps the most recent levels, merging nearby pivots into one zone and counting touches. Zones are drawn as boxes and lines with optional labels, plus break and t

Indicator v6 Support & resistance
Updated 4 months ago · MPL-2.0 GitHub repository of Support and Resistance

Supertrend

by shubhamtaywade82
1 stars

Plots the built-in Supertrend line on the price chart as a single blue line. It has two settings, the ATR length with a default of 10 and the ATR multiplier with a default of 3. The line trails price and flips side when price closes through it. There are no al

Indicator v6 TrendVolatility & bands Archived
Updated 5 months ago · None stated GitHub repository of Supertrend
1 stars

This indicator marks swing highs and lows from pivot bars on the price chart and projects dates ahead using Gann and Hurst cycle timing ideas. Tables show the pivot dates and nearby future dates, with colours for bullish and bearish pivots. The left and right

Indicator v5 Support & resistance
Updated 6 months ago · None stated GitHub repository of Gann Hurst Pivot HL 2024 V1.1

Rainbow EMA & SMMA

by ymlee1104
1 stars

This script plots a rainbow ribbon overlay composed of eight Exponential Moving Averages ranging from 10 to 50 periods alongside two Smoothed Moving Averages on the main price chart. It evaluates complete moving average alignment across all calculated lengths

Indicator v6 TrendMoving averages
Updated 7 months ago · None stated GitHub repository of Rainbow EMA & SMMA
1 stars

This volume divergence indicator detects bullish and bearish divergences on the price chart. Bullish divergence occurs when price forms a lower low but volume forms a higher low, and bearish divergence when price forms a higher high but volume forms a lower hi

Indicator v5 DivergenceVolume
Updated 8 months ago · None stated GitHub repository of VolDivAlgo (Volume Divergence)
1 stars

This indicator plots a standard MACD line, signal line, and color-coded histogram in a separate pane, with a zero line. It finds pivot highs and lows on both price and the histogram using a shared pivot length. Alerts fire when a histogram pivot high or low is

Indicator v5 Oscillators & momentumDivergence
Updated 9 months ago · None stated GitHub repository of MACD Histogram Divergence

V5 Combination by yzz

by webcrack4
1 stars

V5 Combination by yzz is a composite chart indicator that integrates a Volume Profile and Market Profile (TPO) tool with a MACD oscillator overlay. The profile section calculates price distribution across configurable range modes, plotting the Point of Control

Indicator v5 VolumeSupport & resistance
Updated 9 months ago · None stated GitHub repository of V5 Combination by yzz

Elder Force Index

by ivansoft
1 stars

Plots the Elder Force Index in a separate pane: the change in close multiplied by volume, smoothed with an exponential moving average of 13 bars by default. A zero line separates positive from negative readings. The script raises an error when the data vendor

Indicator v6 VolumeOscillators & momentum
Updated 1 year ago · None stated GitHub repository of Elder Force Index

Voss Predictive Filter

by amico1234
1 stars

The Voss Predictive Filter indicator calculates a custom Voss filter and plots it alongside the Voss line in a separate pane. It processes the selected source to produce filtered output and Voss values based on length, predict, and bandwidth settings. The main

Indicator v4 Moving averagesVolatility & bands
Updated 2 years ago · None stated GitHub repository of Voss Predictive Filter

A Pine v4 overlay that plots simple moving averages of 50, 100 and 200 periods on a chosen source, with progressively thicker lines. Each line is green while it is rising and red while it is falling. An optional background colour is available, and the three le

Indicator v4 Moving averagesTrend
Updated 3 years ago · None stated GitHub repository of QS Institutional Moving Averages

PR Index

by JohnsonHsiao
1 stars

This indicator calculates a normalized price range oscillator in a separate pane. It computes the position of the current close relative to the highest and lowest close over a configurable lookback period. The output values range between zero and one, compleme

Indicator v5 Oscillators & momentum
Updated 3 years ago · None stated GitHub repository of PR Index
947 stars

The Derivative Oscillator calculates a double-exponentially smoothed Relative Strength Index (RSI) and subtracts its Simple Moving Average (SMA) to form the main oscillator line. A secondary signal line is plotted using an SMA of the main oscillator values. Th

Indicator v4 Oscillators & momentumMoving averages
Updated 13 days ago · GPL-3.0 GitHub repository of Derivative Oscillator

ALMDG Tracker

by Allen1212
303 stars

ALMDG Tracker visualizes historical buy and sell transactions executed by ARK Invest funds for the ALMDG ticker directly on the main price chart. It plots visual labels at specific trade dates, indicating transaction types and the count of participating ARK ET

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

Function K-Means Clustering

by ricardosantos79
261 stars

Calculates K-Means clustering on two-dimensional float data arrays directly within Pine Script. The script initializes cluster centers randomly from data points and iteratively assigns points to clusters based on Euclidean distance calculations. User settings

Indicator v5 AI / machine learning
Updated 4 years ago · None stated GitHub repository of Function K-Means Clustering
114 stars

This indicator implements a binary logistic regression classification model retrained on each bar using gradient descent optimization. It processes normalized price features through a sigmoid activation function to classify market direction and generate direct

Indicator v4 AI / machine learningTrend Repaints
Updated 1 year ago · None stated GitHub repository of Machine Learning: Logistic Regression

Bias (BIAS)

by mihakralj
99 stars

This indicator calculates Bias as the relative deviation of a chosen source from its simple moving average, using (source minus average) divided by the average. It maintains a circular buffer and running sum so the average updates bar by bar, and it refuses a

Indicator v6 Oscillators & momentumMoving averages
Updated 4 weeks ago · Apache-2.0 GitHub repository of Bias (BIAS)
55 stars

This indicator plots horizontal support and resistance from confirmed pivot lows and pivot highs, using ten bars on each side. When a new pivot appears, it replaces the previous line and extends it ten bars beyond the current bar. A translucent gray fill marks

Indicator v5 Support & resistanceVolume
Updated 6 months ago · Apache-2.0 GitHub repository of AAPL Structural Lines & Fills
47 stars

This indicator draws colored boxes for six four-hour New York sessions, from 6pm through 2pm, and tracks each window's open, high, low, and close. It marks the high of day and low of day and records whether those extremes are later eliminated. A checkpoint tab

Indicator v5 Sessions & timeSupport & resistance
Updated 8 weeks ago · None stated GitHub repository of 4H HOD/LOD Checkpoint Analysis
47 stars

Ehlers Phasor Analysis calculates the phasor angle, derived cycle period, and market trend state using John Ehlers' cycle analysis techniques. It uses correlation against cosine and sine waveforms over a customizable lookback period to extract in-phase and qua

Indicator v6 TrendOscillators & momentum
Updated 8 months ago · MIT GitHub repository of Ehlers Phasor Analysis (PHASOR)

Chande Momentum Oscillator

by TWODS-CAPITAL
37 stars

This indicator plots the Chande Momentum Oscillator in a separate pane. It splits bar-to-bar changes of a chosen source into positive and negative parts, sums each over a lookback length, and scales the difference of those sums by their total into a percentage

Indicator v5 Oscillators & momentum
Updated 3 years ago · MIT GitHub repository of Chande Momentum Oscillator

Zen Z Bars V1

by Zen-Tim
29 stars

Zen Z Bars V1 analyzes bar-by-bar price action, candle range expansion, and internal bar strength (IBS). It identifies breakouts, inside and outside bars, climax candles based on range expansion factors, and tiered range multiple bars. The indicator draws brea

Indicator v5 Candlestick patternsBreakout
Updated 2 weeks ago · MIT GitHub repository of Zen Z Bars V1

Exhaustion Scanner is an overlay indicator that measures overextension and reversal risk by evaluating price stretch, momentum exhaustion, and candle triggers. It combines distance from moving averages and Bollinger Bands with momentum oscillators, divergence

Indicator v6 Oscillators & momentumVolatility & bands
Updated 4 days ago · MIT GitHub repository of Exhaustion Scanner [WavesUnchained]
7 stars

The 7M Multi-Factor Momentum Scoreboard evaluates real-time market momentum across multiple criteria and displays the results in an overlay dashboard panel on the price chart. It tracks anchored percentage price moves based on pre-market, regular open, or post

Indicator v6 Oscillators & momentumVolume
Updated 3 months ago · None stated GitHub repository of 7M Multi-Factor Momentum Scoreboard
7 stars

The RSI + BB Oscillator combines Relative Strength Index (RSI) and Bollinger Bands %B calculations across two timeframes into a single separate pane plot. It shifts RSI values around zero and measures %B bandwidth using selectable moving average types includin

Indicator v5 Oscillators & momentumVolatility & bands Repaints
Updated 4 months ago · None stated GitHub repository of RSI + BB Oscillator

2AM-Gold Swing Strategy

by alboogycOdR
6 stars

This indicator plots smart money concepts on the price chart, focusing on session setups initiated at a specified start hour. It calculates swing highs and lows, monitors liquidity sweeps, confirms market structure shifts, and identifies order blocks and fair

Indicator v5 SMC / ICT / price actionSessions & time
Updated 7 months ago · None stated GitHub repository of 2AM-Gold Swing Strategy

VP Sparse Visual Fixture

by 345-strategies
5 stars

This indicator is a visual-design fixture that does not calculate a volume profile. It draws one manually entered, already validated value-area edge, either VAH or VAL, as a thin price zone four ticks wide on the chart. The fixture stays off until enabled, and

Indicator v6 Support & resistance
Updated 5 days ago · MPL-2.0 GitHub repository of VP Sparse Visual Fixture

Spread by

by gorx1
5 stars

Spread by is a volatility channel overlay indicator that calculates statistical central tendencies and dispersion envelopes around price. It provides multiple central basis options including arithmetic mean, median, trimean, midhinge, midrange, root-mean-squar

Indicator v4 Volatility & bandsMoving averages
Updated 8 months ago · None stated GitHub repository of Spread by

MACD Breakout

by jerryinyang
5 stars

Calculates multi-timeframe Moving Average Convergence Divergence (MACD) alongside a Money Flow filter to identify potential market breakouts. It evaluates higher-timeframe MACD calculations using exponential or simple moving averages combined with Money Flow o

Indicator v4 TrendOscillators & momentum Repaints
Updated 2 years ago · None stated GitHub repository of MACD Breakout
4 stars

Calculates a standard Relative Strength Index (RSI) oscillator to trigger oversold and overbought signal conditions, then formats custom JSON alert payloads designed for webhook integration with external services. The script plots RSI in a separate pane and ge

Indicator v5 Oscillators & momentum
Updated 11 months ago · Custom licence GitHub repository of Webhook Alert Template [Lab]
3 stars

This indicator calculates 3-period and 13-period exponential moving averages (EMAs) and plots them on the main price chart. It checks whether a single candlestick's real body—the space between its open and close prices—intersects both EMAs on the same bar. Whe

Indicator v5 Moving averagesTrend
Updated 5 weeks ago · None stated GitHub repository of K-bar and EMA Crossover
3 stars

This indicator measures buyer and seller strength over a fixed twenty-bar lookback window and plots the result in a separate pane. It calculates bull force based on the distance from the lowest close and bear force from the highest close, incorporating the bar

Indicator v5 Oscillators & momentumTrend
Updated 5 months ago · None stated GitHub repository of CSW Bull/Bear Force
3 stars

This indicator plots trading signals, swing levels, a trend cloud, and optional take-profit and stop-loss targets directly on the price chart. It calculates advanced historical volatility metrics, including Garman-Klass and Yang-Zhang estimators, to evaluate m

Indicator v5 TrendVolatility & bands
Updated 1 year ago · None stated GitHub repository of Elite Algo Modded By AlgoPoint
3 stars

The Volatility Clustering Estimator measures autocorrelation in logarithmic price returns across daily, weekly, and monthly timeframes. It calculates logarithmic returns for higher-timeframe close prices and evaluates their correlation with lagged returns usin

Indicator v5 Volatility & bands Repaints
Updated 2 years ago · GPL-3.0 GitHub repository of Volatility Clustering Estimator

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