Pine Library · 1,213 open-source scripts

Free SMC and ICT Pine Scripts (page 13)

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

An overlay indicator that projects standard deviation levels from interbank price delivery lookback ranges. Monthly, weekly, daily and intraday lookbacks can each be switched on and are applied according to the chart timeframe range set for them. The deviation

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 9 months ago · None stated GitHub repository of IPDA Standard Deviations

SFA_MSB_v1

by genesisgrubio39
1 stars

SFA_MSB_v1 is a logic-only Pine Script library providing structural flow analytics outputs. It calculates bullBreak and bearBreak booleans when swing highs or lows are crossed using specified break triggers, with optional ATR confirmation and regime detection.

Library v6 TrendSupport & resistance
Updated 10 months ago · None stated GitHub repository of SFA_MSB_v1

A variant of a large overlay indicator that merges forex session boxes with kill zones, a market structure oscillator, zero-lag trend levels, a volumatic VIDYA average, an adaptive Money Flow Index, an ADX histogram, a dual-speed TSI and multi-timeframe panels

Indicator v5 Sessions & timeSMC / ICT / price action
575 stars

This indicator detects equal highs and lows by comparing prices within user-defined left and right bars using a tolerance percentage. It plots horizontal lines on the price chart for equal highs in one color and lows in another. A screener allows input of mult

Indicator v5 Support & resistanceTrend
Updated 1 year ago · MPL-2.0 GitHub repository of ICT Equal Highs and Lows with Screener

Fvg Fibo

by Ahmed-GoCode
53 stars

This indicator overlays fair value gaps, market-structure breaks, and two Fibonacci levels on the price chart. It draws bullish, bearish, and mitigated gap zones and can shrink mitigated gaps. It marks break of structure and change of character lines, with an

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 2 months ago · MPL-2.0 GitHub repository of Fvg Fibo
16 stars

Smart Money Concepts [LuxAlgo] X CDC overlay indicator visualizes market structure and smart money concepts directly on the price chart. It detects real-time internal and swing market structure events including Change of Character (CHoCH) and Break of Structur

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints

TTrades Daily Bias [TFO]

by dbruce1990
12 stars

This indicator determines daily and weekly bias using higher-timeframe structural levels and liquidity targets based on TTrades concepts. It plots period separators, tracks previous highs and lows, and changes level colors when liquidity is raided. An on-scree

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 1 year ago · None stated GitHub repository of TTrades Daily Bias [TFO]

Nexural Transform

by JasonTeixeira
9 stars

Nexural Transform is an oscillator indicator calculated in a separate pane that combines Fisher Transform mechanics with Cumulative Volume Delta momentum. It integrates volume-weighted price transforms, CVD acceleration, and order flow features like absorption

Indicator v6 Oscillators & momentumVolume
Updated 2 weeks ago · Custom licence GitHub repository of Nexural Transform

The Institutional Order Flow Strength Classifier identifies bullish and bearish order blocks triggered by market structure breaks confirmed through pivot highs and lows. It calculates a strength score for each order block based on price displacement and relati

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 4 months ago · MIT GitHub repository of Institutional Order Flow Strength Classifier [LuxAlgo]

OTE (Optimal Trade Entry)

by muammeryldrm42
7 stars

This strategy draws optimal trade entry zones on the price chart from confirmed swing pivots. A later swing high after a swing low defines an up impulse, and the reverse defines a down impulse. It then marks the 0.62 to 0.79 Fibonacci retracement of that swing

Strategy v5 SMC / ICT / price actionSupport & resistance
Updated 3 months ago · MIT GitHub repository of OTE (Optimal Trade Entry)

SMC Quant Engine - QuantAlgo

by thesenegalesehitch
4 stars

SMC Quant Engine is an intraday trading strategy that combines Smart Money Concepts with a quantitative scoring system. It identifies order blocks and fair value gaps aligned with higher-timeframe 240-minute moving averages, ADX trend strength, and volume. Ent

Strategy v6 SMC / ICT / price actionMoving averages
Updated 4 months ago · Custom licence GitHub repository of SMC Quant Engine - QuantAlgo
3 stars

This indicator detects bearish M and bullish W chart formations on the price chart based on Steve Mauro's Beat The Market Maker (BTMM) methodology. It emphasizes second-leg entries confirmed by a clean close across the 13 EMA, volume filters, and minimum ATR p

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 1 year ago · None stated GitHub repository of BTMM M&W Pattern Detection
2 stars

This indicator maps the Asia, London, and New York sessions on the price chart. It draws each developing session range as a translucent box and places dashed liquidity rails at prior session highs and lows. Those rails remain until price sweeps them, then they

Indicator v6 Sessions & timeSMC / ICT / price action
Updated 2 months ago · Custom licence GitHub repository of Session Liquidity Map [Vantrade]
2 stars

This indicator tracks multi-timeframe market structure across up to four user-defined timeframes in a separate pane. It identifies structural changes through Break of Structure (BoS) and Change of Character (CHoCH) events derived from pivot highs and lows. Use

Indicator v6 SMC / ICT / price actionTrend
Updated 2 months ago · None stated GitHub repository of Market Structure MTF Trend [Pt]

SMC+OB+FVG_PH

by mydcc
1 stars

This indicator plots smart money concept structures directly on the price chart. It detects and visualizes market structure elements including change of character, break of structure, swing points, inducements, and liquidity sweeps. Additionally, it identifies

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 2 days ago · Custom licence GitHub repository of SMC+OB+FVG_PH

SMC Context Bus

by skipp-dev
1 stars

This indicator builds a smart-money context frame in a separate pane by calling a private context engine. It exposes hidden numeric plots for schema version, readiness, bias, quality, market structure including break of structure and change of character, imbal

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 4 days ago · None stated GitHub repository of SMC Context Bus

A strategy based on the accumulation, manipulation, distribution idea. It finds a compressed Donchian range, waits for it to mature, then looks for a sweep of one boundary followed by a close back inside the range. A low sweep goes long and a high sweep goes s

Strategy v6 SMC / ICT / price actionSessions & time
Updated 8 days ago · GPL-3.0 GitHub repository of AMD Po3 Reversal Strategy v1.0.3 Trend Veto

CROSV

by kasutu
1 stars

A multi-layer chart overlay built around three EMAs of 20, 50 and 200 bars, with line colours that change by their relative order and a wide coloured zone around the 50 EMA. It adds automatic trend lines drawn from pivot points, with adjustable pivot period an

Indicator v5 Moving averagesTrend
Updated 2 weeks ago · None stated GitHub repository of CROSV
1 stars

An overlay indicator that tracks unswept pivot highs and lows as liquidity levels and detects sweeps, where a wick pierces a level and the bar closes back inside. Each sweep gets a 0 to 100 score from wick size, relative volume, close position and proximity to

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 7 weeks ago · MPL-2.0 GitHub repository of LHS v2 Liquidity Sweep Score
1 stars

Detects volume order blocks, zones formed when a fast and slow exponential average cross and volume builds around the extreme price, and draws them on the price chart as support or resistance lines. Six sensitivity tiers each give Tier 3 buy and sell markers w

Indicator v6 SMC / ICT / price actionVolume
Updated 2 months ago · None stated GitHub repository of VOB Asym T3 x6 MutEx Lines v9.1
1 stars

The SMC Market Structure Indicator identifies swing points and market structure on the price chart using Smart Money Concepts. It detects higher highs, higher lows, lower lows, and lower highs based on seed mode settings and pivot length. The script plots Brea

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

Fair Value Gaps Basic

by shubhamtaywade82
1 stars

Marks three-candle fair value gaps on the price chart as shaded boxes, using green for bullish gaps and red for bearish gaps. A gap is drawn once the bar is confirmed, and each box extends twenty bars to the right. Settings toggle each direction, change colour

Indicator v6 SMC / ICT / price action Archived
Updated 5 months ago · None stated GitHub repository of Fair Value Gaps Basic

Talons Order Block Strategy

by muammeryldrm42
1 stars

A strategy that marks order blocks after an impulsive move: a candle opposite to the move whose follow-through exceeds an ATR multiple. A box is drawn on the price chart and a limit order is placed at the block midpoint when price retests it. An optional 200-p

Strategy v5 SMC / ICT / price actionSupport & resistance
Updated 5 months ago · None stated GitHub repository of Talons Order Block Strategy
1 stars

An indicator on the price chart that detects pivot-based structure breaks (CHoCH) and then looks for a retest of the broken level, using an ATR percentage tolerance. Confirmation can be a touch, a close outside the level or an engulfing candle, with optional v

Indicator v6 SMC / ICT / price actionVolume
Updated 6 months ago · None stated GitHub repository of Structure Retest Engine Delta Hybrid
1 stars

A separate-pane oscillator based on market structure ranges at three scales: short, intermediate and long. Each scale has a weight input, and the combined value is smoothed and shown as a gradient or a cycle histogram. Optional structure lines and tags for eac

Indicator v5 SMC / ICT / price actionOscillators & momentum
Updated 1 year ago · None stated GitHub repository of Market Structure Oscillator

This indicator plots ICT Fair Value Gaps and internal external range imbalances on multiple high timeframes. It detects liquidity pools and potential reversal zones by analyzing range structures. Three customizable timeframes allow selection of colors and bar

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 1 year ago · MPL-2.0 GitHub repository of ICT External and Internal Range Liquidity Multi-timeframe
56 stars

This indicator identifies fractal-based pivot highs and lows to map out market structure directly on the price chart. It detects bullish and bearish structure breaks, automatically labeling Break of Structure (BOS) and Change of Character (ChoCH) events when p

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 2 months ago · None stated GitHub repository of Market Structure (Fractal)

Calculates and plots ICT Inversion Fair Value Gaps (IFVGs) directly on the price chart. It detects bullish and bearish fair value gaps and tracks when price passes through them, converting them into inversion zones. Users can customize the validity period in b

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 2 months ago · MPL-2.0 GitHub repository of Inversion Fair Value Gaps IFVG ICT Signals
12 stars

Tracks and visualizes active, swept, and closed-through swing points while measuring C3 continuation success rates following C2 candle closures based on ICT concepts. It draws customizable level lines directly on the price chart and compiles performance statis

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 1 year ago · None stated GitHub repository of C2 Next Candle Statistics Tracker

This indicator overlays a market structure dashboard on the price chart. It reads up to seven user-selected timeframes, each with an on/off switch and a trend weight, and shows columns for EMA trend, swing highs and lows, structure, order blocks, and fair valu

Indicator v6 Screeners & dashboardsSMC / ICT / price action
Updated 3 months ago · None stated GitHub repository of Market Structure Dashboard | Flux Charts
6 stars

Institutional CRT Framework is an overlay indicator that highlights candlestick patterns including 2-candle rejection, 3-candle classic, inside bar consolidation, and outside bar ranges directly on the price chart. It offers optional time-session filtering acr

Indicator v6 Candlestick patternsSMC / ICT / price action
Updated 7 months ago · None stated GitHub repository of Institutional CRT Framework

BTMM Master Dashboard

by jcortes254
3 stars

The BTMM Master Dashboard indicator plots tables, boxes, and labels on the price chart for multi-timeframe analysis. It calculates 5, 13, 50, and 200 period EMAs along with session-based market maker phases including accumulation, manipulation, distribution, a

Indicator v5 Screeners & dashboardsSessions & time
Updated 1 year ago · None stated GitHub repository of BTMM Master Dashboard
2 stars

This indicator plots smart money concept structures directly on the price chart using confirmed swing pivots and an internal trend state machine. It identifies Break of Structure, Change of Character, Fair Value Gaps, and Order Blocks. Mitigated zones automati

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 2 months ago · Custom licence GitHub repository of Smart Money Structure Toolkit

Lakshmi Zones

by voletiramu
2 stars

Lakshmi Zones calculates and plots unmitigated daily order blocks, supply and demand zones, and key levels directly on the price chart. It processes historical daily candlestick bodies and wicks to generate zone boxes, tracking whether subsequent daily closes

Indicator v6 Support & resistanceSMC / ICT / price action
Updated 6 months ago · None stated GitHub repository of Lakshmi Zones

Structure & Flow

by majixai
1 stars

A smart money style indicator that detects swing structure and breaks of structure with an ATR buffer, then marks order blocks found within a lookback, extends them forward and hides or removes them when mitigated by a wick or a close. Signals are graded in ti

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 2 days ago · None stated GitHub repository of Structure & Flow
1 stars

This library builds real-time Smart Money Concepts context frames on each bar. It derives StructureFrame using engine primitives for BOS, CHoCH, trend and S-R levels. ImbalanceFrame tracks FVG lifecycle, BPR overlap, liquidity void and zone-bias. ZoneFrame man

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

Draws volume order blocks on the price chart and adds three tiers of asymmetric buy and sell volume signals: a percentage-threshold tier, a one-sided volume tier and a super volume tier. A cooldown spaces signals. High-volume proximity markers fire when a roll

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

This large indicator applies ICT-style smart money analysis to gold on the price chart, covering order blocks, breaker blocks, liquidity pools, premium and discount positioning and market structure. Buy and sell signals can be gated by a discount or premium fi

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

SMC Strategy

by mrdungx2603
1 stars

This Smart Money Concepts (SMC) strategy identifies market structure, order blocks, imbalances, and premium or discount zones directly on the price chart. It executes long trades in discount zones and short trades in premium zones based on order block retests,

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

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