Pine Library · 1,213 open-source scripts

Free SMC and ICT Pine Scripts (page 15)

Open-source Pine scripts for smart money concepts and ICT ideas: order blocks, fair value gaps, break of structure, liquidity sweeps and kill zones.

Pine scripts1,213
Code shown here456open licence
Updated in a year1,051
No repaint flag1,023

SMC / ICT: Indicators, Strategies and Libraries

1 stars

This indicator extends the streamlined Quantum Flow gold build with a confirmation layer between a pending setup and a validated one. While a setup is pending it scores confirmation events such as volume spikes, delta flips, wick rejection, micro breaks of str

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 3 months ago · None stated GitHub repository of Quantum Flow v21 AI Approval Engine
1 stars

This indicator marks price imbalances on the chart as boxes. It can show fair value gaps, opening gaps, and volume imbalances, each with separate bullish and bearish colors. Optional minimum-width filters accept points, a percentage, or ATR, and each type can

Indicator v5 SMC / ICT / price actionVolume
Updated 4 months ago · None stated GitHub repository of Imbalance Detector [LuxAlgo]

Sweep Institutional

by dtheran1
1 stars

Detects liquidity sweeps, also called swing failure patterns, on the price chart. Swing highs and lows are found with a 20-bar lookback on each side. A bullish sweep is flagged when price trades below a swing low but closes back above it, and a bearish sweep i

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

Price Action Toolkit Lite

by Focal-QuantAI
1 stars

An indicator on the price chart that bundles several price action overlays. It can show zigzag market structure, liquidity sweeps over a set length, recent order blocks and fair value gaps, with limits on how many of each remain on screen. It also detects tren

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 6 months ago · None stated GitHub repository of Price Action Toolkit Lite
1 stars

An overlay indicator that finds equal highs and equal lows between two consecutive candles. It compares the gap between their highs, or lows, with the combined range of the two bars and flags the pair when that gap falls under a precision value. A lower precis

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 9 months ago · None stated GitHub repository of Equal Highs and Equal Lows

ICT Liquidity Void Screener

by ArunKBhaskar
575 stars

This indicator draws liquidity void lines on the price chart to highlight potential market structure breaks and liquidity pools in ICT SMC trading. It calculates voids using high/low levels or OTE values and filters them with ATR periods or fixed percentage th

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 1 year ago · MPL-2.0 GitHub repository of ICT Liquidity Void Screener

SMC Swings

by iamc1oud
56 stars

This indicator detects Smart Money Concepts market structure elements directly on the price chart. It tracks real-time and historical internal and swing market structure, identifying Break of Structure and Change of Character events. The script also highlights

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 2 months ago · None stated GitHub repository of SMC Swings

This indicator analyzes price action using Smart Money Concepts (SMC) to detect market structure breaks (BOS) and changes of character (CHoCH) based on customizable fractal lengths. It identifies bullish and bearish Fair Value Gaps (FVG) along with Consequent

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 2 months ago · MPL-2.0 GitHub repository of Market Structure CHoCH/BOS LEO - Ahmed Edition

Pivot Order Blocks - Lines

by TamaraKGreen
46 stars

Pivot Order Blocks - Lines identifies bullish and bearish order block levels using pivot high and pivot low detection on the price chart. Users can base calculations on candle wicks or bodies and customize left and right lookback lengths for pivot points. The

Indicator v6 Support & resistanceSMC / ICT / price action
Updated 8 weeks ago · None stated GitHub repository of Pivot Order Blocks - Lines

This indicator detects bullish and bearish fair value gaps and liquidity imbalances on the chart, with optional higher-timeframe tracking. It plots imbalance zones directly on the price chart using colored boxes and tracks zone age, fill percentage, and breake

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 2 months ago · MIT GitHub repository of Capital41 Liquidity Void + Imbalance Map
4 stars

Relative Structure Strength Index is an oscillator indicator that plots in a separate pane. It calculates the Relative Strength Index (RSI) using bar structure power derived from an external library, then smooths the resulting values with a customizable moving

Indicator v6 Oscillators & momentumMoving averages
Updated 2 days ago · None stated GitHub repository of Relative Structure Strength Index
3 stars

This overlay indicator draws bullish and bearish order blocks on the price chart. It can show internal, external, or all blocks, plus a second set from a chosen timeframe that defaults to four hours. Mitigation can use wicks, touch, close, or average, and over

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 12 months ago · None stated GitHub repository of IDM/MTFOB/MTFFVG MOD@blueprintsud

BTMM Pattern Detection

by jcortes254
3 stars

This overlay indicator marks bearish M patterns and bullish W patterns on the price chart, with optional structure lines and labels. It also detects evening and morning stars, railroad tracks, and cordofwoods, and can draw order blocks, fair value gaps, and br

Indicator v5 Candlestick patternsSMC / ICT / price action
Updated 1 year ago · None stated GitHub repository of BTMM Pattern Detection

This indicator identifies ICT trading setups by detecting Order Blocks, Fair Value Gaps, and Change in State of Delivery levels directly on the price chart. It highlights supply and demand zones alongside specific time windows such as the New York AM and PM se

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 2 months ago · None stated GitHub repository of One Trading Setup ICT [TradingFinder] Sweep Session FVG

Lakshmi Zones v4

by voletiramu
2 stars

Lakshmi Zones v4 is an overlay indicator that calculates volume profile high volume nodes and fair value gaps on 4H data to plot demand and supply zones on the price chart. It draws a Magic Line based on ATR(14) multiplied by the golden ratio and anchored to t

Indicator v6 VolumeSupport & resistance
Updated 6 months ago · None stated GitHub repository of Lakshmi Zones v4

SMC Engine Private

by skipp-dev
1 stars

This Pine Script v6 library serves as an internal engine for Smart Money Concepts (SMC), providing types, tracking, and rendering logic for order blocks, fair value gaps, and market structure. It calculates order block parameters including quality scores, heig

Library v6 SMC / ICT / price actionSupport & resistance
Updated 4 days ago · None stated GitHub repository of SMC Engine Private
1 stars

Draws volume order blocks on the price chart and marks three tiers of asymmetric volume signals, buy and sell, with a cooldown. High-volume proximity markers fire when a rolling highest-volume bar sits within a set number of bars of a tier signal. This version

Indicator v6 SMC / ICT / price actionVolume
Updated 2 months ago · None stated GitHub repository of VOB Asymmetric HV Proximity v1.3

Quantum Flow v22 Engine Bay

by Jitheandra98
1 stars

This indicator builds on the Quantum Flow gold series by making each entry model an independently switchable engine. A buy or sell appears when any enabled engine triggers, and each signal is tagged with the engine that produced it, covering validated, classic

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

ICT Propulsion Block

by Ahmed1926
1 stars

An overlay indicator that detects order blocks from swing points and highlights propulsion blocks, which are blocks that form after price reacts to an earlier order block. Swing length sets detection, and a mitigation setting decides whether a closing price or

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 9 months ago · None stated GitHub repository of ICT Propulsion Block
575 stars

This overlay indicator marks ICT market structure shifts from a zigzag of swing highs and lows on the price chart. It can show bullish and bearish swings, structure-shift marks, and retracements, with optional zigzag lines and colored boxes. Zigzag length, hig

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 1 year ago · MPL-2.0 GitHub repository of ICT Market Structure Shift (MSS)

Supply Demand

by iamc1oud
56 stars

Supply Demand is a Smart Money Concepts style indicator that maps market structure and identifies volumetric order blocks directly on the price chart. It detects swing points, structural sweeps, and key supply and demand zones. Users can customize structural c

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 2 months ago · None stated GitHub repository of Supply Demand

Breaker Blocks with Signals [LuxAlgo] is an overlay indicator that identifies smart money market structure swing points and breaker block zones. It plots bullish and bearish breaker blocks directly on the price chart as dynamic boxes. Traders can customize the

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 2 months ago · AGPL-3.0 GitHub repository of Breaker Blocks with Signals [LuxAlgo]
10 stars

TPCharts Liquidity Range calculates and plots significant liquidity levels over a specified historical period and resolution directly on the main price chart. It highlights the range high, range low, and the 50% range equilibrium level, as well as the previous

Indicator v4 Support & resistanceSMC / ICT / price action Repaints
Updated 5 years ago · GPL-3.0 GitHub repository of TPCharts Liquidity Range

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

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

PriceAction

by alvinng214
2 stars

PriceAction is a Pine Script v6 library designed to calculate and track market structure elements based on customizable pivot lengths. It exports custom data structures for pivots, structure breaks, and market trends, categorizing price movement into internal

Library v6 SMC / ICT / price actionSupport & resistance Repaints
Updated 2 months ago · None stated GitHub repository of PriceAction

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

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 4 days ago · None stated GitHub repository of SMC Exit Signal

1m Spot Fib Scalper

by MuhammadMuhamid
1 stars

A long-only strategy for one-minute spot charts that waits for a bullish break of structure above a swing high, then parks an entry at a Fibonacci retracement of the impulse leg, defaulting to the 0.618 level inside a 0.5 to 0.618 zone. The stop goes below the

Strategy v6 SMC / ICT / price actionSupport & resistance
Updated 13 days ago · None stated GitHub repository of 1m Spot Fib Scalper

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

A chart-overlay indicator that detects pivot-based swings and marks break of structure and change of character events. It measures the percentage size of each move that follows and sorts it into four levels with adjustable minimum and maximum percentages. Labe

Indicator v5 SMC / ICT / price actionSessions & time
Updated 9 months ago · None stated GitHub repository of BOS/CHoCH Impulsive Move Detector
575 stars

This overlay indicator screens a pasted list of symbols for ICT market structure shifts, or for retracements toward an optimal trade entry or order block. It uses a zig zag built from highs and lows or opens and closes, then lists matching bullish and bearish

Indicator v5 SMC / ICT / price actionScreeners & dashboards
Updated 1 year ago · MPL-2.0 GitHub repository of ICT Market Structure Shift (MSS) Screener

Supply Demand

by iamc1oud
56 stars

This overlay indicator maps market structure and draws supply and demand zones on the price chart. It marks swing points, optional structure mapping, sweep marks, and bubbles, and can color candles from its trend detection. It plots the last selected order blo

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 2 months ago · None stated GitHub repository of Supply Demand

Session Raid Stats

by TamaraKGreen
46 stars

Session Raid Stats highlights custom session price ranges and projects range extension lines at fixed point intervals above and below session highs and lows. It identifies liquidity raids exceeding user-defined point thresholds within a specified time cutoff f

Indicator v6 Sessions & timeSupport & resistance
Updated 8 weeks ago · None stated GitHub repository of Session Raid Stats
43 stars

Donald - AI Futures is a price-chart strategy that estimates inner and outer high-low zones and a smoothed close with rational quadratic kernel regression. It builds bullish and bearish momentum signals, optionally compares volume with a volume-weighted moving

Strategy v5 Oscillators & momentumSMC / ICT / price action Repaints
Updated 2 years ago · None stated GitHub repository of Donald - AI Futures
26 stars

This indicator identifies and plots bullish and bearish Fair Value Gaps (FVG) directly on the price chart. It detects three-bar imbalances where gaps occur between the high of the first candle and the low of the third candle, or vice versa. The tool includes a

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 2 months ago · AGPL-3.0 GitHub repository of Fair Value Gap (FVG)
10 stars

TPCharts Market Structure indicator marks key swing points and patterns on the price chart. It identifies equal highs and lows using two-bar patterns, minor highs and lows with three-bar patterns, and major highs and lows with five-bar patterns. Plot shapes in

Indicator v4 Support & resistanceSMC / ICT / price action
Updated 5 years ago · GPL-3.0 GitHub repository of TPCharts Market Structure

Quantum Structure | jjart

by MeridianAlgo
9 stars

This indicator analyzes market structure and identifies key swing highs, swing lows, and consolidation ranges across multiple timeframes. It automatically adapts swing lengths and consolidation thresholds according to chosen profiles for scalping, intraday, or

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 4 months ago · MIT GitHub repository of Quantum Structure | jjart

Wyckoff Phase

by muammeryldrm42
7 stars

This strategy identifies Wyckoff consolidation ranges directly on the price chart to trade potential spring and upthrust events. It calculates highest highs and lowest lows over a customizable lookback period, filtering setups by average volume spikes and ATR

Strategy v5 SMC / ICT / price actionSupport & resistance
Updated 3 months ago · MIT GitHub repository of Wyckoff Phase
6 stars

Capital41 Order Block Detector v2 identifies institutional supply and demand zones on the price chart. It defines bullish order blocks as the last bearish candle prior to a strong upward impulse move and bearish order blocks as the last bullish candle before a

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 2 months ago · MIT GitHub repository of Capital41 Order Block Detector v2
3 stars

Identifies continuation trade setups based on Beat the Market Maker (BTMM) second-leg patterns directly on the price chart. It defines trading session phases across Asian, London, and New York sessions, filters impulse legs using fast and slow exponential movi

Indicator v5 SMC / ICT / price actionSessions & time
Updated 1 year ago · None stated GitHub repository of BTMM Second Leg Confirmation
1 stars

An indicator that detects market structure and draws Fibonacci retracements only after an impulse breaks structure and a pullback pivot forms. Settings control pivot lengths, minimum displacement in ATR, an invalidation buffer, maximum leg age and an optional

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 2 days ago · None stated GitHub repository of Confirmed Fib (BOS + Pullback)
1 stars

This indicator identifies market structure by tracking confirmed swing highs and lows using pivot points. It detects breaks of structure (BOS) and changes of character (CHoCH) when the bar close breaches the most recent unbroken swing level. Visual outputs on

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 4 days ago · MPL-2.0 GitHub repository of Market Structure BOS CHoCH

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