Pine Library · 7,612 open-source scripts

Free TradingView Indicators (page 54)

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

ORB + Targets

by kasutu
1 stars

An opening range breakout indicator that records the high and low of a configurable session window (default 06:00 to 06:20 in a chosen timezone) and draws them on the price chart. After the window closes it marks a close beyond either edge, optionally requirin

Indicator v6 Sessions & timeBreakout
Updated 2 weeks ago · None stated GitHub repository of ORB + Targets

Previous-Day Levels

by JACKZHOU0521
1 stars

Previous-Day Levels plots the prior-day high, prior-day low, and an optional prior-day midpoint directly on the price chart. It evaluates price interactions with these benchmark levels to highlight breakouts and rejections upon bar close. Breakout signals trig

Indicator v6 Support & resistanceBreakout
Updated 5 weeks ago · None stated GitHub repository of Previous-Day Levels

Simple Test

by mrme000m
1 stars

This indicator plots a 14-period relative strength index of the close and a 21-period exponential moving average of the close in a separate pane. The RSI series is drawn in purple and the EMA series in blue. There are no user inputs, so both lengths stay fixed

Indicator v5 Oscillators & momentumMoving averages
Updated 7 weeks ago · None stated GitHub repository of Simple Test

DMS v2 Breadth Dispersion

by AssetWhisper
1 stars

An indicator in a separate pane that compares a cap-weighted index with its equal-weighted counterpart, SPY and RSP by default, to gauge market breadth. It takes the log ratio of the two, then adds its momentum, a z-score, a percentile rank, divergences agains

Indicator v5 DivergenceScreeners & dashboards
Updated 7 weeks ago · MPL-2.0 GitHub repository of DMS v2 Breadth Dispersion

VSA Wyckoff Volume

by DEVfancybear
1 stars

The VSA Wyckoff Volume indicator plots volume columns in a separate pane, color-coded by their relative intensity compared to a moving average of volume. It categorizes volume into ultra high, very high, high, normal, and low levels based on configurable ratio

Indicator v6 Volume
Updated 7 weeks ago · MIT GitHub repository of VSA Wyckoff Volume
1 stars

The BMoon System Order Block indicator projects price levels and reflection zones on the main chart using user-selected time and price anchor points. It features an optional Auto Fibonacci mode that computes price range boundaries, along with an Adaptive Smart

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

This indicator measures how far the current low sits below the highest high of the last 252 bars, expressed in 50-period ATR units and plotted as a negative value capped at 12. It draws that distance in a separate pane and colors the line green, yellow, or red

Indicator v6 Volatility & bandsSupport & resistance
Updated 2 months ago · MPL-2.0 GitHub repository of Webby's ATR Off 52-Week High
1 stars

This educational script demonstrates compound logical expressions in Pine Script v6. It evaluates three simultaneous conditions: whether the current bar is bullish, whether its closing price is higher than the previous bar's close, and whether its volume excee

Indicator v6 Candlestick patternsVolume
Updated 2 months ago · Custom licence GitHub repository of Compound Expression Demo

EMA + Supertrend + OBV

by vedkanani123
1 stars

A price-chart indicator that stacks a 21, 50 and 200 EMA ribbon with a Supertrend line and an ATR-based volatility stop. On-balance volume trend and a volatility-percentile regime feed a scoring step, and a multi-timeframe heatmap table shows the combined read

Indicator v6 TrendMoving averages
Updated 2 months ago · None stated GitHub repository of EMA + Supertrend + OBV

Predicted Gold Signals

by XingHan98
1 stars

An overlay indicator for a five-minute gold chart that stops with an error on any other timeframe. At 08:00 and 19:00 Singapore time on weekdays it draws a buy and a sell entry line from the prior close with fixed offsets, a fixed dollar stop, and three take p

Indicator v5 Support & resistanceSessions & time
Updated 2 months ago · None stated GitHub repository of Predicted Gold Signals

GrimmHA Strategy Indicator

by GreyssonEnterprises
1 stars

An indicator that combines Heikin-Ashi candle recognition, doji detection and four smoothed moving averages with lengths of 21, 50, 100 and 200. It can show entry signals, trade levels, background colours and a statistics table, with a risk-to-reward ratio and

Indicator v5 Candlestick patternsMoving averages
Updated 3 months ago · MIT GitHub repository of GrimmHA Strategy Indicator

A/D Context v20.7

by VVASILEVSS
1 stars

A Pine v5 indicator in a separate pane built on Williams or Chaikin accumulation and distribution flow, a smoothing EMA, Chaikin Money Flow and ATR. It detects divergences between price and flow pivots, with cooldown bars and optional confirmation after the di

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

This indicator calculates smart money concepts and market microstructure data to filter trades based on premium and discount zones, order blocks, liquidity cascades, and session phases. It draws rejection markers and market structure elements directly on the p

Indicator v6 SMC / ICT / price actionSupport & resistance

Buddha Price Line

by DarthBuddha
1 stars

A small chart-overlay indicator that marks the latest price with a coloured arrow line extending to the right of the last bar. The colour depends on the last bar: one colour when the close is above the previous close, another when it is below, and a neutral co

Indicator v6
Updated 3 months ago · MIT GitHub repository of Buddha Price Line
1 stars

A separate-pane indicator that estimates delta from each candle by adding volume on up candles and subtracting it on down candles, accumulates it into a cumulative value, and converts that to a Z-score over a rolling window. A histogram is coloured by whether

Indicator v5 VolumeOscillators & momentum
Updated 3 months ago · None stated GitHub repository of Detrended CVD Z-Score Oscillator

Fusion Cipher Toolkit

by shahzaib-574
1 stars

This indicator combines several oscillators in a separate pane: a wave momentum line with signal, a money flow area with selectable models, a VWAP-based oscillator, RSI and Stochastic RSI. It marks dots where several conditions agree, with a minimum confluence

Indicator v6 Oscillators & momentumDivergence
Updated 3 months ago · None stated GitHub repository of Fusion Cipher Toolkit

Fractal Sweep

by abhinaynatraj
1 stars

An indicator for futures that finds a sweep of a prior higher-timeframe candle's high or low, a return, and a change in state of delivery (CISD) confirmation, then draws the trade setup. It places entry, stop at the sweep extreme or CISD level and an R:R targe

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

MRM Scanner

by majohnst
1 stars

The MRM Scanner is a multi-symbol technical analysis tool that scans a user-defined watchlist of up to 20 stock symbols. It calculates a cloud from 144 and 169 EMAs along with Fibonacci retracement levels based on swing highs and lows over a configurable lookb

Indicator v6 Screeners & dashboardsMoving averages
Updated 4 months ago · None stated GitHub repository of MRM Scanner
1 stars

This indicator performs Smart Money Concepts market structure analysis directly on the main price chart. It detects structural swing points including Higher Highs, Higher Lows, Lower Lows, and Lower Highs, while identifying Break of Structure (BoS) and Change

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

An overlay that trades pullbacks to VWAP in the direction of a higher-timeframe EMA trend. In an uptrend with VWAP rising it signals a buy when price dips back to VWAP, and in a downtrend a sell when price rallies to it. A stricter grade needs price to have st

Indicator v6 Mean reversionTrend
Updated 4 months ago · None stated GitHub repository of VWAP Pullback A+ Dip Scanner

TwoSweepsModel

by riegodavid-git
1 stars

An overlay indicator that looks for swing failure patterns, where price pokes beyond an earlier pivot and closes back, on the 30-minute and 1-hour timeframes, and combines them with fair value gap and inverse gap detection on the chart timeframe, intended for

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

NQ VIX IB Levels

by qmqvt44stq-del
1 stars

An indicator for the price chart that draws intraday price levels above and below the session by blending an initial balance extension with a volatility-index implied move, then adding a point offset. The volatility index is chosen automatically from the futur

Indicator v6 Support & resistanceVolatility & bands
Updated 4 months ago · None stated GitHub repository of NQ VIX IB Levels
1 stars

This overlay indicator is a companion dashboard for Bursa Malaysia stocks. It builds a table that shows Minervini trend-template conditions, VCP squeeze tightness, volume surge and contraction, price and average-volume liquidity filters, and an MCDX banker or

Indicator v6 TrendVolatility & bands
Updated 4 months ago · None stated GitHub repository of Minervini VCP Dashboard v8 KLSE

MTF RSI Signals

by iyoshikawa
1 stars

This indicator plots multi-timeframe RSI signals on the price chart. It calculates a smoothed RSI using short and long periods with EMA smoothing, then applies a Stoch filter for direction changes. Signals trigger on crossovers and levels, combined with ADX tr

Indicator v5 Oscillators & momentumTrend Repaints
Updated 5 months ago · None stated GitHub repository of MTF RSI Signals

Deep Trades Whales Canonical

by shubhamtaywade82
1 stars

Flags unusually heavy volume bars on the price chart as possible large-participant activity. Detection combines a volume percentile gate with a z-score, then scales ATR thresholds by a low, normal or high volatility regime. It marks price impact bars, iceberg-

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

EMA + Trend + Liquidity

by kvmafthab-pixel
1 stars

This overlay plots a four-length exponential moving average ribbon and classifies trend on the price chart. It marks strong bullish when the 21-period average is above the 50 and 200 with a positive short slope, strong bearish when that stack is reversed, and

Indicator v5 TrendMoving averages
Updated 5 months ago · Custom licence GitHub repository of EMA + Trend + Liquidity
1 stars

This indicator provides a comprehensive toolkit for crypto chart analysis. It calculates and plots Volume Profile boxes with value area and acceptance bars, VWAP with standard deviation bands, multiple EMAs for trend filtering including HTF bias, lower timefra

Indicator v6 VolumeSupport & resistance
Updated 5 months ago · MIT GitHub repository of Crypto AMT Toolkit v4 Safe LTF

Eminiplayer Zones

by onlyspx
1 stars

This indicator turns pasted text lines of low price, high price and a zone label into horizontal zones on the price chart, for S&P 500 futures or index charts. For index symbols it subtracts a configurable futures-to-index spread from the zone prices. It can a

Indicator v5 Support & resistanceSessions & time
Updated 6 months ago · None stated GitHub repository of Eminiplayer Zones

Order Blocks Only

by cavaldos
1 stars

Draws internal and swing order blocks as shaded boxes on the price chart, a stripped-down version of a smart money concepts tool. Block size is filtered either by ATR or by cumulative mean range, and a block is mitigated when price crosses it by close or by hi

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 6 months ago · None stated GitHub repository of Order Blocks Only

An indicator for the price chart, written with gold on a three-minute chart in mind, that looks for long and short setups. It detects regular or hidden divergences on RSI, MACD, MACD histogram, stochastic and optionally CCI, momentum and MFI, and needs a minim

Indicator v6 DivergenceOscillators & momentum
Updated 6 months ago · None stated GitHub repository of Gold Strategy - Divergence + ATR + RSI
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

This indicator plots intraday reversal signals and automatic stop loss levels tailored for the 5-minute chart. It identifies three-candle reversal patterns synchronized to 15-minute blocks, triggering buy signals when two consecutive green bars break above the

Indicator v6 Candlestick patternsBreakout
Updated 6 months ago · None stated GitHub repository of Intraday BUY/SELL & AUTO SL (5-min timeframe only) by chaitu50c

Kalman Filter

by Teerth1
1 stars

Applies a Kalman filter to the chosen price source to produce a smoothed estimate of the underlying price level, drawn on the main chart. Process noise and measurement noise inputs control how quickly the line adapts versus how smooth it is. Optional uncertain

Indicator v5 TrendMean reversion
Updated 6 months ago · None stated GitHub repository of Kalman Filter

Marubozu Detector with Table

by gabriel-klettur
1 stars

This indicator identifies bullish and bearish Marubozu candlestick patterns directly on the price chart. It determines pattern validity by calculating upper and lower wick sizes relative to the full candle range and comparing them against a configurable wick t

Indicator v6 Candlestick patternsScreeners & dashboards
Updated 7 months ago · None stated GitHub repository of Marubozu Detector with Table
1 stars

An indicator for four-hour charts that builds a rolling VWAP with standard deviation bands. A long signal appears when one bar closes below the lower band and the next closes back above it, and the reverse for shorts. Filters skip trades when ATR volatility is

Indicator v6 Mean reversionVolatility & bands
Updated 7 months ago · None stated GitHub repository of V21 VWAP Mean Reversion
1 stars

A separate-pane indicator that studies how volume behaves around potential reversals. It measures volume relative to its average and its short-term trend, a delta volume proxy from candle colour, rate-of-change velocity and deceleration, and volume-price diver

Indicator v5 VolumeDivergence
Updated 8 months ago · MIT GitHub repository of Volume-Price Reversal Filter

ML KNN Predictor V2 Enhanced

by haydarkadioglu
1 stars

Calculates machine learning price predictions using a weighted K-Nearest Neighbors algorithm. It evaluates price position, trend, RSI, volatility, Fair Value Gaps, Support and Resistance levels, and volume to identify similar historical pattern matches. The in

Indicator v5 AI / machine learningSMC / ICT / price action
Updated 8 months ago · None stated GitHub repository of ML KNN Predictor V2 Enhanced

MNQ Gamma (1DTE)

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

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

ICT Premium/Discount

by Ahmed1926
1 stars

An overlay indicator that draws a premium and discount range on the chart, starting from a user-chosen date. It can show the range high and low with price text, a midline at the equilibrium level, optional 25 and 75 percent quartile lines, an optimal trade ent

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 9 months ago · None stated GitHub repository of ICT Premium/Discount

Draws dashed horizontal lines at the highs and lows of previous days, weeks and months on the price chart. Each period has its own colour and a lookback count for how many past periods to show. An optional gradient fades older levels, and projections extend pr

Indicator v5 Support & resistanceSessions & time Repaints
Updated 9 months ago · MPL-2.0 GitHub repository of Daily Weekly Monthly Highs & Lows
1 stars

The Multi-Symbol Dashboard indicator overlays a customizable panel on the price chart to monitor up to six cryptocurrency symbols at once. It displays RSI, MACD histogram, EMA values, percentage price change and volume data fetched via request.security for sym

Indicator v5 Screeners & dashboardsOscillators & momentum
Updated 9 months ago · MIT GitHub repository of Multi-Symbol Dashboard

RSI Divergence Detector

by knectardev
1 stars

This indicator calculates the Relative Strength Index (RSI) and detects regular and hidden bullish and bearish divergences between price movement and RSI values. It identifies pivot highs and pivot lows across both price action and the RSI oscillator using a c

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

Volume Profile Plus

by webcrack4
1 stars

This indicator calculates and plots volume profile histograms, market profile distributions, and key value area levels directly on the main price chart. Users can switch between standard volume analysis and time price opportunity modes, select visible, anchore

Indicator v5 VolumeSupport & resistance
Updated 9 months ago · None stated GitHub repository of Volume Profile Plus

Fib Harvester

by anil-sn
1 stars

A chart-overlay indicator that builds a volatility-based trend line from a smoothed price range and marks entries when the trend flips, plus reload entries after pullbacks. Each entry gets a stop sized from the distance to the trend line or an ATR multiple, an

Indicator v6 TrendVolatility & bands
Updated 9 months ago · None stated GitHub repository of Fib Harvester

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