Pine Library · 1,213 open-source scripts

Free SMC and ICT Pine Scripts (page 2)

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

3 Bar Gap

by kevinhhl
4 stars

The 3 Bar Gap indicator identifies fair value gaps and price imbalances across a three-bar pattern directly on the price chart. It calculates displacement between the price boundaries of two bars ago and the current bar. To filter out market noise during quiet

Indicator v5 SMC / ICT / price actionVolatility & bands
Updated 3 years ago · None stated GitHub repository of 3 Bar Gap
4 stars

Snag - Detect Bull Bear is an indicator that identifies bull and bear market phases on the price chart. It uses a customizable ZigZag to detect trend reversals, tracking high and low points. The script applies Fibonacci-based rules to confirm breakout shifts b

Indicator v5 TrendSupport & resistance
Updated 4 years ago · None stated GitHub repository of Snag - Detect Bull Bear

GBPUSD H1 QuadLayer

by GifariKemal
3 stars

An institutional order block and EMA pullback indicator designed for GBPUSD on the 1-hour timeframe. It filters trading signals based on specific London and New York session kill zones, ATR volatility thresholds, signal quality metrics, and day or hour multipl

Indicator v5 SMC / ICT / price actionMoving averages
Updated 4 days ago · MIT GitHub repository of GBPUSD H1 QuadLayer

JCO Swings Trend HTF

by jcornierfra
3 stars

This Pine Script indicator detects swing highs and lows on a higher timeframe while analyzing the current chart timeframe. It calculates trend direction using swing structures with bullish or bearish momentum and compression status. CHoCH detection identifies

Indicator v6 TrendSMC / ICT / price action
Updated 12 days ago · None stated GitHub repository of JCO Swings Trend HTF

This strategy combines fractal-based supply and demand order blocks with Awesome Oscillator divergence detection. It generates long signals when price interacts with a demand zone alongside a confirmed bullish divergence, and short signals at supply zones with

Strategy v5 SMC / ICT / price actionOscillators & momentum
Updated 5 weeks ago · None stated GitHub repository of Combined Strategy - Supply/Demand + AO Divergence

RTD IFVG

by Rickylel
3 stars

RTD IFVG tracks inverted fair value gaps (IFVGs) and identifies bullish or bearish trade setups when price closes through gaps following liquidity sweeps, higher-timeframe FVG reactions, or SMT divergence. The indicator grades setups from A+ to C based on posi

Indicator v6 SMC / ICT / price actionSupport & resistance Repaints
Updated 2 months ago · None stated GitHub repository of RTD IFVG

This indicator plots pivot levels and inflection zones on the price chart. It calculates P, S1 to R4 pivot points using selected type such as Traditional or Fibonacci and anchor timeframe. Inflection zones appear as supply and demand boxes based on swing highs

Indicator v6 Support & resistanceSMC / ICT / price action Repaints
Updated 3 months ago · MIT GitHub repository of Combined Advanced Trading Blueprint

AI Bot - Manual Alerts

by thanhcong1211
3 stars

AI Bot - Manual Alerts is an overlay indicator that scores buy and sell conditions from optional MACD, EMA, RSI, and break-of-structure checks. It treats the share of enabled conditions that fire as a confidence value and sends a JSON buy or sell alert once pe

Indicator v5 Oscillators & momentumMoving averages Repaints
Updated 3 months ago · None stated GitHub repository of AI Bot - Manual Alerts

Mc War

by tuanmcwar
3 stars

The Mc War indicator identifies Smart Money Concepts market structure elements directly on the main price chart. It detects swing highs and lows using pivot calculations to label higher highs, lower highs, higher lows, and lower lows. The script draws lines an

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 4 months ago · None stated GitHub repository of Mc War
3 stars

Calculates and plots ICT concepts on the price chart, including Buy-Side Liquidity (BSL) and Sell-Side Liquidity (SSL) levels identified through fractal swings. The indicator detects liquidity sweeps, identifies Premium and Discount valuation zones with an Equ

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 7 months ago · None stated GitHub repository of ICT SSL Premium & Discount

TradeEase

by RA1NCS
3 stars

TradeEase is a Smart Money Concepts indicator that maps market structure and key liquidity zones directly on the main price chart. It identifies internal and swing market structure changes, including Break of Structure (BOS) and Change of Character (CHoCH), as

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 2 years ago · MIT GitHub repository of TradeEase

This indicator detects and visualizes core Smart Money Concepts directly on the price chart. It plots bullish and bearish order blocks, fair value gaps, rejection blocks, break of structure levels, pivots, and liquidity pools using boxes and markers. A dedicat

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 4 years ago · None stated GitHub repository of Super OrderBlock / FVG / BoS and ABC with Alert

TRH Hunter AI

by davoodepb
2 stars

This indicator identifies Smart Money Concepts and liquidity levels directly on the price chart. It detects equal highs, equal lows, liquidity sweeps, fair value gaps, order blocks, displacement moves, and market structure shifts such as break of structure and

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 2 days ago · None stated GitHub repository of TRH Hunter AI

OWS Context

by vishnu-vardhan-d
2 stars

This indicator evaluates institutional market structure by tracking five core behaviors: liquidity sweeps with reclaims, stopping volume, range compression and expansion, breaks of structure, and order block mitigations. When a user-defined minimum number of p

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 2 weeks ago · MIT GitHub repository of OWS Context
2 stars

SMC + POC Signals identifies Smart Money Concepts structure elements including Break of Structure (BOS), Change of Character (CHoCH), Order Blocks, and Fair Value Gaps alongside a rolling Point of Control (POC) volume profile line. It marks potential long and

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 3 weeks ago · None stated GitHub repository of SMC + POC Signals [factor-lab]

SMC Marks

by kxngHADES
2 stars

This Pine Script indicator automatically marks Smart Money Concepts on the price chart. It identifies swing highs and lows as HH, HL, LH, LL using a configurable swing length. It detects breaks of market structure (BMS/BOS) and changes of character (CHoCH), wi

Indicator v6 SMC / ICT / price actionTrend
Updated 4 weeks ago · None stated GitHub repository of SMC Marks

ICT + FVG + RSI

by Allysson-Rodrigues
2 stars

This multi-timeframe indicator overlays ICT Fair Value Gaps (FVGs) and higher-timeframe candle projections directly onto the price chart. It aggregates price imbalance context across up to six configurable timeframes while maintaining a dynamic multi-timeframe

Indicator v6 SMC / ICT / price actionOscillators & momentum Repaints
Updated 7 weeks ago · MIT GitHub repository of ICT + FVG + RSI

GODMODE Dashboard

by EricMohlathe
2 stars

This indicator visualises multiple smart money concepts and technical analysis modules directly on the price chart. It plots trend EMAs, VWAP bands with standard deviations, market structure breaks and changes of character, Fair Value Gaps, Order Blocks, suppl

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

Market Mind Reader

by Lapommeray
2 stars

Market Mind Reader is an overlay strategy that generates buy and sell signals based on user-defined inputs for Federal Reserve bias, DNA pattern states, and liquidity directions. It evaluates alignment across these inputs to calculate a signal confidence score

Strategy v5 SMC / ICT / price action
Updated 2 months ago · None stated GitHub repository of Market Mind Reader

FYP Bot 1

by aleks-drozy
2 stars

This strategy executes trades based on a combination of Smart Money Concepts, including Inverse Fair Value Gaps (IFVG) and Change in State of Delivery (CISD) structure breaks. Entries require confluence between IFVG flips, structural CISD breaks, a 20-period e

Strategy v6 SMC / ICT / price actionTrend
Updated 2 months ago · MIT GitHub repository of FYP Bot 1
2 stars

This indicator implements a streaming bar-by-bar port of the Chanlun theory decomposition pipeline directly on the price chart. It processes raw price action through Algorithm N containment normalization, identifies top and bottom fractals, connects them into

Indicator v5 Support & resistanceSMC / ICT / price action
Updated 3 months ago · None stated GitHub repository of Chanlun (chanlun-v1 port)
2 stars

Session Extreme Revisit - Lines identifies high and low candles during defined trading sessions, such as London and New York, and projects them on the chart as supply and demand reaction zones. The indicator tracks intraday extreme price ranges and extends rea

Indicator v5 Sessions & timeSupport & resistance
Updated 5 months ago · None stated GitHub repository of Session Extreme Revisit - Lines

AIO Sniper SMC HUD

by puzzithinker
2 stars

This indicator maps Smart Money Concepts (SMC) directly onto the price chart. It detects swing and internal market structure, strong and weak highs and lows, equal highs and lows, fair value gaps (FVGs), and order blocks (OBs). It also plots premium and discou

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 5 months ago · None stated GitHub repository of AIO Sniper SMC HUD
2 stars

Strong Wealth Magnet is an overlay indicator that scores price action and draws selected narrative layers on the price chart. Up to three modes can run together, including a Pro layout and a Six Eyes view that reviews past signals over a chosen window and labe

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 6 months ago · None stated GitHub repository of Strong Wealth Magnet
2 stars

This indicator detects institutional candles where the body exceeds a multiple of the rolling average body size. It creates and draws supply and demand zone boxes directly on the price chart, validating them over subsequent bars to discard invalidated zones. W

Indicator v6 Support & resistanceSMC / ICT / price action
Updated 6 months ago · None stated GitHub repository of Ghost Zone v8 - Institutional Zones

Apex Signal Matrix Pro

by farbodghasemlu
2 stars

Apex Signal Matrix Pro is an overlay indicator that scores long and short bias from trend, momentum, structure, participation, and risk-reward. It plots entry and strong-entry signals when a smoothed score clears thresholds and the directional spread exceeds a

Indicator v6 TrendOscillators & momentum
Updated 8 months ago · Custom licence GitHub repository of Apex Signal Matrix Pro

HTF OB M30 + LTF Entry System

by ifreddyman2014-tech
2 stars

This multi-timeframe indicator detects order blocks on the HTF M30 timeframe and generates precise entries on the LTF M1 timeframe using break of structure, displacement, and fair value gap concepts. It requires liquidity sweeps for confirmation and signals en

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 8 months ago · None stated GitHub repository of HTF OB M30 + LTF Entry System

FVG [atrader934]

by Ahmedhub934
2 stars

The script identifies bullish and bearish Fair Value Gaps (FVGs) on the current or specified timeframe. It plots auto-updating boxes and labels directly on the price chart to highlight detected gaps. Main settings control box extension in bars, fill and border

Indicator v6 SMC / ICT / price action Repaints
Updated 11 months ago · MIT GitHub repository of FVG [atrader934]

The Smart Money Liquidity Heatmap indicator identifies potential institutional liquidity zones on the main price chart. It compares Smart Money Index (derived from NVI) against Dumb Money Index (derived from PVI) relative to their moving averages and RSI value

Indicator v5 SMC / ICT / price actionVolume
Updated 1 year ago · None stated GitHub repository of Smart Money Liquidity Heatmap [AlgoAlpha]

This indicator identifies Smart Money Concepts structure alongside a four-line moving average ribbon on the price chart. It detects swing highs and lows across a user-defined lookback period, generating price action labels such as higher highs, lower highs, hi

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 1 year ago · None stated GitHub repository of FluidTrades - SMC Lite + Moving Average Ribbon

This indicator identifies bullish and bearish Fair Value Gaps (FVG) on the main price chart based on three-bar price imbalances. It features an optional ATR-based displacement filter to isolate gaps formed during strong market momentum. Detected gaps are displ

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 1 year ago · GPL-3.0 GitHub repository of Pro SMC Fair Value Gap (FVG) Indicator

ICT Macros

by klimasevskiy
2 stars

The ICT Macros indicator plots volatility periods based on ICT smart money concepts on the price chart. It highlights London Macros (02:33-03:00, 04:03-04:30), New York AM Macros (08:50-09:10, 09:50-10:10, 10:50-11:10), and New York Lunch + PM Macros (11:50-12

Indicator v5 Volatility & bandsSupport & resistance
Updated 1 year ago · None stated GitHub repository of ICT Macros

Startegy

by orenkats
2 stars

This strategy draws on the price chart and sizes positions from account equity, a risk percent, and a leverage multiplier. It tracks long and short stops, pending add-on entries, limit and stop order offsets, and a percentage profit target. Settings change lin

Strategy v5 SMC / ICT / price actionSupport & resistance
Updated 1 year ago · None stated GitHub repository of Startegy

Mc War Final

by tuanmcwar
2 stars

Mc War Final is a market structure and Smart Money Concepts indicator that plots swing high and low points, market structure labels, order blocks, and strong or weak high/low levels directly on the price chart. Users can customize swing detection lengths, visu

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 2 years ago · None stated GitHub repository of Mc War Final
2 stars

This indicator identifies and labels market structure components directly on the price chart. It uses pivot calculations to detect swing points, labeling Higher Highs, Lower Highs, Higher Lows, and Lower Lows. It tracks breakouts above or below recent swing le

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 2 years ago · MIT GitHub repository of Using Market Structure

ICT Silver Bullet

by syuraj
2 stars

The ICT Silver Bullet indicator plots Smart Money Concepts market structure elements directly on the main price chart. It detects and highlights market structure shifts, breaks of structure, bullish and bearish order blocks, fair value gaps, balance price rang

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 3 years ago · None stated GitHub repository of ICT Silver Bullet

Gamma/X Killzone Sweeps

by OverleveragedWhale
1 stars

An indicator that watches four ICT-style killzones (Asia, London, New York AM and PM) for a sweep of the previous killzone's high or low followed by a close back inside. It marks the setups on the price chart with a fixed target, a stop just past the wick, opt

Indicator v6 SMC / ICT / price actionSessions & time
Updated yesterday · None stated GitHub repository of Gamma/X Killzone Sweeps
1 stars

A regime-first signal engine for the price chart. It classifies the market stage with a long moving average on an automatically chosen timeframe, then looks for setups: trend pullback, base breakout, stage-two entry, and two bottom-reversal types after heavy s

Indicator v6 TrendBreakout Repaints
Updated yesterday · None stated GitHub repository of Institutional Buy & Sell v9.4

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