Codes

Market Behavior Analyzer: Swing Structure and Market Context for MetaTrader 5

The Market Behavior Analyzer is a practical indicator designed to make market structure easier to read directly from the chart. It identifies significant swing points, classifies them as Higher Highs, Higher Lows, Lower Highs, and Lower Lows, and tracks the movement between them in pips. It also

Interactive Supply and Demand Zone Trading Prototype for MetaTrader 5

This release introduces a lightweight automated trading prototype built on top of the Interactive Supply and Demand Zone Manager framework. The framework allows traders to draw and manage their own supply and demand zones, while each zone maintains its own lifecycle, interaction history, and

Articles

Interactive Supply and Demand Zone Manager in MQL5 (Part VI): Dual-Timeframe Zone Detection and Lifecycle Management for MetaTrader 5

This installation implements source‑aware processing: select a lower source or a lower/higher pair, then run detection and lifecycle per source with dedicated ATR, history checks, and bar stamps. Zones store their source timeframe for logging and snapshot persistence, and only that source's chart

Developing Smart Chart Objects in MQL5 (Part 3): Integrating Lifecycle Alerts into Managed Trendlines for MetaTrader 5

This article adds a lifecycle-driven alert layer to the Smart Trendline Manager. Alerts originate from state transitions (touch, bounce, break, resurrection), pass configurable event and source filters, and are delivered via terminal popups and push notifications. You will see how to wire the alert

Developing a Quantitative Session Analysis Tool (Part 2): Building Universal Sessions and Analysing Session Relationships for MetaTrader 5

The Session Analyzer is upgraded to define sessions by local market time and to translate those windows into broker/server time with date-aware DST logic. We describe the session model, broker offset treatment, and efficient bar selection, then add a relationship layer that measures temporal

Building a Position Lifecycle Manager in MQL5 (Part 2): Managing Manual and Multi-Symbol Positions for MetaTrader 5

This update adds manual position adoption and multi-symbol lifecycle management. The manager detects and tracks positions regardless of the chart, applies initial protection, transitions to break-even under fixed or ATR triggers, and validates broker constraints per symbol. Using the MACD sample for

Interactive Supply and Demand Zone Manager in MQL5 (Part V): Persisting Zones Across Terminal and EA Restarts for MetaTrader 5

We introduce a versioned persistence layer that saves and restores the zone engine's logical state across sessions. The snapshot preserves lifecycle status, interaction history, scores, blacklist prices, and the geometry and time anchors of user‑drawn rectangles, and it is reconstructed and

Developing Smart Chart Objects in MQL5 (Part 2): Automating Trendline Discovery and Lifecycle Management for MetaTrader 5

Learn how Smart Trendline Manager separates creation from lifecycle control while handling both manual and auto-generated trendlines. It demonstrates discovery, registration, proximity and touch handling, bounce/break confirmation, post-break resurrection, expiration, and state-driven visualization

Developing a Quantitative Session Analysis Tool (Part 1): Building a Data-Driven View of Market Sessions for MetaTrader 5

The article presents a session analysis workflow in MQL5 that standardizes sessions as structured data with timing, OHLC, range, net move, and the sequence of extremes. It measures how range builds at 25%, 50%, 75%, and 100% of session duration. The chart shows session markers, a compact comparison

Building a Market Behavior Analyzer in MQL5 for MetaTrader 5

We outline a modular analyzer for MetaTrader 5 that separates detection, interpretation, and visualization. The engine identifies swing highs and lows, assigns structural labels, evaluates impulses and pullbacks, and stores results in a market state object. An on‑chart dashboard and interactive

Building a Position Lifecycle Manager in MQL5 (Part 1): The Foundation of Reusable Position Management for MetaTrader 5

A state-driven Position Lifecycle Manager brings structure to post-entry trade handling in MetaTrader 5. It discovers open positions, tracks them via managed objects, applies ATR-based protection, executes break-even transitions, and removes completed trades, with a clear NEW → PROTECTED → BREAKEVEN

Developing Smart Chart Objects in MQL5 (Part 1): Building a Stateful Trendline Management Framework for MetaTrader 5

This article details a practical framework for converting MetaTrader 5 trendlines from static drawings into managed runtime entities. It covers object discovery, event-driven synchronization of user edits, and confirmation logic based on ATR multipliers and closed candles. A central manager

Forum

How thorough is the Mql5 articles review??

I wrote an article about a month ago, yet it hasn't been published neither is there feedback telling me it got rejected its stuck at 50% saying it has been sent to the moderators. I even opened a ticket with them, and they asked for the link to the article now almost two weeks has passed nothing

Why do most EAs take so many bad trades… even when the logic seems correct?

been testing different systems recently, and something keeps standing out. Most EAs aren’t necessarily bad at finding trade signals, they’re just not very good at avoiding bad conditions. You’ll see things like: indicators align open trade conditions met open trade But markets don’t really