Indicator · Pine Script v5 · On the chart

SMC & ICT & Indicators + Scalping Master

by IAMATOMIC001

This indicator maps Smart Money Concepts (SMC) and ICT market structure directly on the price chart.

View on GitHub

Repaints

GitHub stars3on the repository
Pine versionv5runs as is
Lines of code2,463
Settings40inputs
LicenceNone stated
Last update12 months ago31 Oct 2025

Add It to Your TradingView Chart

  1. 1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
  2. 2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
  3. 3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
  4. 4Add it to the chartPress Add to chart, then adjust the settings with the gear icon next to its name.

Source Code

The code stays on GitHub. The author has not published this script under an open licence, so ForexR does not show its code. Copy script reads the file straight from GitHub into your clipboard, so you can still try it on your own chart. Ask the author before reusing the code anywhere else.

Overview

SMC & ICT & Indicators + Scalping Master detects internal and swing structure breaks including Break of Structure (BOS) and Change of Character (CHoCH), highlights internal and swing order blocks with ATR-based filtering, and identifies equal highs, equal lows, and fair value gaps. Users can toggle historical or present display modes, configure sensitivity thresholds, and highlight strong or weak swings.

Details

Published by

IAMATOMIC001 on GitHub

Type

Indicator, Pine Script v5

Draws

On the price chart

Category

SMC / ICT / price action, Support & resistance, Breakout

Markets

Any symbol

Timeframes

M1-M5, M15-H1

Risk Notes

  • Reads higher-timeframe data with lookahead on, so the history can show signals that were not there in real time

Settings

The inputs you can change from the gear icon on the chart. Defaults are the author's.

SettingTypeDefaultVariable
modestringHistoricalmode
stylestringColoredstyle
Color Candlesboolfalseshow_trend
Show Internal Structurebooltrueshow_internals
Bullish StructurestringAllshow_ibull
swing_ibull_csscolor#00c8ffswing_ibull_css
Bearish StructurestringAllshow_ibear
swing_ibear_csscolor#ffc800swing_ibear_css
Confluence Filterboolfalseifilter_confluence
Show Swing Structurebooltrueshow_Structure
Bullish StructurestringAllshow_bull
swing_bull_csscolor#00c8ffswing_bull_css
Show all 40 settings
SettingTypeDefaultVariable
Bearish StructurestringAllshow_bear
swing_bear_csscolor#ffc800swing_bear_css
Show Swings Pointsboolfalseshow_swings
lengthint50length
Show Strong/Weak High/Lowbooltrueshow_hl_swings
Internal Order Blocksbooltrueshow_iob
iob_showlastint5iob_showlast
Swing Order Blocksboolfalseshow_ob
ob_showlastint5ob_showlast
Order Block FilterstringAtrob_filter
Internal Bullish OBcolorcolor.new(#3179f5, 80)ibull_ob_css
Internal Bearish OBcolorcolor.new(#f77c80, 80)ibear_ob_css
Bullish OBcolorcolor.new(#1848cc, 80)bull_ob_css
Bearish OBcolorcolor.new(#b22833, 80)bear_ob_css
Equal High/Lowbooltrueshow_eq
Bars Confirmationint3eq_len
Thresholdfloat0.1eq_threshold
Fair Value Gapsboolfalseshow_fvg
Auto Thresholdbooltruefvg_auto
Timeframetimeframefvg_tf
Bullish FVGcolorcolor.new(#00ff68, 70)bull_fvg_css
Bearish FVGcolorcolor.new(#ff0008, 70)bear_fvg_css
Extend FVGint1fvg_extend
Dailyboolfalseshow_pdhl
pdhl_stylestring⎯⎯⎯pdhl_style
pdhl_csscolor#2157f3pdhl_css
Weeklyboolfalseshow_pwhl
pwhl_stylestring⎯⎯⎯pwhl_style
Third-party code. ForexR did not write, test or endorse this script, and the summary above was generated automatically from its code and README. Indicators describe the past, and a strategy's backtest can look better than live trading, especially when a script repaints. Check it in the Strategy Tester and on a demo account before you rely on it.

Similar Pine Scripts

This indicator tracks smart money market structure directly on the price chart. It calculates dual-period swing highs and swing lows to detect Changes of Character (CHoCH), Breaks of Structure (BOS), inducements, and liquidity sweeps. When structural levels ar

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 1 year ago · Apache-2.0 GitHub repository of Market Structure with Inducements & Sweeps [LuxAlgo]
24 stars

This indicator maps Smart Money Concepts (SMC) market structure directly onto the price chart. It detects internal and swing structure breaks (BOS and CHoCH), tracks bullish and bearish order blocks, identifies fair value gaps (FVG), highlights equal highs and

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 10 days ago · Custom licence GitHub repository of Smart Money Concepts [LuxAlgo] Test B
13 stars

This script identifies and visualizes bullish and bearish order blocks on the price chart. It detects low-volatility consolidation ranges followed by breakout moves accompanied by high trading volume. Users can select between Simple, Relative, or Weighted volu

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 6 months ago · MIT GitHub repository of Advanced Order Blocks with Volume

This indicator implements a Wyckoff method state machine that tracks accumulation, distribution, markup, and markdown regimes across phases A through E. It identifies structural events including springs, UTADs, SOS, SOW, LPS, LPSY, and climactic bars using ATR

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated yesterday · MIT GitHub repository of Modern Wyckoff State Machine Lite [WavesUnchained]
9 stars

This multi-timeframe indicator detects and visualizes Smart Money Concepts (SMC) and ICT market structures on the price chart. It maps higher-timeframe dealing ranges, premium and discount zones, break of structure (BOS), change of character (CHoCH), order blo

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 8 months ago · None stated GitHub repository of SMC/ICT Zones Pro Generalized

More indicators

Trade Your Charts With a Regulated Broker

Compare brokers that connect to TradingView, with spreads, minimum deposits and leverage side by side.

Compare brokers