Fresh MQL5 code release – perfect for enhancing your MT4/MT5 strategies.

- Volatility Check: It constantly monitors market speed (ATR).
-
Adaptation:
- In High Volatility (News/Impulse), it widens the detection threshold to filter out noise.
- In Low Volatility (Ranges), it tightens the threshold to catch smaller structural moves.
- Fractal Confirmation: It searches 3-14 bars to the left and waits for fixed confirmation bars to the right to validate a swing.
🛠️ Key Features
- Non-Repainting: Once a swing point is confirmed (after the set RightBars), it never changes position.
- High Performance: Optimized using advanced caching methods to ensure zero lag, even on maximum history.
- State Machine Logic: Enforces strict High-Low alternation logic (prevents invalid double highs/lows).
🤖 Development Credits
This tool represents a transparent collaboration between human logic and AI development:
- Concept & Logic: Defined by the author based on Fractal Market Structure.
- Architecture: Structural design and logic flow assisted by Google Gemini.
- Optimization: Code refinement and performance caching enhanced by Claude (Opus).
Free Open Source Tool for the MQL5 Community. Trade Responsibly.
Classic MACD strategy made fully automatic – the MACD Expert Advisor for MT4 handles it all. Check it out.
Thanks for reading. Discover premium MetaTrader solutions at RobotFX.
68185