Market Condition Evaluation based on standard indicators in Metatrader 5 - page 246

 

Forum on trading, automated trading systems and testing trading strategies

Can some help in getting Supply and demand Zone indicators for MT5 ...Please share the link

Sergey Golubev, 2026.06.25 11:31

Interactive Supply and Demand Zone Manager in MQL5 (Part II): Event-Driven Architecture and Persistent Lifecycle Logging

Interactive Supply and Demand Zone Manager in MQL5 (Part II): Event-Driven Architecture and Persistent Lifecycle Logging

In Part I of this series, we introduced a dynamic supply and demand zone management framework capable of transforming ordinary chart rectangles into actively managed market structures. Rather than treating support and resistance zones as passive visual annotations, we developed a system capable of creating, maintaining, merging, invalidating, and restoring structural regions as market conditions evolved.

 

Forum on trading, automated trading systems and testing trading strategies

Can some help in getting Supply and demand Zone indicators for MT5 ...Please share the link

Sergey Golubev, 2026.07.16 13:47

Interactive Supply and Demand Zone Manager in MQL5 (Part III): Zone Analysis, Stateful Interaction, and Pending Event Management

Interactive Supply and Demand Zone Manager in MQL5 (Part III): Zone Analysis, Stateful Interaction, and Pending Event Management

In Part I of this series, we introduced a dynamic supply-and-demand zone management framework that transforms static chart annotations into actively managed market structures. Rather than treating support and resistance as passive visual references, the system defines zones as lifecycle-aware entities. Zones support deterministic creation, modification, invalidation, restoration, and state transitions as market conditions evolve.

...

In Part II, this runtime framework was refactored into a structured event-driven architecture, where system execution was organized around discrete market responses rather than continuous tick-based polling. Alongside this shift, a dedicated logging subsystem was introduced to replace informal debug outputs with a persistent, append-only event record.


 

Forum on trading, automated trading systems and testing trading strategies

Can some help in getting Supply and demand Zone indicators for MT5 ...Please share the link

Sergey Golubev, 2026.08.13 14:13

Interactive Supply and Demand Zone Manager in MQL5 (Part IV): Trading Supply and Demand Zones

Interactive Supply and Demand Zone Manager in MQL5 (Part IV): Trading Supply and Demand Zones

In Part III of this series, the supply and demand framework was extended beyond simple zone detection by introducing quantitative evaluation, lifecycle management, and structured interaction monitoring. Zones were no longer treated as static chart objects, but as dynamic market structures capable of gaining, losing, and changing relevance over time. However, identifying a high-quality zone is only one part of the trading process; a strong supply or demand area does not automatically represent an executable opportunity. Market context determines whether price rejects the zone, breaks through it, or retests it from the opposite direction.

 
Merrill patterns
Merrill patterns
  • 2019.10.02
  • www.mql5.com
In this article, we will have a look at Merrill patterns' model and try to evaluate their current relevance. To do this, we will develop a tool to test the patterns and apply the model to various data types such as Close, High and Low prices, as well as oscillators.
 

A Reusable Breakeven Manager in MQL5 with Spread Compensation

A Reusable Breakeven Manager in MQL5 with Spread Compensation

You may have seen a familiar failure mode: an Expert Advisor moves a stop-loss "to breakeven" at the entry price and then, during a short spread spike (news or thin liquidity), the position is closed on that stop even though the market is barely retraced. The root causes are twofold and engineering-focused: (1) a breakeven check that ignores the fact that a trade is opened at ask but closed at bid—so the spread at modification time must be part of the breakeven level—and (2) a mistaken pip/point conversion on 3- and 5-digit symbols, which makes activation thresholds and buffers scale incorrectly. You need a small, testable module that (a) measures profit in real pips, (b) samples the live spread at the instant of modification, and (c) sets SL to open price ± current spread ± buffer (with pip size derived from the symbol's digits). This article implements exactly that: a CBreakevenManager with a clear API (Register(ticket, activation pips, buffer pips) and OnTick()), demo EA, and verification script.
A Reusable Breakeven Manager in MQL5 with Spread Compensation
A Reusable Breakeven Manager in MQL5 with Spread Compensation
  • 2026.09.01
  • www.mql5.com
A robust breakeven implementation for MQL5 is built around live spread sampling and correct pip-to-price conversion by symbol digits. CBreakevenManager moves SL to open_price ± spread ± buffer once a real‑pip activation threshold is reached and prevents duplicate modifications. A demo EA shows the behavioral difference versus a naive breakeven, and a script verifies core calculations.