Skip to content
All library documents

Filtering Liquidity Setups with an EMA Trend Constraint

Article MQL5 articles

Summary

The article extends a liquidity-zone strategy by requiring setups to align with a trend filter based on an exponential moving average. Demand zones qualify for buy-limit orders when they form above the EMA, while supply zones qualify for sell-limit orders when below it. This makes the zones continuation opportunities in the direction of the prevailing bias; setups on the opposite side are ignored. The article also recommends aiming for recent swing highs or lows and describes keeping the filter as a separate module from the entry and execution logic.

Examples illustrate a demand zone above the EMA as aligned and a supply zone above it as invalid for a short. The article asserts that alignment improves outcomes, but the provided excerpt gives no quantified test results to establish the size or reliability of that improvement. A trend filter can reduce countertrend trades, yet it cannot ensure a winning trade, and results depend on market context and implementation. Structural levels and additional context remain relevant to targets and risk decisions.

Key ideas

  • The strategy permits buy-limit setups at demand zones above the EMA and sell-limit setups at supply zones below it.
  • The filter treats liquidity zones as pullback entries in the direction of the trend.
  • Recent swing highs or lows provide possible structural profit targets.
  • A dedicated filter module can keep trend checks separate from signal detection and trade execution.
  • Trend alignment may screen some countertrend setups, but the article does not quantify its performance benefit.

Tags

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