Pine Library · 1,213 open-source scripts

Free SMC and ICT Pine Scripts (page 21)

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

This SMC indicator plots major and minor order blocks along with fair value gaps on the price chart. It identifies demand and supply zones originating from ChoCh and BoS patterns, with separate main, sub, and all-zone categories. Users can toggle visibility an

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 2 months ago · None stated GitHub repository of Smart Money Concept [TradingFinder] Major Minor OB + FVG (SMC)
1 stars

A strategy that enters on a liquidity sweep and reclaim of a stored swing level, gated by trend and momentum filters. Trend uses EMAs, ADX, DI alignment and a confirmed higher-timeframe EMA check, and momentum uses ROC and balance of power. Cleaner overlay ext

Strategy v6 TrendSMC / ICT / price action Repaints
Updated 7 days ago · GPL-3.0 GitHub repository of Sweep Trend Continuation + SVP

Fable Bull HTF v1

by nishpa800
1 stars

The first release of a bullish-side detection indicator for higher timeframe charts. It marks numbered signals on the price chart from relative volume tiers, a standard deviation displacement test, a VWMA with ATR Supertrend latch, pocket pivots and fair value

Indicator v5 VolumeSMC / ICT / price action
Updated 2 months ago · None stated GitHub repository of Fable Bull HTF v1
6 stars

The script identifies time-filtered Candle Range Theory (CRT) patterns on higher-timeframe candles using New York session timing. It detects liquidity sweeps and range manipulation setups relative to specific H4 candles for user-selected models, such as 1AM, 5

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 7 months ago · None stated GitHub repository of Complete CRT System (MTF v2)
2 stars

This Pine Script indicator detects Smart Money Concepts order blocks on the price chart using pivot highs and lows. It builds supply and demand zones based on configurable pivot periods and order block validity periods. The script offers refinement options to

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 2 months ago · None stated GitHub repository of SMC Setup Order Blocks 07 TFlab
1 stars

A strategy with one entry type, a liquidity sweep and reclaim of a stored swing level, allowed only when trend and momentum filters agree. The trend filter uses a fast and slow EMA, a minimum ADX, DI alignment and an optional confirmed higher-timeframe EMA che

Strategy v6 TrendSMC / ICT / price action Repaints
Updated 7 days ago · GPL-3.0 GitHub repository of Sweep Trend Continuation Strategy

Fable Bull HTF v1.2

by nishpa800
1 stars

A bullish-side detection indicator for higher timeframe charts that places numbered signals on the price chart. It combines relative volume tiers, a standard deviation displacement test, a VWMA with ATR Supertrend latch, pocket pivots and fair value gap engine

Indicator v5 VolumeSMC / ICT / price action
Updated 2 months ago · None stated GitHub repository of Fable Bull HTF v1.2

CRT + Turtle Soup Scanner

by alboogycOdR
6 stars

Calculates CRT session range boundaries and detects Turtle Soup setups to identify potential breakout signals. The script tracks session high, low, and midpoint values to determine intraday bias while measuring price break distances against ATR thresholds. It

Indicator v5 SMC / ICT / price actionSessions & time
Updated 7 months ago · None stated GitHub repository of CRT + Turtle Soup Scanner

Fair Value Gaps by DGT

by regalouisei
2 stars

The indicator plots Fair Value Gaps zones on the price chart derived from selected timeframes. It detects imbalances between swing highs and lows then applies chosen fill methods including Wick Sweep and Body Beyond to mark filled gaps. Up to three instances s

Indicator v6 Support & resistanceSMC / ICT / price action
Updated 8 months ago · None stated GitHub repository of Fair Value Gaps by DGT

Fable Bull HTF v1.3

by nishpa800
1 stars

A bullish-side detection indicator for higher timeframe charts that draws numbered signals on the price chart. It uses relative volume tiers, a standard deviation displacement test, a VWMA with ATR Supertrend latch, pocket pivots and fair value gap engines. A

Indicator v5 VolumeSMC / ICT / price action
Updated 2 months ago · None stated GitHub repository of Fable Bull HTF v1.3

MTF Structure Bias classifies market structure across four timeframes by comparing rolling highest highs and lowest lows N bars ago. Each timeframe receives a bullish (+1), bearish (-1), or mixed (0) state based on whether highs and lows are rising or falling.

Indicator v6 SMC / ICT / price actionScreeners & dashboards
Updated 2 days ago · MIT GitHub repository of MTF Structure Bias [WavesUnchained]
2 stars

This indicator detects liquidity sweeps during the Asian session and identifies reversal opportunities in the New York session. It tracks the high and low of the Asia trading range using session timestamps in UTC+3. Sweep up and down are flagged when price bre

Indicator v5 SMC / ICT / price actionSessions & time
Updated 2 months ago · None stated GitHub repository of Asian Liquidity Sweep + NY Reversal

Fair Value MS

by regalouisei
2 stars

Fair Value MS is an overlay indicator that highlights market structure, fair value gaps, and key areas of interest on the price chart. It identifies bullish and bearish structural shifts, projects extended interest zones towards current price action, and draws

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 8 months ago · None stated GitHub repository of Fair Value MS

USI Flip + REV-BUY

by skipp-dev
1 stars

This overlay indicator combines a six-line zero-lag RSI stack with EMA trend filters and smart-money structure checks. It marks USI flip long and short signals when the RSI lines stack, optional volume and bar-close filters pass, and optional stack or slow-tre

Indicator v6 Oscillators & momentumMoving averages Repaints
Updated 3 days ago · None stated GitHub repository of USI Flip + REV-BUY

Fable Bull LTF v1

by nishpa800
1 stars

The first release of a bullish-side detection indicator for lower timeframe charts. It draws numbered signals on the price chart from relative volume tiers, a standard deviation displacement test, a VWMA with ATR Supertrend latch, pocket pivots and fair value

Indicator v5 VolumeSMC / ICT / price action
Updated 2 months ago · None stated GitHub repository of Fable Bull LTF v1

TylerG FVG BB Reversal

by TradersPost
228 stars

This indicator identifies mean-reversion setups by combining Bollinger Bands with Fair Value Gaps (FVGs). It tracks FVGs that print outside the upper or lower Bollinger Bands and counts them toward an alert threshold. Signals trigger upon gap mitigation (by to

Indicator v6 SMC / ICT / price actionVolatility & bands
Updated 3 months ago · None stated GitHub repository of TylerG FVG BB Reversal
7 stars

This indicator detects consolidation zones, fair value gaps, and breakaway gaps on the price chart using Heikin-Ashi price calculations. It tracks overlapping candles to identify consolidation ranges and marks subsequent structural breakouts. Users can display

Indicator v6 SMC / ICT / price actionBreakout
Updated 3 months ago · None stated GitHub repository of HA Colidation Breakout Structure

Fable Bull LTF v1.4

by nishpa800
1 stars

A bullish-side detection indicator for lower timeframe charts that places numbered signals on the price chart. Its engines include relative volume tiers, displacement by a standard deviation multiplier, a VWMA with ATR Supertrend latch, pocket pivots, fair val

Indicator v5 VolumeSMC / ICT / price action
Updated 2 months ago · None stated GitHub repository of Fable Bull LTF v1.4

CRT Mapper Complete

by alboogycOdR
6 stars

CRT Mapper Complete plots Candle Range Theory (CRT) structures, Turtle Soup patterns, and supply and demand zones directly on the main price chart. It identifies time-based session ranges, tracks market structure shifts, and generates entry signals using rejec

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 7 months ago · None stated GitHub repository of CRT Mapper Complete

USI-CHoCH

by skipp-dev
1 stars

Calculates a multi-speed RSI system across six lengths to identify Change of Character (CHoCH) market structure shifts. The indicator overlays signals on the main chart, combining volume filter thresholds, OBV divergence analysis, anticipation proximity marker

Indicator v6 SMC / ICT / price actionOscillators & momentum
Updated 3 days ago · None stated GitHub repository of USI-CHoCH

Price Action Toolkit

by mikeyhu70
1 stars

A Pine Script v5 indicator on the price chart for market structure. It detects internal and external swing structure with adjustable sensitivity, labels breaks of structure and changes of character, and draws order blocks from the swings, with a limit on how m

Indicator v5 SMC / ICT / price action
Updated 6 months ago · None stated GitHub repository of Price Action Toolkit
6 stars

This overlay indicator maps a timed CRT session range and draws a range box, supply and demand zones, a midpoint take-profit line, and optional entry labels. It tracks range, manipulation, and distribution states, and can filter signals with market structure,

Indicator v5 SMC / ICT / price actionSessions & time
Updated 7 months ago · None stated GitHub repository of CRT Mapper Complete with TURTLES
2 stars

This indicator highlights ICT Silver Bullet trading sessions directly on the price chart. It identifies Fair Value Gaps (FVGs) and filters them based on trend direction and strictness rules, with options to extend unfilled zones. It also tracks swing highs and

Indicator v5 SMC / ICT / price actionSessions & time
Updated 2 months ago · None stated GitHub repository of ICT Silver Bullet [LuxAlgo]
1 stars

A Pine Script v5 indicator on the price chart for market structure, filed by its author as a broken copy that may not run correctly. It aims to detect internal and external swings with adjustable sensitivity, label breaks of structure and changes of character,

Indicator v5 SMC / ICT / price action
Updated 6 months ago · None stated GitHub repository of Price Action Toolkit (Broken)
6 stars

This overlay indicator maps a timed session range in SAST, then marks supply and demand zones, a midpoint target, and a four-hour manipulation trendline. It tracks range, manipulation, and distribution states and can plot long or short entry signals when marke

Indicator v5 Support & resistanceSMC / ICT / price action
Updated 7 months ago · None stated GitHub repository of CRT Mapper Complete with TURTLES

Fractals

by g-moe
3 stars

The Fractals indicator identifies potential reversal points on the price chart by detecting local swing highs and lows. It plots down fractal markers above the bar for swing highs and up fractal markers below the bar for swing lows. The Periods setting control

Indicator v5 TrendSupport & resistance
Updated 5 months ago · None stated GitHub repository of Fractals
2 stars

The ICT Silver Bullet with Signals indicator identifies and highlights key Inner Circle Trader concepts directly on the main price chart. It marks designated Silver Bullet session time windows, detects higher-timeframe Fair Value Gaps (FVGs), and plots support

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 2 months ago · None stated GitHub repository of ICT Silver Bullet with Signals
2 stars

The Liquidity Void Detector calculates a custom oscillator to identify low-participation price moves in a separate pane. It computes a log volume shock z-score against a moving average baseline and a 1-bar log return z-score. When volume drops below the low-vo

Indicator v6 SMC / ICT / price actionVolume
Updated 8 months ago · None stated GitHub repository of Liquidity Void Detector (Zeiierman)
1 stars

A Pine Script v5 indicator on the price chart for market structure. It finds internal and external swings with adjustable sensitivity, labels breaks of structure and changes of character with selectable line style and width, and draws order blocks from the swi

Indicator v5 SMC / ICT / price action
Updated 6 months ago · None stated GitHub repository of Price Action Toolkit (Variant 1)
6 stars

This overlay indicator maps a timed session range from a chosen SAST start hour and session length, then draws the range box, midpoint, supply and demand zones, and an optional four-hour manipulation trendline. It tracks range, manipulation, and distribution s

Indicator v5 Support & resistanceSMC / ICT / price action
Updated 7 months ago · None stated GitHub repository of CRT Mapper Complete with TURTLES

First Bar Fable v3

by nishpa800
1 stars

A composite detection indicator that marks fifteen or more toggleable signals on the price chart, each labelled S1 onward. They include relative volume setups combined with displacement and a pullback-and-jump pattern, plus named patterns such as Typhoon, Musa

Indicator v5 VolumeSMC / ICT / price action
Updated 2 months ago · None stated GitHub repository of First Bar Fable v3

TN Multi-Confluence

by raybird
1 stars

A Pine v6 strategy that trades smart money concepts on the price chart. It combines a higher-timeframe bias with an EMA, equal highs and lows liquidity, order blocks, fair value gaps and an optional displacement confirmation. Entries are limited to New York an

Strategy v6 SMC / ICT / price actionSessions & time
Updated 2 months ago · None stated GitHub repository of TN Multi-Confluence
2 stars

This indicator identifies and visualizes swing liquidity levels directly on the main price chart. It detects pivot highs and lows, filtering them according to normalized volume strength relative to recent standard deviation. Active liquidity levels are drawn a

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 2 months ago · None stated GitHub repository of Liquidity Zones [BigBeluga]

First Bar Fable v5

by nishpa800
1 stars

A larger release of a composite detection indicator with many toggleable numbered signals drawn on the price chart. They cover relative volume setups with displacement and a pullback-and-jump pattern, plus named patterns such as Typhoon, Musashi, Whale, Dynami

Indicator v5 VolumeSMC / ICT / price action
Updated 2 months ago · None stated GitHub repository of First Bar Fable v5

This indicator plots internal and external liquidity zones alongside market structure breaks directly on the price chart. It calculates short-term and long-term pivot points to identify internal and external liquidity levels, including equal highs and lows. Ma

Indicator v6 SMC / ICT / price actionSupport & resistance

CRT State Engine

by alboogycOdR
6 stars

CRT State Engine plots time-based CRT models, session state ranges, and institutional market structure on the main price chart. It detects liquidity sweeps, order blocks, Fair Value Gaps, and volume profile imbalances across specified New York time sessions. T

Indicator v5 SMC / ICT / price actionSessions & time
Updated 7 months ago · None stated GitHub repository of CRT State Engine
2 stars

This indicator detects order blocks and breaker blocks on the price chart using swing highs and lows with a configurable lookback length. Bullish order blocks appear as blue boxes and lines while bearish ones use orange coloring. Breaker blocks trigger red and

Indicator v5 SMC / ICT / price action
Updated 2 months ago · None stated GitHub repository of Order Blocks & Breaker Blocks

Funded Range Gann Sniper

by vedkanani123
1 stars

A price-chart indicator that looks for fade setups after price raids the edge of a completed session or prior-day range and closes back inside. It requires the Gann half-range level to sit at least a set number of R away, sizes the stop beyond the raid using A

Indicator v6 SMC / ICT / price actionSupport & resistance Repaints
Updated 2 months ago · None stated GitHub repository of Funded Range Gann Sniper

First Bar Fable v6

by nishpa800
1 stars

The v6 release of a composite detection indicator that draws many toggleable, numbered signals on the price chart. Signals cover relative volume setups with displacement, pullback-and-jump patterns and named formations such as Typhoon, Musashi, Whale, Dynamite

Indicator v5 VolumeSMC / ICT / price action
Updated 2 months ago · None stated GitHub repository of First Bar Fable v6

CRT State Engine

by alboogycOdR
6 stars

CRT State Engine is an overlay indicator that maps New York-timed CRT models, unmitigated order blocks, market structure, liquidity pools, and volume profile on the price chart. It can draw session boxes for Asia, London, London lunch, and New York and optiona

Indicator v5 SMC / ICT / price actionSessions & time
Updated 7 months ago · None stated GitHub repository of CRT State Engine
2 stars

Order Blocks & Imbalance MTF detects bullish demand and bearish supply order blocks driven by Fair Value Gaps (FVG). The indicator calculates gap sizes using an ATR multiplier threshold across configurable timeframes via higher-timeframe data requests. When va

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

Heavy Combo Toggles v2

by nishpa800
1 stars

An indicator that groups fifteen heavy combo detections into three master plots on the price chart: bullish, bearish and neutral. Each master plot is an OR across five combos, namely Heavy Yin-Yang, Heavy Nagasaki, Heavy Nagasaki Volume, Heavy Trident and Neut

Indicator v5 VolumeSMC / ICT / price action
Updated 2 months ago · None stated GitHub repository of Heavy Combo Toggles v2

CRT State Engine

by alboogycOdR
6 stars

CRT State Engine draws an institutional candle-range state model on the price chart. It tracks New York session models, market structure, unmitigated order blocks, liquidity pools, and optional volume profile and multi-pair correlation. Change-in-state detecti

Indicator v5 SMC / ICT / price actionSessions & time
Updated 7 months ago · None stated GitHub repository of CRT State Engine

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