SmartStructureLib
- Kütüphaneler
-
Noel Anjao Alube
Dedicated to developing smart, data-driven trading solutions with a strong focus on performance, risk management, and innovation. Committed to transforming trading ideas into automated strategies. - Sürüm: 1.0
- Etkinleştirmeler: 5
SmartStructureLib — Smart Money Concepts Engine for MQL5 Developers
SmartStructureLib is a professional-grade MQL5 library that gives developers a complete Smart Money Concepts calculation engine they can embed directly into any Expert Advisor or indicator. Instead of building SMC detection logic from scratch, you include one file and call clean, readable methods that handle all the heavy lifting behind the scenes.
The library is built around seven focused modules. The Structure Engine detects Break of Structure and Change of Character events on any timeframe, returning trend direction and swing levels with a single method call. The Order Block Finder locates the nearest bullish and bearish order blocks, calculates their strength, and tells you whether current price is trading inside one. The FVG Scanner identifies three-candle imbalance zones, tracks their mitigation status, and returns the midpoint for precise entry targeting. The Liquidity Mapper plots equal highs and lows where stop orders are resting, detects liquidity grabs in real time, and surfaces swing levels across any lookback period. The Premium Discount Calculator divides the current dealing range into Fibonacci-based valuation zones and tells you instantly whether price is trading at a premium, a discount, or at equilibrium. The Inducement Finder identifies the liquidity sweep that typically precedes a genuine structural move, scored by strength from zero to one hundred. Finally, the SMC Signal Engine combines all six modules into a single confluence score, filters setups by a minimum threshold you define, and outputs a clean BUY, SELL, or NEUTRAL signal.
All seven modules are exposed through one master class so your code stays readable. Every method is self-contained, every calculation uses native MQL5 price functions, and there are no external dependencies beyond the standard Trade library. A fully functional demo EA is included that runs the entire confluence stack on each new bar, logs a structured report to the Experts tab, renders a live information panel on the chart, and fires alerts when your minimum confluence threshold is reached.
SmartStructureLib pairs directly with ProTradeLib. Where ProTradeLib manages what happens after you enter a trade, SmartStructureLib tells you when and where to enter in the first place. Used together they give you a complete institutional-grade trading framework you can build any strategy on top of.
Built for MQL5. Compatible with MetaTrader 5. No repainting. No external calls. Fully documented source code included.
