Pine Library · 7,612 open-source scripts

Free TradingView Indicators (page 62)

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

Fractal Sweep v2

by abhinaynatraj
1 stars

A second version of the Fractal Sweep CISD indicator with more trade management options. Besides detecting a sweep, return and CISD, it lets the user pick the entry point (market or limit at cascade retracement levels), the target reference, and a take profit

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 3 months ago · None stated GitHub repository of Fractal Sweep v2
1 stars

This indicator maps Smart Money Concepts (SMC) elements directly onto the price chart. It identifies swing highs and swing lows to track market structure (HH, HL, LH, LL), Break of Structure (BoS), and Change of Character (CHoCH) using either pivot or session

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 4 months ago · None stated GitHub repository of SMC Market Structure Indicator
1 stars

An overlay that draws a session-anchored VWAP with optional standard-deviation bands and reads price above or below it as a bullish or bearish bias. When VWAP is sloping and a candle pulls back near it and closes in the trend direction on a confirmed bar, it m

Indicator v5 VolumeMean reversion
Updated 4 months ago · None stated GitHub repository of VWAP + Volume Levels
1 stars

This indicator assists intraday breakout execution on KLSE stocks. It plots VWAP, EMA 9, EMA 21 on the price chart along with an opening range from the first 30 minutes of the session and a buy zone band above the daily pivot price. Settings control the pivot

Indicator v5 Moving averagesSupport & resistance
Updated 4 months ago · None stated GitHub repository of KLSE Intraday Execution Helper

EMA Crossover

by rubbermetal
1 stars

EMA Crossover plots a fast and a slow exponential moving average, fills the space between them green or red by direction, and marks each cross with a Long or Short label. A background tint appears when the gap between the averages exceeds a multiple of ATR. Op

Indicator v6 TrendMoving averages
Updated 4 months ago · MPL-2.0 GitHub repository of EMA Crossover

Deep Trades Whales v4

by shubhamtaywade82
1 stars

Deep Trades Whales v4 is an indicator that detects large institutional trades by analyzing volume spikes against historical percentiles and Z-scores. It identifies whale activity through iceberg absorption patterns that require proximity to prior swing highs o

Indicator v6 VolumeVolatility & bands Archived
Updated 5 months ago · None stated GitHub repository of Deep Trades Whales v4
1 stars

This price-chart indicator builds a right-side volume profile and an anchored VWAP for crypto analysis. Lookback, row count, value-area percent, and acceptance bars shape the profile, while daily, weekly, or monthly anchors and a standard-deviation multiplier

Indicator v6 VolumeVolatility & bands
Updated 5 months ago · MIT GitHub repository of Crypto AMT Toolkit v6 Stable Alert

PPP Levels

by onlyspx
1 stars

This indicator draws horizontal price levels from data the user pastes into two text boxes. The first takes a price and a description for key levels, with points of control shown in a different colour. The second takes a description with an ES level and an NQ

Indicator v5 Support & resistance
Updated 6 months ago · None stated GitHub repository of PPP Levels

Simple Moving Average

by Sandesh30-cloud
1 stars

A minimal Pine v5 indicator that plots a 20-period simple moving average of the close as a blue line on the price chart. The period is fixed in the code, so there are no inputs, alerts or signals. It is a basic learning example showing how a moving average is

Indicator v5 Moving averages
Updated 6 months ago · None stated GitHub repository of Simple Moving Average

Tactical

by dtheran1
1 stars

A trend and signal overlay for the price chart. It draws a trend line from a moving average, 45 periods by default and selectable as SMA, EMA, WMA, HMA or VWMA, with colour by direction and an optional fill. Long and short signals are labelled progressively as

Indicator v6 TrendMoving averages
Updated 6 months ago · None stated GitHub repository of Tactical
1 stars

This indicator reads the native footprint of each bar to find buy and sell volume imbalances at each price row. A row counts as imbalanced when one side exceeds the other by a set multiplier, checked diagonally or across the row depending on the chosen method,

Indicator v6 Volume
Updated 6 months ago · None stated GitHub repository of Footprint Imbalance Delta

RSI Elite Toolkit

by Focal-QuantAI
1 stars

An indicator in a separate pane built on a 21 period RSI with an optional higher-timeframe version, a selectable smoothing average, adjustable overbought, oversold and midline levels, and highlighted extreme zones. It detects regular and hidden divergences usi

Indicator v6 Oscillators & momentumDivergence
Updated 6 months ago · None stated GitHub repository of RSI Elite Toolkit

Moments Functions

by Teerth1
1 stars

Plots rolling statistical moments of returns or a chosen source: mean, variance, skewness and excess kurtosis, selected from a dropdown. Options add standard deviation bands around the mean, show standard deviation in place of variance, and display critical va

Indicator v5 Volatility & bands
Updated 6 months ago · None stated GitHub repository of Moments Functions
1 stars

A separate-pane indicator that estimates net central bank liquidity as the Fed balance sheet minus reverse repo and Treasury account balances, plus the ECB, People's Bank of China and Bank of Japan balance sheets, all converted to dollars. It divides this by c

Indicator v6
Updated 7 months ago · None stated GitHub repository of Central Bank Liquidity to M2
1 stars

An indicator that reads trend from a fast and slow EMA on four-hour data and requires a minimum percentage separation between them. Entries also need volume above its moving average by a multiple, an RSI check and on-balance volume above its EMA. A cooldown li

Indicator v5 TrendVolume
Updated 7 months ago · None stated GitHub repository of V13 Trend Momentum Rider

RSI Indicator

by haydarkadioglu
1 stars

The RSI Indicator plots the Relative Strength Index on a separate pane to measure momentum. It calculates RSI with a user-defined length (default 14) and displays horizontal lines for oversold (default 40), overbought (default 60), and middle (50) levels. Back

Indicator v5 Oscillators & momentum
Updated 8 months ago · None stated GitHub repository of RSI Indicator

MNQ Gamma (7DTE)

by Juice-zhi
1 stars

A price-chart overlay that draws a static set of options gamma levels for MNQ (Micro Nasdaq-100 futures, scaled from QQQ options) expiring in seven days. The center line and the one and two standard deviation bands are hardcoded numbers from a snapshot dated 2

Indicator v5 Support & resistance
Updated 8 months ago · None stated GitHub repository of MNQ Gamma (7DTE)
1 stars

An overlay indicator that projects standard deviation levels from interbank price delivery lookback ranges. Monthly, weekly, daily and intraday lookbacks can each be switched on and are applied according to the chart timeframe range set for them. The deviation

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 9 months ago · None stated GitHub repository of IPDA Standard Deviations
1 stars

Plots five moving averages on the price chart in one script, defaulting to exponential averages of 9, 20, 50, 100 and 200 bars in graded blue shades. Each line has its own type from SMA, EMA, SMMA, WMA or VWMA, plus length, source, offset and an optional highe

Indicator v5 Moving averagesTrend
Updated 9 months ago · MPL-2.0 GitHub repository of Multiple Moving Averages
1 stars

Volume Profile Advanced calculates session-based volume distribution across customizable lookback periods on the main price chart. It determines key market profile metrics, including the Point of Control (POC), Value Area High (VAH), Value Area Low (VAL), and

Indicator v5 VolumeSupport & resistance
Updated 9 months ago · MIT GitHub repository of Volume Profile Advanced

RSI Divergence Detector

by knectardev
1 stars

This indicator detects divergences between the RSI oscillator and price action. It calculates the RSI value using a user-defined length and identifies pivot highs and lows on both the price series and the RSI itself. The script plots bull divergences as potent

Indicator v6 DivergenceOscillators & momentum
Updated 9 months ago · None stated GitHub repository of RSI Divergence Detector

VuManChu B Divergences

by matlaenousse
1 stars

Calculates and plots a multi-oscillator panel inspired by Market Cipher B, combining a WaveTrend oscillator, fast WaveTrend line, Money Flow Index (MFI) area, and RSI. It automatically identifies regular and hidden bullish and bearish divergences, plotting sig

Indicator v4 Oscillators & momentumDivergence
Updated 10 months ago · None stated GitHub repository of VuManChu B Divergences
1 stars

Kurutoga Screener Timing Fix calculates price divergence from highest-high and lowest-low midpoints across three lookback horizons. By assessing divergence consistency across base, double, and quadruple lengths, it identifies synchronized momentum conditions.

Indicator v5 Screeners & dashboardsOscillators & momentum
Updated 1 year ago · MIT GitHub repository of Kurutoga Screener Timing Fix

A variant of a large overlay indicator that merges forex session boxes with kill zones, a market structure oscillator, zero-lag trend levels, a volumatic VIDYA average, an adaptive Money Flow Index, an ADX histogram, a dual-speed TSI and multi-timeframe panels

Indicator v5 Sessions & timeSMC / ICT / price action

Trend Indicator A

by mkdir700
1 stars

A price-chart overlay that draws a selectable moving average of the close, with optional high and low lines and a fill between them, coloured by trend direction. The average type can be ALMA, HMA, SMA, SWMA, VWMA, WMA, ZLEMA or EMA. Optional RSI and volume con

Indicator v5 TrendMoving averages
Updated 1 year ago · None stated GitHub repository of Trend Indicator A
1 stars

This indicator identifies support and resistance turning points on the price chart using higher-order momentum analysis. It calculates a double-smoothed exponential moving average, derives its first momentum, and detects zero-crossings of its second momentum t

Indicator v4 Support & resistanceOscillators & momentum
Updated 1 year ago · None stated GitHub repository of Support and Resistance Levels v3

Hello World

by fiji-solutions
1 stars

This educational script calculates and plots 50-bar highest high and lowest low levels directly on the price chart. It highlights breakout conditions by coloring the chart background green when the closing price exceeds the previous 50-bar high, and red when t

Indicator v5 Support & resistanceBreakout
Updated 2 years ago · None stated GitHub repository of Hello World
1 stars

An overlay that plots up to three double exponential moving averages with separate lengths, where setting a length to zero disables a line. The crossover logic depends on which lines are active: price against the first line when it is alone, or the first line

Indicator v5 Moving averagesTrend
Updated 2 years ago · None stated GitHub repository of Double Exponential Moving Average
1 stars

This indicator compares the current chart with a user-selected reference market in a separate pane. It converts both series into percentage changes, stores them in rolling arrays of a chosen lookback, and plots covariance as a filled area and the correlation c

Indicator v4
Updated 2 years ago · None stated GitHub repository of PSMC - Correlation Meter

RSI Divergence+

by krosenfeld7
1 stars

This indicator plots the Relative Strength Index (RSI) on the price chart with customizable overbought and oversold bands at 70 and 30. It detects divergences between price highs and lows versus RSI pivots using lookback periods and tolerance settings. The mai

Indicator v4 Oscillators & momentumDivergence Repaints
Updated 3 years ago · Apache-2.0 GitHub repository of RSI Divergence+

SPX Sentiment

by nvFede
1 stars

A Pine v4 indicator in a separate pane that divides the S&P 500 index by the VIX volatility index to form a ratio, then compares it with its own average and a z-score style measure over a chosen length. It colours the background by whether the ratio is above o

Indicator v4 Volatility & bandsMean reversion
Updated 3 years ago · None stated GitHub repository of SPX Sentiment

Bband Pinch & Expand

by JohnsonHsiao
1 stars

Bband Pinch & Expand calculates Bollinger Bands width and compares it against its simple moving average to detect periods of volatility expansion and contraction. The script plots a histogram of the difference between the current band width and its moving aver

Indicator v5 Volatility & bandsMoving averages
Updated 3 years ago · None stated GitHub repository of Bband Pinch & Expand

Hotch Strat

by rajatjpatel
1 stars

A Pine v5 overlay that detects Williams-style fractals over an adjustable period and filters them by a recent RSI extreme. When a down fractal forms after RSI dipped into the 20s, 30s or 40s over the lookback, an up triangle of a matching shade is drawn below

Indicator v5 Oscillators & momentumSupport & resistance
Updated 4 years ago · None stated GitHub repository of Hotch Strat

Ichimoku Kumo

by hayashi19
1 stars

This indicator draws an Ichimoku Kinko Hyo set on the price chart, with conversion and base lines, leading spans A and B, a lagging line and a cloud filled lime or red depending on which span is higher. Candles are coloured green, red or white by their positio

Indicator v5 TrendSupport & resistance
Updated 4 years ago · None stated GitHub repository of Ichimoku Kumo

RSI-ADI-Combo

by DT021
1 stars

This indicator combines the Average Directional Index (ADX) for trend strength, Money Flow Index (MFI) for volume flow analysis, and Relative Strength Index (RSI) for momentum signals. The ADX is plotted as colored columns with background coloring indicating u

Indicator v4 TrendOscillators & momentum
Updated 6 years ago · GPL-3.0 GitHub repository of RSI-ADI-Combo

Parabolic SAR

by everget
947 stars

This indicator plots the Parabolic SAR on the price chart using TradingView's built-in SAR function. Direction is long when the SAR sits below the close and short when it sits above. Circles mark the SAR and are colored by that direction. Optional buy and sell

Indicator v6 Trend
Updated 13 days ago · GPL-3.0 GitHub repository of Parabolic SAR
575 stars

This indicator detects equal highs and lows by comparing prices within user-defined left and right bars using a tolerance percentage. It plots horizontal lines on the price chart for equal highs in one color and lows in another. A screener allows input of mult

Indicator v5 Support & resistanceTrend
Updated 1 year ago · MPL-2.0 GitHub repository of ICT Equal Highs and Lows with Screener
330 stars

This indicator calculates the Supertrend direction across multiple selected symbols on the active timeframe using custom ATR length and multiplier settings. When the trend switches between bullish and bearish for any enabled asset, the script triggers formatte

Indicator v5 Trend
Updated 2 months ago · None stated GitHub repository of Multi Supertrend [Alorse]
318 stars

This indicator plots three moving averages on the price chart using lengths of 8, 21 and 50 by default. It colors the first average blue, the second maroon and the third red. A translucent fill between the first and second averages turns lime when the first is

Indicator v5 TrendMoving averages
Updated 2 months ago · MIT GitHub repository of TVT 3X Scale In Out

6060-tracker

by Allen1212
303 stars

The 6060-tracker draws historical ARK Invest purchase marks for this stock on the price chart. With the ETF input set to ALL, it places green below-bar labels reading Buy X1 on many fixed calendar dates from June through late November 2020. The only setting sw

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

ATR Forward Box

by TradersPost
228 stars

This overlay indicator draws a one-bar-wide box a chosen number of bars ahead of the current bar. The box is centered on the selected price—current close, high, low, or HL2—and extends one ATR above and below that level. It deletes the previous box and creates

Indicator v6 Volatility & bands
Updated 3 months ago · None stated GitHub repository of ATR Forward Box

扣抵草稿

by TaichiS
219 stars

This indicator plots a visual reference directly on the main price chart. It checks whether the current bar is the last bar on the chart and displays text below the candle with a twenty-bar negative offset. Designed as an educational draft for moving average d

Indicator v4 Moving averages
Updated 5 years ago · None stated GitHub repository of 扣抵草稿

The AMFM indicator decomposes price movements into amplitude and frequency components using Ehlers' digital signal processing methods. It whitens the derivative as close minus open, then computes AM as the smoothed envelope of the absolute difference over 4 pe

Indicator v6 Volatility & bandsMoving averages
Updated 4 weeks ago · Apache-2.0 GitHub repository of AMFM - Ehlers AM Detector / FM Demodulator

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