Gartley Patterns
- Indicateurs
-
Jeffrey Lloyd Lauzon
Welcome to themt4developer!
I am a C++ systems programmer and specialized MQL4 developer focused on building professional-grade trading utilities, custom indicators, automated Expert Advisors, and advanced chart dashboards for MetaTrader. - Version: 1.0
Gartley Patterns (Harmonic Scanner)
Gartley Patterns is an institutional-grade technical overlay engineered to automatically map complex harmonic price structures and swing imbalances across active execution cycles. By processing market geometry dynamically through strict multi-timeframe swing filters, this utility completely eliminates manual calculation errors and gives traders an instant visual panel of high-probability reversal zones on a single chart window.
Utilizing specialized single-pass pattern recognition logic, this indicator tracks structural pivot points relative to custom history depth windows. It transforms complex Fibonacci weighting metrics into clean visual states, helping traders spot precise institutional entry and risk parameters long before standard indicators react.
Core Technical Features
* Dual-Engine Pattern Recognition: Automatically identifies and processes both Bullish and Bearish institutional structures including Gartley, Bat, and Butterfly formations.
* Strict Harmonic Tolerance Band: Utilizes precision Fibonacci ratio verification (0.618, 0.786, 1.272) to filter out false formations and isolate high-conviction setups.
* Intuitive Color-Coded State Machine: Instantly adapts indicator buffer rendering and triangle fills to contrast flawlessly with the main chart workspace.
* Actionable Value Panel Output: Translates active pattern ratios into explicit metric readouts configured down to the fractional decimal.
* Institutional Solid Workspace Panel: Includes dynamic object mapping that outlines structural legs and apex labels cleanly on a sleek, modern layout.
* Zero Terminal Lag / High Performance Architecture: Engineered with an optimized single-pass loop execution that runs smoothly, completely avoiding terminal lag during high-frequency execution.
Interactive Status & Interpretation Logic
The indicator tracks real-time data calculations and formats the active pattern readout based on asset decimal precision automatically:
* Dynamic Geometric Plotting: Draws chronological triangle fills and trendline legs directly across asset swings to serve as exact mean-reversion and reversal zones.
* Labeled Apex Matrix: Formats and displays structural coordinate strings (X, A, B, C, D) explicitly across pivot points utilizing clean typography standards.
* Clean Object Management: Employs automated clean-up logic that removes outdated graphical objects seamlessly when scanning new historical data.
Adjustable Input Parameters
Tailor the calculation matrix completely to your personalized risk strategy directly through the input dashboard:
* MinPipMove (Default: 8.0): Adjusts the minimum swing size filter in pips to screen out market noise.
* Threshold (Default: 0.04): Sets the strict harmonic tolerance band percentage for pattern validation.
* BarsToScan (Default: 1000): Modifies the history depth scanner window for performance tuning.
