Pine Library · 1,213 open-source scripts

Free SMC and ICT Pine Scripts (page 7)

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

Phantom Flow Core

by darup67
1 stars

A price-chart indicator that combines an ATR trend line, similar to a SuperTrend with a configurable multiplier and source, with market structure tools. The trend line switches colour and prints buy and sell labels when the trend flips, with an optional backgr

Indicator v6 TrendSMC / ICT / price action Repaints
Updated 7 days ago · Custom licence GitHub repository of Phantom Flow Core

Fractal

by Just-beyond-z
1 stars

An overlay that draws a projection of higher-timeframe candles next to the chart and tracks a sweep, confirmation and change-in-state-of-delivery sequence between a lower and a higher timeframe. The pair can be set automatically or by hand, with a bias option,

Indicator v6 SMC / ICT / price actionSupport & resistance Repaints
Updated 13 days ago · None stated GitHub repository of Fractal
1 stars

Williams Swings V2 plots short-term, intermediate-term and long-term swing zigzags on the price chart and marks key and critical levels for each horizon. It flags break-of-structure events and optional critical-break and key-warning alerts. Settings control st

Indicator v6 Support & resistanceSMC / ICT / price action

[ad] SFP + FVG / IFVG

by amadeo987
1 stars

This overlay indicator draws swing-based liquidity levels, fair value gaps and inverted fair value gaps on the price chart. It marks a sweep as RAW after a wick takes a swing and price closes back, then shows a short confirmation label after a later close beyo

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 3 weeks ago · MIT GitHub repository of [ad] SFP + FVG / IFVG

FVG Screener TW

by gplee789-afk
1 stars

This indicator scans up to 40 symbols across a user-defined timeframe to identify Smart Money Concepts Fair Value Gaps, Inversion FVGs, displacement bars, and internal order blocks. It calculates a weighted quality score for each gap, monitors price proximity,

Indicator v6 SMC / ICT / price actionScreeners & dashboards
Updated 3 weeks ago · MPL-2.0 GitHub repository of FVG Screener TW
1 stars

An overlay that finds bullish and bearish order blocks from a pattern across several candles, with an adjustable lookback, and draws boxes that extend a set number of bars. Blocks below a minimum size in ATR multiples are skipped, and mitigation is judged by w

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 4 weeks ago · MIT GitHub repository of Enhanced Roman Order Block

ORB + ICT Backtest Strategy v2

by mccallister-dev
1 stars

This strategy defines opening range breakouts within Asian, London and New York sessions using ATR-based width and buffer filters. It identifies potential entries on breakout after a retest followed by continuation, applying ICT-style context and SMC proxies f

Strategy v6 BreakoutSMC / ICT / price action
Updated 5 weeks ago · None stated GitHub repository of ORB + ICT Backtest Strategy v2

EQH / EQL Liquidity

by mumbi-dev
1 stars

An overlay indicator that finds pivot highs and lows and marks equal highs and equal lows, the areas where buy-side and sell-side liquidity tend to rest. Pivots must match within a percentage tolerance, sit a minimum number of bars apart and pass an ATR promin

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 5 weeks ago · MIT GitHub repository of EQH / EQL Liquidity
1 stars

An enhanced version of the ATR SuperTrend-style buy and sell indicator. Signals can be gated by a 9 and 21 EMA cross, and two ATR take profit levels are drawn. A smart money layer adds clustered support and resistance zones, break of structure and change of ch

Indicator v6 TrendSMC / ICT / price action
Updated 6 weeks ago · None stated GitHub repository of Zimpact Buy/Sell v3 Enhanced

Liquidity & Inducements

by BrandonFreire
1 stars

An indicator for the price chart, built on an imported price action library, that marks liquidity events and inducements. It detects grabs, larger grabs, sweeps and turtle soups, each with its own pivot lengths, lookback, timeframe and colour, plus equal highs

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 2 months ago · None stated GitHub repository of Liquidity & Inducements

PineFlow — ICT FVG Liquidity Model

by loveyuanfandj-glitch
1 stars

PineFlow is an ICT-based multi-timeframe strategy that identifies fair value gaps on 4H context and 15m setup timeframes to signal liquidity-driven entries on the 1m execution chart. It plots FVG zones as support and resistance levels directly on the price cha

Strategy v6 SMC / ICT / price actionSupport & resistance Repaints
Updated 3 months ago · MIT GitHub repository of PineFlow — ICT FVG Liquidity Model

FVG Hunter Pro

by DANIELMANZRU
1 stars

An indicator that draws bullish and bearish fair value gap boxes and shows a dashboard saying whether conditions are aligned for a long, a short, or to wait. A signal requires a minimum number of confirmations from gap size, impulse, volume, 200 EMA trend, pre

Indicator v5 SMC / ICT / price actionOscillators & momentum
Updated 3 months ago · None stated GitHub repository of FVG Hunter Pro

Smart Money Zones PRO

by KavyaBaghel
1 stars

Maps buy and sell zones on the price chart from confirmed pivots with above-average volume, using the nearest opposite-colour candle as the order block. Nearby zones merge within a pip gap and are capped in size, graded by volume, and marked fresh, tapped or w

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 4 months ago · None stated GitHub repository of Smart Money Zones PRO
1 stars

This overlay indicator maps smart-money market structure on the price chart. It labels swing points as higher highs, higher lows, lower highs, and lower lows, and draws Break of Structure and Change of Character lines when structure breaks. A multi-timeframe t

Indicator v6 SMC / ICT / price actionScreeners & dashboards
Updated 4 months ago · None stated GitHub repository of SMC Market Structure + MTF

An ICT-style overlay that detects a swing leg from confirmed pivots, then draws the 0.62, 0.705 and 0.79 optimal trade entry zone with a projected target. A signal needs a minimum confluence score built from structure shift, liquidity sweep at the leg origin,

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 4 months ago · None stated GitHub repository of OTE Optimal Trade Entry Confluence

LTF FractalsSweep + IFVG

by riegodavid-git
1 stars

An overlay indicator for lower timeframes that tracks the latest fractal highs and lows and draws a dotted line when price sweeps one, with an alert on bar close. It also detects fair value gaps, with optional filters for volume, ATR gap size and short-term tr

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 4 months ago · None stated GitHub repository of LTF FractalsSweep + IFVG

RTE Overlay GBPUSD 5M

by Jagadeesh963
1 stars

This overlay indicator draws a fixed visual snapshot on the GBPUSD price chart only when the last bar is forming. It places a translucent box labeled FVG, a horizontal line and label marked MSS, and a text label reading GBPUSD bullish, all using hardcoded pric

Indicator v5 SMC / ICT / price action
Updated 4 months ago · None stated GitHub repository of RTE Overlay GBPUSD 5M
1 stars

This overlay indicator fits a quadratic regression parabola to recent source prices to show a curved trend, its slope, and its curvature. Hyperbola bands use ATR and a curve-sensitivity multiplier so they widen when the trend bends and tighten when it is strai

Indicator v6 TrendVolatility & bands
Updated 5 months ago · None stated GitHub repository of Parabola & Hyperbola Structure

Talons Breaker Block

by muammeryldrm42
1 stars

A strategy that finds impulsive engulfing-style candles to define order block zones, then waits for a zone to fail when price closes through it. A failed bullish zone becomes a short setup on a retest below a 200 EMA, and a failed bearish zone becomes a long s

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

Fresh Supply & Demand Zones

by kvmafthab-pixel
1 stars

Fresh Supply & Demand Zones is a Pine Script v6 indicator that detects and plots fresh supply and demand zones on the price chart. It identifies momentum candles based on ATR period and body size threshold, then scans back for base candles to form zones. Zones

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 5 months ago · Custom licence GitHub repository of Fresh Supply & Demand Zones

SahanS Full Indicator

by sahansbandara
1 stars

An all-in-one overlay indicator that merges a divergence detector, smart money concepts, order blocks, liquidity swings and moving averages. The divergence part checks regular and hidden divergences between price and up to ten oscillators including RSI, MACD,

Indicator v5 DivergenceSMC / ICT / price action
Updated 5 months ago · None stated GitHub repository of SahanS Full Indicator

OMEGA ULTIMATE STRATEGY

by princeleuel-code
1 stars

A strategy built on the same smart money concepts as its indicator sibling: swing structure, order blocks and fair value gaps scored into a confluence value that must pass a minimum before a trade. Size is set from a risk percentage per trade, with an optional

Strategy v5 SMC / ICT / price actionSupport & resistance
Updated 5 months ago · None stated GitHub repository of OMEGA ULTIMATE STRATEGY

Kill Zone Liquidity Sweeps tracks the Asian trading session high and low prices and monitors for liquidity sweeps during the London session. When price temporarily breaches the prior Asian high or low during the London kill zone but closes back within the rang

Indicator v5 SMC / ICT / price actionSessions & time
Updated 6 months ago · MIT GitHub repository of Kill Zone Liquidity Sweeps - Castle Trade

BOS Indicator

by cavaldos
1 stars

Marks break of structure events on the price chart, based on swing pivots found with a leg-detection routine. It tracks two structure levels: a swing level with a default length of 50 and an internal level with a default length of 5. Each can be shown or hidde

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

Algo2.0

by dtheran1
1 stars

A combined overlay for the price chart that joins an ATR Trend module with a smart money concepts module. The trend line is built from an ATR band with ten smoothing types, a fast trend, an optional smoothed range channel and buy and sell markers on trend flip

Indicator v6 TrendSMC / ICT / price action Repaints
Updated 6 months ago · None stated GitHub repository of Algo2.0
1 stars

An overlay indicator that shades four trading sessions, New York, London, Tokyo and Sydney, with editable hours, colours, labels, range boxes and dividers. It also detects pivot-based order blocks and draws them on the chart, with a mitigation setting that dec

Indicator v6 Sessions & timeSMC / ICT / price action
Updated 6 months ago · None stated GitHub repository of Sessions + Order Blocks
1 stars

Detects bullish and bearish order block zones from swing structure and draws them as boxes on the price chart. Each zone can carry volume information and an optional mirrored volume bar. Settings control swing length, how many zones are shown, whether a Wick o

Indicator v6 SMC / ICT / price actionVolume
Updated 6 months ago · None stated GitHub repository of Volumized Order Blocks MTF 2026-2
1 stars

This Pine Script strategy detects ICT smart money concepts including order test zones, fair value gaps, and wicks on BTC and XAUUSD price charts. It calculates swings using pivot high and low. Signals enter long or short when the order test zone is hit with su

Strategy v5 SMC / ICT / price actionCandlestick patterns
Updated 6 months ago · None stated GitHub repository of ICT v4-weinkya BTC Improved

NQ SSR Strategy

by CathalF
1 stars

The NQ SSR Strategy is a trading strategy for Nasdaq futures contracts. It generates buy and sell signals based on multi-timeframe pivot high and low detection across 4H, 1H and 5M timeframes. Signals are plotted directly on the price chart as entry and exit p

Strategy v6 TrendSupport & resistance
Updated 7 months ago · None stated GitHub repository of NQ SSR Strategy
1 stars

A Pine v6 indicator that combines two smart money tools on the price chart. It finds supply and demand zones from an impulse, base candles, impulse pattern measured against ATR, and it marks breaker blocks, which are order blocks that price later closes throug

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 7 months ago · None stated GitHub repository of Supply & Demand + Breaker Blocks v6

Turtle Soup

by Ahmed1926
1 stars

An overlay indicator that detects turtle soup setups, where price takes out a higher-timeframe pivot high or low and then reverses. It uses an imported price action library for market structure, with separate pivot lengths for the trend structure and for the l

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 9 months ago · None stated GitHub repository of Turtle Soup

This indicator draws a trading range box on the price chart, based on a rolling lookback, the previous day or the previous week. Inside it, it marks golden pocket Fibonacci zones, liquidity areas near the range extremes and fair value gaps that extend a set nu

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 9 months ago · MPL-2.0 GitHub repository of Range Indicator: Golden Pocket, Liquidity, & FVG
1 stars

A chart-overlay indicator that combines a volatility cloud with supply and demand zones. The cloud uses a selectable moving average with ATR bands and turns bullish or bearish, producing buy and sell labels when it flips, optionally filtered by volume and RSI.

Indicator v6 TrendSupport & resistance
Updated 9 months ago · None stated GitHub repository of Apex Trend & Liquidity Master

SFA FlowLiquidity v1

by genesisgrubio39
1 stars

The SFA FlowLiquidity library computes structural flow and liquidity events from price data. It detects sweep ups and downs with associated scores, identifies liquidity levels, and applies session and regime filters. Persistent arrays track liquidity prices, b

Library v6 SMC / ICT / price actionSupport & resistance
Updated 10 months ago · None stated GitHub repository of SFA FlowLiquidity v1
1 stars

An earlier release of the swing structure overlay that marks change of character, break of structure and liquidity events on the price chart. A volume strength filter compares the breaking bar with the last few bars or with a tape average, and weak breaks can

Indicator v6 SMC / ICT / price actionVolume
Updated 10 months ago · None stated GitHub repository of Orderflow Break Tape Earlier Version
1 stars

Advanced ICT Theory - A-ICT identifies institutional market structure patterns based on Smart Money Concepts directly on the price chart. It detects displacement candles, order blocks, fair value gaps, trap zones, and reversal zones, tracking their mitigation

Indicator v6 SMC / ICT / price actionSupport & resistance Repaints
Updated 11 months ago · None stated GitHub repository of Advanced ICT Theory - A-ICT

CHoCH Signal TRXUSDT

by gnuhhung317
1 stars

A generated indicator on the price chart that draws a short fixed set of hard-coded lines and a label for TRXUSDT on the 30 minute chart. Three aqua dashed lines mark pivot highs, three yellow dashed lines mark pivot lows, and a lime label marks a change of ch

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 11 months ago · MIT GitHub repository of CHoCH Signal TRXUSDT

A smart money concepts overlay that marks swing pivots, break of structure and change of character events, liquidity sweeps and liquidation wicks on the price chart, and adds a zigzag line driven by a price deviation percentage and pivot leg count. Pivot lengt

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 2 years ago · None stated GitHub repository of SMC Market Structure with Zigzag

Gap Finder

by lesari08
1 stars

Gap Finder identifies and displays bullish and bearish liquidity gaps directly on the main price chart. The indicator calculates gap boundaries, equilibrium levels, and fill lines using either the current chart resolution or a specified higher timeframe. Users

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 3 years ago · None stated GitHub repository of Gap Finder
575 stars

This indicator scans a pasted list of symbols for ICT fair value gaps and lists long and short matches in an on-chart table. It draws gap boxes on the price chart and can close them partially when price fills part of the gap. The user chooses among six scannin

Indicator v6 SMC / ICT / price actionScreeners & dashboards
Updated 1 year ago · MPL-2.0 GitHub repository of ICT Fair Value Gap (FVG) Scanner

Daily Bias + FVG Strategy

by TradersPost
228 stars

This overlay strategy plots previous-day high and low, the daily open, and fair value gap zones on the price chart. It takes entries on a selectable timeframe when the FVG requirement and an optional session window allow them, then uses an ATR or fixed pip sto

Strategy v6 SMC / ICT / price actionSupport & resistance Repaints
Updated 3 months ago · None stated GitHub repository of Daily Bias + FVG Strategy
105 stars

This overlay strategy looks for gold scalps from break of structure and change of character. It enters long when a bullish break, a bullish character change, and an optional volume filter align, and short on the opposite set. Optional RSI levels can block trad

Strategy v6 SMC / ICT / price actionOscillators & momentum Repaints

FVG RSI Strategy (Translated)

by skywalker0803r
42 stars

This strategy overlays two exponential moving averages on the price chart to trade reversals using custom Fair Value Gaps and the Relative Strength Index. It enters long trades when price closes bullishly below both moving averages with an oversold RSI and a g

Strategy v5 SMC / ICT / price actionOscillators & momentum
Updated 2 months ago · None stated GitHub repository of FVG RSI Strategy (Translated)

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