Pine Library · 7,612 open-source scripts

Free TradingView Indicators (page 12)

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

Multi-Strategy Bot

by eliRap1
1 stars

This Pine Script v5 indicator overlays multiple technical strategies on the price chart to generate buy and exit signals. It scores confluence across SuperTrend direction flips, momentum (EMA, RSI, ROC), Bollinger Band mean reversion, breakout volume, and Stoc

Indicator v5 TrendOscillators & momentum
Updated 6 days ago · None stated GitHub repository of Multi-Strategy Bot

J13 Adv

by moonyroy
1 stars

This indicator overlays the developing 60-minute candle on the price chart as a wick box and a body box that update until the hour closes. It tracks the hour high and low, records the first extreme, and connects successive swing pivots with lines stored in a c

Indicator v6 Support & resistanceSMC / ICT / price action Repaints
Updated 6 days ago · None stated GitHub repository of J13 Adv

Indicator EMA Crossover

by Jakub-Pinkowski
1 stars

This script calculates two Exponential Moving Averages (EMAs), default periods 9 and 21, and plots them directly on the price chart. It shades the area between the lines green during bullish trends and red during bearish trends. Crossovers trigger delayed Buy

Indicator v6 TrendMoving averages
Updated 7 days ago · None stated GitHub repository of Indicator EMA Crossover

This indicator evaluates and visualizes institutional banker, hot money, and retail trader strength inspired by the MCDX model. It measures RSI-based momentum across daily, weekly, and monthly timeframes, combining them into a weighted composite strength score

Indicator v6 Oscillators & momentumTrend
1 stars

A Pine v6 overlay that reads closed-candle data from three higher timeframes and tracks fast and slow EMAs, RSI, Bollinger Bands, ADX, VWAP and volume against its average. It is designed to send updates only when a value changes by more than a set threshold fo

Indicator v6 TrendOscillators & momentum
Updated 7 days ago · None stated GitHub repository of Multi-Timeframe Trend Monitor

EMA Volume

by engtuncay
1 stars

The EMA Volume indicator plots two exponential moving averages on the price chart, with lengths of 50 and 200 periods. It calculates a simple moving average of volume and filters cross signals based on volume levels. Bullish and bearish crossovers between the

Indicator v6 Moving averagesVolume
Updated 7 days ago · None stated GitHub repository of EMA Volume

Change of Context

by ElroyvOuwerkerk
1 stars

A candle-pair indicator that marks a bearish signal when a bar fails to take the previous high and closes below the previous low, and a bullish signal in the mirror case. An optional divisions filter also requires the close to sit in the lower or upper fractio

Indicator v6 Candlestick patterns
Updated 8 days ago · None stated GitHub repository of Change of Context

GridWB3 Auto-Calculated Config

by cckmchiu-gapps
1 stars

This indicator draws a price and time grid on the price chart and sets its anchors automatically. It scans closing prices from a chosen start date, takes the highest and lowest close as the top and bottom of the box, and uses an end date as the right edge. The

Indicator v6
Updated 8 days ago · None stated GitHub repository of GridWB3 Auto-Calculated Config
1 stars

A price-chart helper that turns another indicator's buy and sell plots into flip alerts. The user points two source inputs at the plots of a companion script that must already be on the chart, and a threshold decides when a plot counts as firing. The script tr

Indicator v6
Updated 8 days ago · Custom licence GitHub repository of Phantom Flow Alert Bridge

Sequential Countdown

by allanninal
1 stars

Sequential Countdown is an overlay indicator that writes a 9-13 sequential count on the price chart. It plots buy setup numbers below bars and sell numbers above them, marking a perfected nine differently from an unperfected nine, then draws countdown numbers

Indicator v6 Oscillators & momentumMean reversion
Updated 8 days ago · Custom licence GitHub repository of Sequential Countdown

Session Levels

by allanninal
1 stars

This indicator draws the Asia, London and New York sessions as boxes on the price chart, with the session high and low as the edges, in New York time with daylight saving handled. It also draws the previous day high and low, previous week high and low and toda

Indicator v6 Sessions & timeSupport & resistance
Updated 8 days ago · Custom licence GitHub repository of Session Levels

SMC Zones

by allanninal
1 stars

SMC Zones is an overlay indicator that identifies Smart Money Concepts structure on the price chart using closed-bar logic. It calculates and plots order blocks, fair value gaps, BOS and CHoCH break lines, and optional liquidity sweeps. Users can adjust swing

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 8 days ago · Custom licence GitHub repository of SMC Zones

Gann HiLo Swing

by allanninal
1 stars

This indicator draws two tools from W.D. Gann on the price chart. The HiLo Activator line follows the average of recent lows in an uptrend and recent highs in a downtrend, changing colour as the side flips. A dotted line connects confirmed swing highs and lows

Indicator v6 Trend
Updated 8 days ago · Custom licence GitHub repository of Gann HiLo Swing

Harmonic Signal Alerts

by allanninal
1 stars

This indicator finds ABCD, Gartley and Bat harmonic patterns from confirmed swing points and draws the XABCD legs, a dotted reversal zone and point labels on the price chart. It marks the closed bar where price reaches the reversal zone and can send one alert

Indicator v6 Support & resistance
Updated 8 days ago · Custom licence GitHub repository of Harmonic Signal Alerts

Risk Position Tool

by allanninal
1 stars

This indicator calculates position sizing and risk parameters directly on the price chart. Users set entry, stop loss, and take profit levels interactively or via inputs, and the script computes broker lot sizes based on specified account balance and risk pref

Indicator v6 Screeners & dashboardsSupport & resistance
Updated 8 days ago · Custom licence GitHub repository of Risk Position Tool
1 stars

This indicator marks thirteen classic candlestick patterns on the price chart, including engulfing, hammer and hanging man, inverted hammer and shooting star, doji, morning and evening star, harami, piercing line and dark cloud cover. Marks appear only on the

Indicator v6 Candlestick patterns
Updated 9 days ago · Custom licence GitHub repository of Candlestick Signal Alerts

Worldwide Events

by piecioshka
1 stars

Worldwide Events is an overlay indicator that marks historical world events on the price chart, from the 1930s to recent years. Events cover wars, financial crises, monetary policy decisions and trade measures. Each is shown at its date, with the date availabl

Indicator v6
Updated 12 days ago · Custom licence GitHub repository of Worldwide Events

DEPV2

by YuceSezar89
1 stars

DEPV2 is a multi-symbol indicator for cryptocurrency trading. It aggregates signals from trend, momentum, volatility, and volume methods across 20 crypto pairs. Users select confirmation modes including simultaneous, sequential, or automatic per symbol. The in

Indicator v6 TrendOscillators & momentum Repaints
Updated 13 days ago · None stated GitHub repository of DEPV2

ATR Expansion with Trend

by quantxaashish
1 stars

This indicator identifies potential bullish breakout opportunities by detecting volatility expansions in the direction of an established trend. It calculates the Average True Range (ATR) and determines if volatility is expanding by comparing ATR to its moving

Indicator v5 TrendVolatility & bands
Updated 2 weeks ago · MIT GitHub repository of ATR Expansion with Trend

Calculates an Average True Range (ATR) trailing stop that trails price by a configurable distance multiplier. It draws the trailing stop line on the price chart and marks flip points when price crosses the line. The indicator allows confirmation of flips on ba

Indicator v6 TrendVolatility & bands
Updated 2 weeks ago · MPL-2.0 GitHub repository of Taught to Trade - ATR Trailing Stop with Flip Audit

CISD with Projections

by Just-beyond-z
1 stars

An ICT-style overlay that marks a change in state of delivery, drawing a line at the open of the opposing candles once price closes through it, in blue for bullish and red for bearish. The direction can be set to both, bullish only or bearish only, and the num

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 2 weeks ago · None stated GitHub repository of CISD with Projections

Session Sweep Model

by kxngHADES
1 stars

Detects liquidity sweeps of the Asian or London session range, followed by a reclaim and a break of structure, on the 5-minute chart. It plots entry, stop and take-profit levels with a reward-to-risk target, skips setups whose stop exceeds a multiple of ATR, a

Indicator v6 SMC / ICT / price actionSessions & time
Updated 2 weeks ago · Custom licence GitHub repository of Session Sweep Model

LOKEN Bullish MCDX v2.2

by kdricha0602
1 stars

A separate-pane money-flow oscillator that is a custom variant of the MCDX indicator, written in Pine version 4. It rescales two RSI readings into a Banker series, drawn as a histogram, and a Hot Money series, drawn as an area, each clamped to a fixed range. S

Indicator v4 Oscillators & momentumVolume
Updated 2 weeks ago · MIT GitHub repository of LOKEN Bullish MCDX v2.2

This indicator marks key reversal candles that print a new high or low versus the prior lookback window. A bullish signal needs a lower low, a close above the previous close, and a bullish candle; a bearish signal is the opposite. Double reversals also compare

Indicator v6 Candlestick patternsSupport & resistance
Updated 2 weeks ago · None stated GitHub repository of Key Reversals with 20-Bar High/Low Lines
1 stars

Visualises a 15-minute opening range breakout routine for the cash session open. It marks the first 15-minute range, waits for a candle close beyond it, then simulates one trade per day by default with the stop at the breakout candle extreme. Exits can trail s

Indicator v6 BreakoutSessions & time
Updated 2 weeks ago · None stated GitHub repository of Patrick 15m Opening Range
1 stars

A Pine v6 indicator that puts intraday reference points on the price chart. It draws Asia, London, New York AM and PM session boxes and kill zones, session highs and lows that extend until swept, period opens with previous highs and lows, fair value gaps, and

Indicator v6 SMC / ICT / price actionSessions & time Repaints
Updated 2 weeks ago · Custom licence GitHub repository of Arnoldd Key Levels, Gaps and Kill Zones

Trend Sniper Mini

by kasutu
1 stars

A multi-engine indicator that marks historical trade setups on the price chart. It combines trend entries filtered by a 200 EMA bias and higher timeframe, range breakouts from compressed ranges, and fades or reclaims after large news-style candles. Stops use A

Indicator v6 TrendBreakout Repaints
Updated 2 weeks ago · None stated GitHub repository of Trend Sniper Mini

GOD Conviction Engine

by Oluwacutyp
1 stars

A large all-in-one overlay aimed at gold and Bitcoin charts. It combines trend EMAs, an HMA baseline, an elastic EMA, order blocks, fair value gaps, breaker blocks, liquidity sweeps, an Asian range box, key levels, VWAP, market structure and several tables inc

Indicator v6 SMC / ICT / price actionTrend
Updated 2 weeks ago · Unlicense GitHub repository of GOD Conviction Engine

Key Levels + Multi-Period VWAP

by RealTrueReality
1 stars

A Pine v6 indicator that draws key reference levels on the price chart as lines with right-edge labels. Levels include period opens, previous highs, lows and midpoints for day, week, month and quarter, a Monday range, and daily, weekly and monthly anchored VWA

Indicator v6 Support & resistanceVolume Repaints
Updated 2 weeks ago · MPL-2.0 GitHub repository of Key Levels + Multi-Period VWAP

Awesome Oscillator

by AkashSasikumar47
1 stars

A Pine v6 indicator in a separate pane that plots the Awesome Oscillator as columns. It subtracts a 34-bar simple moving average of each bar's midpoint from a 5-bar one. Columns are green when the value is rising from the previous bar and dark red when it is n

Indicator v6 Oscillators & momentum
Updated 2 weeks ago · MIT GitHub repository of Awesome Oscillator

Aroon Oscillator

by AkashSasikumar47
1 stars

The Aroon Oscillator calculates the difference between the Aroon Up and Aroon Down indicators to measure trend strength and direction over a user-defined lookback length. Drawn in a separate pane below the price chart, it plots a single line oscillating betwee

Indicator v6 TrendOscillators & momentum
Updated 2 weeks ago · MIT GitHub repository of Aroon Oscillator

LASTRO Risk Overlay

by arthur1535
1 stars

A monthly macro monitor that pulls two FRED series, the Baa credit spread and the NFCI financial conditions index, and converts each into a rolling z-score. Each axis flips into a stress state above an entry threshold and back out below an exit threshold. The

Indicator v6 Volatility & bands Repaints
Updated 3 weeks ago · None stated GitHub repository of LASTRO Risk Overlay
1 stars

A prototype indicator that bins recent price interaction into a right-side profile of buy-side and sell-side bands drawn as boxes on the price chart. In Reaction mode it weights candle volume and body size over a lookback window; in Liquidity mode it follows u

Indicator v6 Support & resistanceVolume Repaints
Updated 3 weeks ago · None stated GitHub repository of Reaction Heatmap Prototype

Flux Lab SMC

by darup67
1 stars

A smart money concepts overlay that marks swing-based break of structure and change of character, order blocks that are removed once broken, fair value gaps above a minimum ATR size, equal highs and lows within a tolerance, and a premium and discount equilibri

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 3 weeks ago · MIT GitHub repository of Flux Lab SMC
1 stars

A test script that plots dozens of built-in Pine calculations in a separate pane, each on its own line, so a converter can compare its output against exported chart data. It covers moving averages, RSI, CCI, MFI, MACD, stochastic, ADX with directional lines, B

Indicator v6 Oscillators & momentumVolatility & bands
Updated 3 weeks ago · Apache-2.0 GitHub repository of AlphaResin Conformance 1

Swing Failure Pattern

by jericoquek
1 stars

This indicator marks swing failure patterns on the price chart: a wick takes out a standing structural high or low and a later 15-minute candle closes back inside. It then tracks a short-term and an intermediate-term market structure shift, and the intermediat

Indicator v6 SMC / ICT / price actionSupport & resistance Repaints
Updated 3 weeks ago · None stated GitHub repository of Swing Failure Pattern

And Detector

by moonyroy
1 stars

The indicator detects the three largest rises and three largest declines in a symbol's price over the last N years. It tracks price movements by identifying when price exceeds a percentage threshold T in the opposite direction from the current leg, then record

Indicator v6 TrendSupport & resistance
Updated 3 weeks ago · None stated GitHub repository of And Detector
1 stars

Unsupported Request is a minimal Pine Script indicator that calls the request.economic function to retrieve economic data, specifically fetching United States gross domestic product metrics. It then plots the resulting data series directly in a separate indica

Indicator v6
Updated 3 weeks ago · MIT GitHub repository of Unsupported Request

Smart Money Concepts Engine

by quantumalgo-official
1 stars

Smart Money Concepts Engine automatically identifies and plots key SMC price levels directly on the main price chart. It detects swing and internal market structure events such as breaks of structure and changes of character. The script highlights bullish and

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 3 weeks ago · MIT GitHub repository of Smart Money Concepts Engine

Draws market structure breaks and order block boxes on the price chart, based on a zigzag of swing points. Bullish and bearish order blocks and breaker blocks appear as coloured boxes that are removed once price breaks them. Settings set the zigzag length, the

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 3 weeks ago · None stated GitHub repository of Market Structure Break & Order Block (fixed)

Adaptive Signals V17

by Matthew-Eucaristo
1 stars

A crypto futures signal indicator in a separate pane that scores setups and only flags those passing a validity gate. It has a trend pullback engine using limit-order style entries and a range engine that fades stretched moves back toward the mean. Filters inc

Indicator v6 TrendMean reversion
Updated 3 weeks ago · MIT GitHub repository of Adaptive Signals V17
1 stars

This indicator draws a developing current-day point of control, value area high, and value area low on the price chart for intraday timeframes. It builds an approximate volume profile by distributing each stored chart bar's volume across a configurable number

Indicator v6 VolumeSupport & resistance
Updated 3 weeks ago · MIT GitHub repository of [ad] Current Day POC / VAH / VAL

UT Bot Alerts

by ApekTahua
1 stars

An ATR trailing stop indicator for the price chart. It places a stop line a set multiple of ATR from price, and prints Buy and Sell labels when price crosses that line, with bars colored green or red by direction. The key value changes sensitivity, the ATR per

Indicator v4 TrendVolatility & bands
Updated 4 weeks ago · None stated GitHub repository of UT Bot Alerts
1 stars

Fractal Model Professional is an overlay indicator that looks for higher-timeframe reversal sequences. It plots the previous higher-timeframe high and low, marks sweeps when price trades beyond a level and closes back inside, flags a reversal candle as C2, and

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 4 weeks ago · None stated GitHub repository of Fractal Model Professional

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