SMC core
- Experts
- Versão: 1.10
- Ativações: 5
1. Market structure identification
The system uses confirmed swing highs and swing lows to map market structure.
Swing High: Identifies a price high that is higher than the surrounding highs.
Swing Low: Identifies a price low that is lower than the surrounding lows.
The default swing confirmation length is 10 candles.
This means the indicator looks for significant turning points in the market rather than treating every minor price fluctuation as a structural level.
2. Break of Structure (BOS)
Once a swing high or low has been confirmed, the indicator monitors price for a structural break.
Bullish BOS: A candle closes above the previously identified swing high.
Bearish BOS: A candle closes below the previously identified swing low.
The system requires a candle close beyond the level, rather than simply a wick piercing through it.
This helps distinguish confirmed structural breaks from temporary price excursions.
3. Change of Character (CHoCH)
CHoCH identifies a potential change in market direction.
The indicator maintains a directional trend state:
If the previous structural direction was bearish and price breaks above a swing high, it identifies a bullish CHoCH.
If the previous structural direction was bullish and price breaks below a swing low, it identifies a bearish CHoCH.
If the break occurs in the same direction as the existing trend state, it is classified as a BOS instead.
4. Fair Value Gap identification
The indicator identifies basic three-candle Fair Value Gaps.
Bullish FVG
The current candle's low is above the high from two candles earlier.
The middle candle closes above that earlier high.
The gap must meet a minimum size threshold.
Bearish FVG
The current candle's high is below the low from two candles earlier.
The middle candle closes below that earlier low.
The gap must meet the minimum size threshold.
The default minimum gap size is 0.30 ATR.
These gaps are displayed as chart rectangles to highlight potential imbalance zones.
5. Buy and sell signal generation
The indicator generates directional signals when price confirms a structural break.
| Signal | Trigger | Chart display |
|---|---|---|
| BUY | Candle closes above confirmed swing high | Blue upward arrow |
| SELL | Candle closes below confirmed swing low | Orange-red downward arrow |
An important implementation detail: signals are evaluated on closed candles. The current forming candle is skipped.
This means signals are based on confirmed price action rather than intrabar movements.
6. Volatility measurement using ATR
The system incorporates the Average True Range (ATR), with a default period of 14 candles.
ATR serves two purposes:
Establishing the minimum acceptable FVG size.
Adjusting the vertical placement of buy and sell arrows so they remain visible on the chart.
The ATR is not currently used to calculate stop-losses, take-profits or position sizes.
7. Default configuration
These are the parameters available in the source code:
| Parameter | Default setting |
|---|---|
| Swing confirmation length | 10 |
| ATR period | 14 |
| Minimum FVG size | 0.30 ATR |
| Display BOS/CHoCH | Enabled |
| Display buy/sell signals | Enabled |
| Display FVGs | Enabled |
| Maximum objects setting | 100 |
8. What is not implemented?
This is particularly important when describing the product to potential buyers or developers.
Although the name includes ML (Machine Learning), the current source does not implement an actual machine-learning model.
The source code also explicitly identifies the following as excluded from this core build:
Advanced Bayesian calibration.
Edge testing.
Full liquidity detection engine.
Order block detection engine.
Trade-record table.
It also does not contain:
Automatic trade execution.
Stop-loss management.
Take-profit management.
Risk-based lot sizing.
Breakeven or trailing-stop management.
The underlying methodology is a market-structure-based Smart Money Concepts approach.
SMC Core – Strategy workflow
Identify market swings
Detect confirmed swing highs and swing lows using a 10-candle confirmation length.
Establish market structure
Track structural levels and directional market state.
Detect structural breaks
Identify BOS and CHoCH through candle closes beyond confirmed swing levels.
Identify price imbalances
Detect qualifying bullish and bearish Fair Value Gaps using ATR.
Generate directional signals
Display BUY and SELL arrows following confirmed structural breaks.
