Pine Library · 7,612 open-source scripts

Free TradingView Indicators (page 79)

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,239
No repaint flag6,673

Indicators: All

Pro Pattern Al-Sat

by MeridianAlgo
9 stars

This overlay indicator marks bullish and bearish chart patterns on the price chart and can hide either side. Optional filters require agreement from fast and slow EMAs, Supertrend, and ADX, plus volume, RSI, nearby pivot support or resistance, and a user-defin

Indicator v6 Candlestick patternsTrend
Updated 4 months ago · MIT GitHub repository of Pro Pattern Al-Sat
9 stars

This separate-pane indicator compares selected forex and gold pairs. It requests the current close and the previous daily close from a chosen broker feed and maps numeric values onto a blue-to-red gradient. The pair-set input switches between overall currency

Indicator v4 Screeners & dashboards
Updated 5 years ago · None stated GitHub repository of |AG| 4th Dimension Currency Strength

Swing Levels

by lunarticktrading
7 stars

Swing Levels is a Pine Script indicator designed to replicate a popular pivot-based swing indicator from NinjaTrader directly on the price chart. It calculates swing high and swing low points using a user-definable length parameter and plots them with circles

Indicator v6 Support & resistance
Updated 3 weeks ago · None stated GitHub repository of Swing Levels

This indicator projects a dual-asset momentum matrix visualizer directly onto the price chart overlay. It calculates normalized momentum for the chart symbol using either RSI or Stochastic inputs adjusted by ATR volatility, and compares it against a benchmark

Indicator v6 Oscillators & momentumVolatility & bands Repaints
Updated 3 months ago · None stated GitHub repository of Pro Grid Elite: Advanced Dual-Asset Momentum Matrix

USDKRW Table

by suyons
7 stars

This indicator draws a one-cell table at the bottom left of the price chart. It requests the close of FX_IDC:USDKRW on the one-minute timeframe and formats that value with a Korean won symbol. Text is green when the chart bar open is at or below its close, and

Indicator v5 Screeners & dashboards
Updated 4 months ago · None stated GitHub repository of USDKRW Table

RSI + MFI Combined

by s4mn0v
7 stars

This indicator plots a custom RSI and an optional Money Flow Index in a separate pane so price momentum can be compared with volume-weighted momentum. It draws RSI bands at 30, 50, and 70 with gradient fills above and below the midline, plus dashed MFI levels

Indicator v6 Oscillators & momentum
Updated 5 months ago · None stated GitHub repository of RSI + MFI Combined
6 stars

This overlay indicator maps an opening drive for a chosen session, using the first 30 or 60 minutes. It tracks drive high, low, midpoint, range, pace, and volume versus a multi-session average, then projects continuation lines from the drive edge and fade line

Indicator v6 Sessions & timeSupport & resistance
Updated 2 months ago · MIT GitHub repository of Capital41 Opening Drive Playbook

Volume Profile Phase 0 Probe

by 345-strategies
5 stars

Volume Profile Phase 0 Probe is a non-visual diagnostic tool designed to perform parity testing and internal backend validation for volume profile calculations. It deliberately features no chart plots, signals, alerts, or visual drawings. The script computes i

Indicator v6 Volume
Updated 5 days ago · MPL-2.0 GitHub repository of Volume Profile Phase 0 Probe

This indicator calculates a volatility signal-to-noise ratio based on the absolute bar-to-bar price change. It estimates the mean and second moment using an exponential weighting scheme to evaluate relative noise in price movement. The resulting ratio is plott

Indicator v6 Volatility & bands
Updated 8 months ago · None stated GitHub repository of Volatility Signal-to-Noise Ratio

Williams %R

by SiegerTerpstra
5 stars

This indicator calculates Williams %R, a momentum oscillator that places the selected source inside the highest-high to lowest-low range over a chosen length and scales the result from 0 to -100. It draws the oscillator in a separate pane, colors it according

Indicator v6 Oscillators & momentum
Updated 9 months ago · None stated GitHub repository of Williams %R
4 stars

This indicator calculates both a standard Relative Strength Index and a Relative Liquidity Index, which applies an RSI calculation to Average True Range values. It plots these oscillators in a separate pane alongside overbought and oversold threshold levels. I

Indicator v6 Oscillators & momentumVolatility & bands
Updated 3 days ago · None stated GitHub repository of RSI + Relative Liquidity Index
4 stars

This indicator plots an exponential moving average ribbon consisting of 5, 8, and 13-period EMAs alongside dual Bollinger Bands (narrow and wide bands). It plots buy and sell shapes on the price chart whenever the 5 EMA crosses above or below the 13 EMA. In ad

Indicator v5 Moving averagesVolatility & bands
Updated 2 years ago · None stated GitHub repository of UMURLU 5-8-13 Tarama
4 stars

SnagProfit Trending is a multi-timeframe dashboard indicator that monitors trend direction across multiple resolutions using exponential moving average alignments. It calculates EMA relationships across timeframes starting from lower intervals like the one-min

Indicator v5 TrendScreeners & dashboards Repaints
Updated 4 years ago · None stated GitHub repository of SnagProfit Trending

ODIE AT-DDT

by gocaman
3 stars

ODIE AT-DDT combines an Arnaud Legoux Moving Average (ALMA) and an AlphaTrend indicator into a single price chart overlay. It calculates trend direction using ALMA smoothing alongside an ATR-based AlphaTrend that utilizes MFI or RSI. Visual buy and sell signal

Indicator v5 TrendMoving averages
Updated 3 days ago · None stated GitHub repository of ODIE AT-DDT

jash GGMA Granville

by jash-git
3 stars

This indicator combines modified Guppy Multiple Moving Average (GMMA) concepts with Granville's rules using Fibonacci-based exponential moving averages. It plots five EMAs on the price chart (3, 13, 34, 55, and 144 periods) to track short-term momentum, interm

Indicator v5 Moving averagesTrend
Updated 5 weeks ago · None stated GitHub repository of jash GGMA Granville

The BB Keltner Squeeze Oscillator combines Bollinger Bands and Keltner Channels to identify market volatility squeezes alongside dual moving average momentum oscillators. It plots two column histograms and zero-line squeeze dots in a separate pane below the pr

Indicator v5 Volatility & bandsOscillators & momentum
Updated 5 months ago · None stated GitHub repository of BB Keltner Squeeze Oscillator
3 stars

This indicator plots a fast and a slow simple moving average of the close on the price chart. It marks a bullish signal when the fast average crosses above the slow average and a bearish signal when it crosses below, using small triangles at the bar. A faint b

Indicator v5 Moving averagesTrend
Updated 7 months ago · None stated GitHub repository of Simple Moving Average Crossover

Lune Algo Premium

by IAMATOMIC001
3 stars

This multi-component overlay indicator plots algorithmic trading signals, trend clouds, and reversal bands directly on the price chart. Users can choose between multiple signal models tailored for scalping, momentum, or swing trading, adjusted via sensitivity

Indicator v5 TrendOscillators & momentum
Updated 1 year ago · None stated GitHub repository of Lune Algo Premium

BTMM Performance Tracker

by jcortes254
3 stars

BTMM Performance Tracker is a trade analytics indicator designed for Steve Mauro's Beat The Market Maker methodology. It tracks simulated trade executions driven by automated, manual, or external signal inputs to compute account performance, win rates, and ris

Indicator v5 Screeners & dashboardsSMC / ICT / price action
Updated 1 year ago · None stated GitHub repository of BTMM Performance Tracker

Normalized Advanced Decomposition Oscillator decomposes price action into three distinct components: a trend component based on a simple moving average, a noise component based on standard deviation, and a transient component derived from significant rate-of-c

Indicator v5 Oscillators & momentumVolatility & bands
Updated 2 years ago · GPL-3.0 GitHub repository of Normalized Advanced Decomposition Oscillator

Currency Strength Chart

by itmakesyousick
3 stars

Currency Strength Chart plots the relative strength of selected major currencies on a separate pane. Users choose currencies to display along with their colors and line widths. The script calculates strength based on price, RSI, CCI, or Stochastics with adjust

Indicator v5 Oscillators & momentumSupport & resistance
Updated 4 years ago · None stated GitHub repository of Currency Strength Chart

Monthly Seasonality

by piecioshka
2 stars

Monthly Seasonality colors the price chart background according to the calendar month using an HSV color wheel gradient spanning winter through autumn. Primarily designed for monthly timeframes, it helps identify recurring seasonal cycles across markets, such

Indicator v6 Sessions & time
Updated 13 days ago · MIT GitHub repository of Monthly Seasonality

SMC

by TamTH-Dev
2 stars

SMC is a multi-timeframe indicator that detects and plots Fair Value Gaps (FVGs) directly on the price chart. It scans across up to six user-selected higher timeframes—ranging from intraday minutes to daily and weekly intervals—to identify bullish and bearish

Indicator v6 SMC / ICT / price actionSupport & resistance Repaints
Updated 6 weeks ago · None stated GitHub repository of SMC

Lakshmi Zones v6

by voletiramu
2 stars

This indicator calculates daily candidate supply and demand zones and confirms them using 4-hour volume profile high-volume nodes. It overlays dynamic zone boxes, a Magic Line volatility channel, weekly close levels, and volume-price analysis signals directly

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 6 months ago · None stated GitHub repository of Lakshmi Zones v6

Elastic Volume-Weighted Student-T Tension is an oscillator that calculates location and dispersion parameters based on a Student-T distribution model. It uses volume or ATR as a weighting factor to estimate market tension relative to historical distribution le

Indicator v6 Oscillators & momentumVolatility & bands Repaints
Updated 8 months ago · None stated GitHub repository of Elastic Volume-Weighted Student-T Tension

Position Sizes

by etnt
2 stars

Position Sizes is an overlay indicator that calculates risk-managed trade sizing based on account size and risk percentage parameters. It calculates position values, required share quantities, stop-loss levels, and 1R take-profit targets across four customizab

Indicator v5 Screeners & dashboardsVolatility & bands
Updated 1 year ago · MPL-2.0 GitHub repository of Position Sizes

HTF Candles & Pivots

by itmakesyousick
2 stars

HTF Candles & Pivots overlays higher-timeframe candlestick bars, pivot points, and price structure directly onto the main price chart. It renders customizable higher-timeframe candle bodies, wicks, and time division separators while calculating classic pivot l

Indicator v5 Candlestick patternsSupport & resistance
Updated 3 years ago · None stated GitHub repository of HTF Candles & Pivots

HMM V2 Regime

by rellis3
1 stars

Classifies the market into bull, bear, range and chop regimes with a hidden Markov style model in a separate pane. Three standardised inputs, trend, volatility and ADX, are scored against configurable regime means and variances that can be pasted from an exter

Indicator v5 TrendAI / machine learning
Updated 3 days ago · None stated GitHub repository of HMM V2 Regime

VCP Setup

by ankurksoni
1 stars

A price-chart overlay that scans for volatility contraction setups, mainly on daily charts. It counts bullish divergences between price and cumulative volume delta built from intrabar data, within a lookback window, and checks that price sits near the range hi

Indicator v6 VolumeVolatility & bands
Updated 4 days ago · None stated GitHub repository of VCP Setup

SMC Exit Signal

by skipp-dev
1 stars

SMC Exit Signal is an overlay companion indicator that manages position lifecycle states driven by external Smart Money Concepts engine outputs. It monitors trigger levels, stops, and take-profit targets to track active trades directly on the chart. It can dyn

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 5 days ago · None stated GitHub repository of SMC Exit Signal

P Syn Inputs All

by GammaExpansion
1 stars

This Pine Script v6 indicator tests every supported input type including integers floats booleans strings textareas sources colors times prices symbols timeframes and sessions. It sums all selected input values then plots that total along with the close price

Indicator v6
Updated 8 days ago · MIT GitHub repository of P Syn Inputs All

An indicator meant for the 15-minute chart that extracts delta-based points of interest from each session, turns them into ATR-sized zones with contamination and freshness rules, and marks the first close through a zone edge plus an ATR buffer. A break can opt

Indicator v6 VolumeSupport & resistance Repaints
Updated 9 days ago · GPL-3.0 GitHub repository of Delta Break and Retest Stage 5 Break Detection
1 stars

This indicator calculates the distance in ATR units to the nearest higher timeframe OHLC level from the current close price. It identifies the closest level above or below the price and computes the average of near and big levels distances. The script plots we

Indicator v6 Support & resistanceVolatility & bands
Updated 2 weeks ago · None stated GitHub repository of DEPV2 C1b · HEDEF MESAFESİ

Types Demo

by Alaamo7
1 stars

Types Demo is an educational indicator designed to illustrate fundamental Pine Script variable types, including boolean, integer, float, string, and color. It checks whether the current bar is bullish and plots the closing price in green within a separate pane

Indicator v6 Candlestick patterns
Updated 2 months ago · Custom licence GitHub repository of Types Demo

Median Cascade Trend

by vedkanani123
1 stars

A price-chart indicator by BackQuant that smooths a chosen source through up to three causal median filters, then a two-pole Super Smoother, to draw a trend line coloured by direction. A chop filter can block trend changes when directional efficiency or ATR-no

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

Range Detector

by tthanhvu002sgu
1 stars

Finds sideways ranges on the price chart and draws them as boxes. A range is flagged when every close over the minimum length stays within an ATR-based band around a simple moving average. The box, a dotted midline and top and bottom plot lines extend while th

Indicator v5 Support & resistanceBreakout
Updated 3 months ago · None stated GitHub repository of Range Detector

NY Anchor Range FVG Breakout

by riegodavid-git
1 stars

An overlay indicator that marks an anchor range during a configurable morning session, by default 09:00 to 10:00 New York time. It detects a breakout from that range, sets a bullish or bearish bias, and finds fair value gaps in the breakout leg. It then tracks

Indicator v5 SMC / ICT / price actionBreakout
Updated 4 months ago · None stated GitHub repository of NY Anchor Range FVG Breakout

REQ TEST

by kevinesk
1 stars

REQ TEST is a minimal diagnostic utility indicator that tests external symbol data accessibility using security requests. It fetches daily closing price data for specified US market tickers including major index ETFs and market indicators such as SPY, QQQ, XLK

Indicator v5 Screeners & dashboards
Updated 4 months ago · None stated GitHub repository of REQ TEST

Quad Rotation 40 4

by rubbermetal
1 stars

Quad Rotation 40 4 is the slow pane of a four-stochastic setup with periods 9, 14, 40 and 60. It plots the 40/4 stochastic K and D lines in a separate pane with oversold and overbought zones, K/D cross triangles inside extreme zones, and a convergence band wei

Indicator v6 Oscillators & momentumDivergence
Updated 4 months ago · MPL-2.0 GitHub repository of Quad Rotation 40 4

Multi-Timeframe Trend Alignment

by shubhamtaywade82
1 stars

Compares price with a moving average on four selectable timeframes, defaulting to 15 minutes, 1 hour, 4 hours and 1 day. Each timeframe scores plus one, minus one or zero, and the four are summed into an alignment score from minus four to plus four. It plots i

Indicator v6 TrendMoving averages Archived
Updated 5 months ago · None stated GitHub repository of Multi-Timeframe Trend Alignment

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