Pine Library · 7,612 open-source scripts

Free TradingView Indicators (page 58)

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

This indicator calculates and plots key market profile structure from previous sessions, including Value Area High, Value Area Low, Point of Control, and session High/Low levels, alongside the current session's Opening Range. User settings allow customization

Indicator v6 Sessions & timeSupport & resistance
Updated 2 weeks ago · MPL-2.0 GitHub repository of Taught to Trade - Session Range & Value Area Map

Unicorn Model

by Just-beyond-z
1 stars

An ICT-style overlay that looks for a breaker block combined with a fair value gap after a liquidity sweep of a higher-timeframe level. Confirmed setups draw a breaker box, a gap box and the swept level, and can add an entry, an invalidation level and a reward

Indicator v6 SMC / ICT / price action
Updated 2 weeks ago · None stated GitHub repository of Unicorn Model
1 stars

An overlay indicator that rebuilds opening range levels for one chosen historical date. After the selected number of opening candles from a set market open time, it draws the range high, low and average, then first, second and third resistance and support line

Indicator v5 Sessions & timeSupport & resistance
Updated 2 weeks ago · None stated GitHub repository of Dynamic OR Historical Levels
1 stars

A signal-only indicator that looks for exhaustion after a run of consecutive same-colour candles ending in a doji. A top needs bullish candles with RSI overbought and a new high versus recent bars; a bottom mirrors this. A separate news mode flags unusually la

Indicator v6 Mean reversionCandlestick patterns
Updated 2 weeks ago · None stated GitHub repository of Top Bottom Reversal

VWAP Signal Suite

by JACKZHOU0521
1 stars

This indicator calculates a session-resetting Volume Weighted Average Price (VWAP) along with inner and outer standard deviation bands plotted directly on the price chart. It provides bar-close confirmed visual signals for VWAP crossovers, pullback reclaims fo

Indicator v6 Moving averagesVolatility & bands
Updated 5 weeks ago · None stated GitHub repository of VWAP Signal Suite
1 stars

A Pine v5 indicator in a separate pane that labels the market state using volatility and trend alignment. It plots ATR as a percentage of price, Bollinger Band width with its 50-bar average, and a squeeze and expansion flag. A 10, 20 and 50 EMA alignment marks

Indicator v5 Volatility & bandsTrend
Updated 7 weeks ago · None stated GitHub repository of Volatility Regime Detector
1 stars

An indicator in a separate pane that separates realised variance from jump-robust bipower variation over a rolling window, and shows the share of recent volatility attributed to jumps. It adds a Barndorff-Nielsen and Shephard style significance test, bar-by-ba

Indicator v5 Volatility & bands
Updated 7 weeks ago · MPL-2.0 GitHub repository of JRD v2 Jump Risk Differential

VWAP

by DEVfancybear
1 stars

This indicator calculates and plots the Volume Weighted Average Price (VWAP) directly on the main price chart using typical price values. It serves as a benchmark representing the average price weighted by volume throughout the session. Users can customize the

Indicator v6 Moving averagesVolume
Updated 7 weeks ago · MIT GitHub repository of VWAP
1 stars

BMoon System Order Block is an overlay indicator that projects Fibonacci price levels and timing zones based on user-selected range points. It features an Auto Fib range calculator alongside an optional Smart Dynamic Engine that evaluates post-range breakout a

Indicator v6 Support & resistanceSMC / ICT / price action
Updated 7 weeks ago · None stated GitHub repository of BMoon System Order Block
1 stars

This script acts as a reference template for testing assertion blocks in Pine Script. It calculates pass and fail counts for assertions and displays them in a table dashboard at the bottom left of the chart. When test mode is enabled, it runs assertions on val

Indicator v6 Screeners & dashboards
Updated 8 weeks ago · MPL-2.0 GitHub repository of Test Block Pattern Reference
1 stars

Custom Signal Example is an educational Pine Script v6 indicator designed to demonstrate signal logic and on-chart plotting. Built as an introductory learning exercise, the script highlights how to construct custom conditions and display visual cues directly o

Indicator v6
Updated 2 months ago · Custom licence GitHub repository of Custom Signal Example

Kalman Flow

by vedkanani123
1 stars

An overlay indicator that runs price through a Kalman filter and builds adaptive noise bands from the tracking error around the estimate. The trend flips bullish when price closes above the upper band with positive velocity, and bearish when it closes below th

Indicator v6 TrendVolatility & bands
Updated 2 months ago · None stated GitHub repository of Kalman Flow
1 stars

Pine v6 overlay indicator that builds volume order block zones from fast and slow EMA crossovers at six sensitivity tiers, from 1000 to 2500 bars. Bullish zones form around the lowest bar and bearish zones around the highest, and zones are removed when price c

Indicator v6 Support & resistanceVolume
Updated 2 months ago · None stated GitHub repository of VOB Asym T3 x6 MutEx Lines
1 stars

Overlay indicator for XAUUSD gold that draws predicted support and resistance levels at 08:00 and 19:00 SGT on the price chart along with buy and sell take-profit levels spaced by ATR multiples. It generates RSI reversal signals as triangles when the indicator

Indicator v5 Support & resistanceOscillators & momentum
Updated 3 months ago · None stated GitHub repository of Predicted Signals + RSI trigger

GrimmPaint 2.0 Alerts

by GreyssonEnterprises
1 stars

An indicator that marks gap-style candles where the low is above the high from two bars earlier (bullish) or the high is below the low from two bars earlier (bearish). It then tracks re-entry into that candle's range during up to three user-set time windows on

Indicator v5 Sessions & timeSupport & resistance
Updated 3 months ago · MIT GitHub repository of GrimmPaint 2.0 Alerts

A/D Context v20.8

by VVASILEVSS
1 stars

A Pine v5 indicator in a separate pane using Williams or Chaikin accumulation and distribution flow, a smoothing EMA, Chaikin Money Flow and ATR. It detects divergences between price and flow pivots and draws a line for the active divergence zone that fades on

Indicator v5 DivergenceVolume
Updated 3 months ago · None stated GitHub repository of A/D Context v20.8

Quantum Flow Lean

by Jitheandra98
1 stars

This indicator draws gold-oriented smart money concepts on the price chart: a higher-timeframe EMA bias, swing break of structure, order blocks, fair value gaps and sweeps of the previous day high and low. A signal needs bias, a sweep, a zone touch and a displ

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 3 months ago · None stated GitHub repository of Quantum Flow Lean

Buddha Squeeze

by DarthBuddha
1 stars

A separate-pane momentum and volatility indicator in the style of the TTM Squeeze. It plots a linear-regression oscillator as columns coloured by direction and by whether momentum is rising or falling, with yellow marks on the zero line while Bollinger Bands s

Indicator v6 Oscillators & momentumVolatility & bands
Updated 3 months ago · MIT GitHub repository of Buddha Squeeze

Reynolds Flow - Energy River

by tthanhvu002sgu
1 stars

Applies a fluid-dynamics analogy to price in a separate pane. A raw Reynolds-style number divides candle body size, signed by price against a moving average, by ATR. It is normalised and ranked by percentile to classify flow as laminar, turbulent, viscous or s

Indicator v5 Volatility & bandsOscillators & momentum
Updated 3 months ago · None stated GitHub repository of Reynolds Flow - Energy River

Fusion DBSI

by shahzaib-574
1 stars

The Fusion DBSI indicator calculates a momentum score for each candle by combining oscillators, wave momentum, VWAP, money flow, RSI, Stoch RSI, divergences, and an EMA ribbon. Positive scores indicate bullish conditions while negative scores flag bearish reve

Indicator v6 Oscillators & momentum
Updated 3 months ago · None stated GitHub repository of Fusion DBSI
1 stars

The SMC Market Structure Indicator tracks market structure on the price chart using Smart Money Concepts. It identifies trend points including Higher Highs, Higher Lows, Lower Highs, and Lower Lows, while flagging Break of Structure and Change of Character eve

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

XAUUSD-Asia Reversion

by riegodavid-git
1 stars

An overlay indicator written for gold during a morning window in Philippine time. It combines a short-period RSI with fractal sweep detection, where price takes out recent fractal highs or lows, and fair value gap boxes with optional volume, ATR and trend filt

Indicator v6 SMC / ICT / price actionMean reversion
Updated 4 months ago · None stated GitHub repository of XAUUSD-Asia Reversion

BB Squeeze + Breakout

by kevinesk
1 stars

This indicator measures Bollinger Band width as a percentage of the middle band and plots it in a separate pane. It marks a squeeze when that width equals its lowest value over 126 bars and also flags bars where the Bollinger Bands sit inside Keltner Channels

Indicator v5 Volatility & bands
Updated 4 months ago · None stated GitHub repository of BB Squeeze + Breakout

EMA Cloud

by rubbermetal
1 stars

EMA Cloud draws a ribbon of eighteen exponential moving averages from 5 to 200 periods, with fills between neighbouring lines colored by which average sits higher. It adds a 120-period RMA line, markers where the fastest EMA crosses the 200 EMA, golden and dea

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

Deep Trades Whales LuxAlgo

by shubhamtaywade82
1 stars

A cleaner display version of a volume-based whale detector on the price chart. It uses a volume percentile and z-score gate, scales ATR thresholds by a low, normal or high volatility regime, and marks price impact bars, iceberg-style absorption, clusters and e

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

An overlay toolkit for crypto charts that mixes a volume profile and value area, a daily, weekly or monthly anchored VWAP with bands, EMA trend lines, a higher-timeframe EMA bias, and an order flow proxy from lower-timeframe delta, relative volume and cumulati

Indicator v6 VolumeSupport & resistance
Updated 5 months ago · MIT GitHub repository of Crypto AMT Toolkit v5 Signal Engine

Jasper Working OB Strategy

by Alberto082544
1 stars

Jasper Working OB Strategy is an indicator that detects bullish and bearish order blocks (OB) from fair value gaps and displacement conditions. It stores the OB zones on the chart and maintains persistent memory of touches to these zones. Reversal signals trig

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 5 months ago · None stated GitHub repository of Jasper Working OB Strategy

First Hour Range

by onlyspx
1 stars

This indicator records the high and low of the first hour of the US cash session, from 9:30 to 10:30 on the chart clock, then draws horizontal lines for both. It also draws dashed lines at one and a half times and dotted lines at two times the range, above the

Indicator v5 Sessions & timeSupport & resistance
Updated 6 months ago · None stated GitHub repository of First Hour Range

RSI Indicator

by Sandesh30-cloud
1 stars

A very small Pine v5 indicator in a separate pane that plots a 14-period Relative Strength Index of the close as a purple line, with horizontal reference lines at 70 and 30. The period is fixed in the code and there are no settings, signals, alerts or smoothin

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

Detects swing highs and swing lows with a pivot lookback of 21 bars by default, then labels candlestick patterns that form at those turning points, such as hammer, inverted hammer, hanging man, shooting star and engulfing candles. Labels carry short descriptio

Indicator v5 Candlestick patternsSupport & resistance
Updated 6 months ago · None stated GitHub repository of Swing Highs/Lows & Candle Patterns
1 stars

A trend indicator for the price chart that draws a moving-average trend line, 45 periods by default and selectable as SMA, EMA, WMA, HMA or VWMA, offset by an ATR multiple. It detects buying and selling pressure with an adjustable threshold, and can colour can

Indicator v6 TrendMoving averages
Updated 6 months ago · None stated GitHub repository of M45 Indicator - Aurolo
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

Linear Moments

by Teerth1
1 stars

Calculates L-moments of a rolling window of log returns or the raw source: the mean, L-scale, L-skewness and L-kurtosis. A selector chooses which moment is plotted, and the lookback sets the window size. For kurtosis it draws a reference level for a chosen the

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

Central Bank

by AlanGuo
1 stars

This indicator requests Federal Reserve, European Central Bank, People's Bank of China, and Bank of Japan balance-sheet series, plus US reverse-repo and Treasury General Account balances. It converts each series to trillions of US dollars, subtracts reverse re

Indicator v6
Updated 7 months ago · None stated GitHub repository of Central Bank

ML Price Predictor (KNN)

by haydarkadioglu
1 stars

This overlay indicator compares the current bar with historical patterns using a k-nearest neighbors search. It measures RSI, RSI slope, volume relative to a 20-bar average, EMA trend strength, and price position within a range, each scaled by a user weight. F

Indicator v5 AI / machine learningOscillators & momentum
Updated 8 months ago · None stated GitHub repository of ML Price Predictor (KNN)
1 stars

This indicator detects swing highs and lows using pivot points on the chart. It calculates Fibonacci retracement levels for each swing and optionally enables a trading strategy. The strategy sets stop loss and take profit using ATR multipliers. Main settings a

Indicator v5 Support & resistanceTrend
Updated 8 months ago · None stated GitHub repository of AutoFibAlgo Automatic Fibonacci

MNQ Gamma (30DTE)

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 thirty days. The center line and the one and two standard deviation bands are hardcoded numbers from a snapshot dated

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

An overlay indicator that shades the Asia, London and New York sessions and classifies days against the seek and destroy profile. If London takes both sides of the Asian range, it labels a potential day and can show a warning table for the New York session. Af

Indicator v5 Sessions & timeSMC / ICT / price action
Updated 9 months ago · None stated GitHub repository of ICT Seek & Destroy Profile

Draws vertical separator lines on the price chart where higher-timeframe periods begin, such as each day, week or month. Up to four separators can be enabled, each with its own timeframe, lookback count, colour, line width and style. A reference setting choose

Indicator v5 Sessions & time
Updated 9 months ago · MPL-2.0 GitHub repository of Multi-Timeframe Period Separators

RSI Divergence Detector

by knectardev
1 stars

The RSI Divergence Detector calculates Relative Strength Index (RSI) values and compares pivot highs and lows between price action and the RSI oscillator. It identifies four distinct divergence types: regular bullish, regular bearish, hidden bullish, and hidde

Indicator v6 Oscillators & momentumDivergence
Updated 9 months ago · None stated GitHub repository of RSI Divergence Detector
1 stars

Combined Indicators v5 Fixed merges multiple technical tools into a single price chart overlay. It identifies Smart Money Concepts structure such as Break of Structure, Change of Character, Order Blocks, Fair Value Gaps, and equal highs or lows. Additionally,

Indicator v5 SMC / ICT / price actionOscillators & momentum
Updated 9 months ago · None stated GitHub repository of Combined Indicators v5 Fixed
1 stars

The Hybrid Overbought/Oversold Detector combines several classic technical indicators, such as Bollinger Bands %B, CCI, CMF, and CMO, into a consolidated oscillator displayed in a separate pane. It calculates aggregate momentum and volume conditions to identif

Indicator v5 Oscillators & momentumVolatility & bands
Updated 10 months ago · None stated GitHub repository of Hybrid Overbought/Oversold Detector

MTF Trend Dashboard

by surajmateti
1 stars

This indicator tracks and compares trend direction across the current chart timeframe and a customizable higher timeframe. It calculates fast and slow exponential moving averages on both timeframes, classifying conditions as bullish, bearish, or flat based on

Indicator v5 TrendMoving averages
Updated 11 months ago · None stated GitHub repository of MTF Trend Dashboard

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