Multi-Timeframe SMC Signals with ATR Stops and Risk-Based Sizing
Summary
This FX-oriented strategy combines weekly, daily, and 4-hour price levels with a 50-period simple moving average, short-term break-of-structure conditions, and a fair-value-gap flag. Long signals require price above the moving average, bullish positioning relative to the higher-timeframe lows, an upward break condition, and an active gap; shorts use mirrored trend and bias checks. A session filter and daily trade-count and loss variables are also intended to restrict activity.
Position size is calculated from a configurable fraction of equity divided by the distance to an ATR-based stop, while exits pair that stop with a profit limit expressed as a multiple of ATR. The script also draws higher-timeframe ranges and their overlapping area. The page supplies no backtest results, and several controls deserve scrutiny: the daily loss amount is initialized and reset but not updated, the max-trades setting is not used in the signal condition, and the gap flag remains active once set. These implementation details mean the shown code may not enforce all of its apparent risk and signal intentions without revision.
Key ideas
- The strategy combines higher-timeframe price ranges, a moving-average trend filter, break conditions, and a persistent fair-value-gap flag.
- Long and short signals require alignment between trend, multi-timeframe bias, structure, and session filters.
- Position size is derived from an equity risk fraction and ATR stop distance.
- Exits pair ATR-based stops with targets measured as an ATR multiple.
- The code does not update its daily loss tracker, does not use the max-trades input in its signal condition, and provides no performance evidence.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.