Indicator · Pine Script v5 · On the chart

SMC Killzone State Engine Enhanced

by alboogycOdR· code credited to Enhanced SMC System

This multi-timeframe indicator combines Smart Money Concepts (SMC) with customizable session killzones for London and New York trading.

View on GitHub

GitHub stars6on the repository
Pine versionv5runs as is
Lines of code417
Settings35inputs
LicenceNone stated
Last update7 months ago16 Mar 2026

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 Killzone State Engine Enhanced identifies market structure points such as Break of Structure (BOS) and Change of Character (CHoCH), alongside Points of Interest (POIs) including Order Blocks, Fair Value Gaps, Breakers, and Mitigation Blocks. It overlay-plots key levels, highlights liquidity sweeps on the chart, and displays setup states via an on-screen dashboard.

Details

Published by

alboogycOdR on GitHub

Code credit

Enhanced SMC System, as written in the script's header

Type

Indicator, Pine Script v5

Draws

On the price chart

Category

SMC / ICT / price action, Sessions & time, Support & resistance, Screeners & dashboards

Markets

Gold, Forex

Timeframes

M1-M5, M15-H1

Risk Notes

No repainting, lookahead or stacked entries were found in its code or README. That says nothing about how well it works: test it first.

Settings

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

SettingTypeDefaultVariable
Trade DirectionstringBothtrade_direction_input
Risk:Reward Ratiofloat2.0risk_reward_ratio
Max Trades per Sessionint3max_trades_per_session
London Sessionbooltrueuse_london
London Start Hour (SAST)int2london_start_hour
London End Hour (SAST)int5london_end_hour
New York Sessionbooltrueuse_ny
NY Start Hour (SAST)int14ny_start_hour
NY End Hour (SAST)int17ny_end_hour
TimezonestringGMT+2timeZone
Primary HTFtimeframe15htf1
Secondary HTFtimeframe60htf2
Show all 35 settings
SettingTypeDefaultVariable
Structure HTFtimeframe240htf3
POI Lookback Barsint50poi_lookback
Min FVG Size (% of Price)float0.0010fvg_min_size
OB Strength (bars)int3ob_strength
Minimum POI Scorefloat60min_poi_score
Detect Breakersbooltrueuse_breakers
Detect Mitigation Blocksbooltrueuse_mitigation_blocks
Volume Imbalance Zonesbooltrueuse_volume_imbalance
Structure Lookbackint20structure_lookback
Use CHoCH Detectionbooltrueuse_choch
Use BOS Detectionbooltrueuse_bos
Swing High/Low Strengthint3swing_strength
Enable Liquidity Sweepsbooltrueuse_liquidity
Liquidity Lookbackint20liquidity_lookback
Sweep Threshold %float0.0005sweep_threshold
Show Dashboardbooltrueshow_dashboard
Show Market Structurebooltrueshow_structure
Show Liquidity Levelsbooltrueshow_liquidity
Show POI Scoresbooltrueshow_poi_scores
Bullish FVGcolor#26a69abull_fvg_color
Bearish FVGcolor#ef5350bear_fvg_color
Bullish OBcolor#2196f3bull_ob_color
Bearish OBcolor#ff9800bear_ob_color
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

Golden Bullet Strategy

by TradersPost
218 stars

The Golden Bullet Strategy is an overlay signal indicator based on Smart Money Concepts and time-based liquidity models. It identifies liquidity sweeps of a designated reference session range during a specified hunt window. It then confirms Market Structure Sh

Indicator v6 SMC / ICT / price actionSessions & time
Updated 3 months ago · None stated GitHub repository of Golden Bullet Strategy

This indicator detects and draws the first Fair Value Gap (FVG) that forms in each hourly session based on a selected lower timeframe, with specialized handling for Regular Trading Hours (RTH) confluence windows. It draws FVG range boxes, midpoint lines, hourl

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints

Clusterbreak

by Jferheart
15 stars

This indicator identifies Break of Structure (BOS) and Market Structure Shift (MSS) zones, plotting automated bracket levels on the price chart. It triggers signals when a reversal breaks a swing point formed inside an opposing zone, projecting stop loss and t

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 4 weeks ago · None stated GitHub repository of Clusterbreak

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]
575 stars

This overlay indicator scans a pasted list of symbols for ICT liquidity sweep patterns using prior swing sweeps. The screening method looks back one, two, or three swings and can list long and short signals in a results table with adjustable rows, position, an

Indicator v5 SMC / ICT / price actionScreeners & dashboards
Updated 1 year ago · MPL-2.0 GitHub repository of ICT Liquidity Sweep Pattern Scanner
257 stars

This indicator overlays an intraday SPX and ES chart with a midnight session range, regular-trading-hours opening levels, and a VWAP projection box. It draws the midnight high, mid, and low, flags edge rejections within an absolute tolerance, and plots optiona

Indicator v6 TrendSupport & resistance
Updated 6 weeks ago · None stated GitHub repository of SPX Midnight Box + Snag Logic

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