Skip to content
All library documents

Automating Entropy Regime Signals in a Market Trading EA

Article MQL5 articles

Summary

The document turns a Market Entropy Indicator into an MQL5 Expert Advisor with explicit rules for classifying price behavior and generating trades. It calculates entropy over fast, slow, and base periods, alongside momentum, divergence, and compression or decompression states. Long signals can arise from fast entropy crossing above slow entropy or from a compression breakout, subject to momentum and regime filters; short signals use inverse or chaotic-condition cues. Configurable controls govern trade size, stop loss, take profit, signal spacing, order retries, and whether an opposite signal closes and reverses a position.

The EA is presented as auditable and suitable for Strategy Tester evaluation, with chart markers and logs to inspect behavior. The article mentions a test window but provides no readable performance figures or detailed evidence in the excerpt. It recommends further parameter, symbol, and timeframe testing. The stated rules are therefore a framework for systematic evaluation, not evidence that entropy signals predict returns or generalize across markets.

Key ideas

  • Fast and slow entropy crossovers, momentum, and market regime inform directional signals.
  • Compression-to-decompression transitions can act as breakout triggers.
  • Signal spacing and configurable stops and targets govern trade handling.
  • An optional reversal rule closes an open position when an opposite confirmed signal appears.
  • The described backtest lacks accessible results, so robustness and profitability remain unestablished.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.