by MQL5
KS Fibonacci Tool is a custom MetaTrader 5 indicator designed to automatically detect the current Smart Money Concept (SMC) market structure leg and draw Fibonacci levels on it in real-time.
Core Purpose
It helps traders visualize Fibonacci retracement and extension levels based on the most recent significant price swing (structure leg), which is a common approach in ICT/SMC trading methodologies.
Key Features
Automatic Market Structure Detection:
Identifies bullish and bearish legs by tracking swing highs and lows.
Detects structure breaks using either candle body or candle wick (configurable).
Maintains the current structure’s high and low.
Visual Elements:
Draws two horizontal lines representing the current structure high and low (in blue by default).
Draws up to 5 customizable Fibonacci levels on the current leg:
Default levels: -0.25, 0.0, 0.5, 1.0, 1.25
Each level has its own color, line style, and width.
Dynamic Behavior:
Updates in real-time as price moves.
When a structure break occurs, it resets and starts a new Fibonacci projection on the new leg.
Labels show both the Fibonacci ratio and the exact price level.