Skip to content
All library documents

Trading Direction Changes in a Volume-Weighted Moving Average

Article MQL5 code base

Summary

This Expert Advisor uses a volume-weighted moving average indicator to generate trade signals. It checks for a change in the indicator line’s color when a bar closes, treating that change as a shift in direction. The description presents this as the rule behind the strategy rather than detailing additional entry filters or exit logic.

The accompanying test is identified as EURJPY on a four-hour chart during 2015, using the advisor’s default inputs. Stop loss and take profit were not used in the reported test. The text points to chart illustrations of trade history and results, but provides no numerical performance statistics or enough detail to assess execution assumptions, costs, or robustness. The implementation also depends on a separately compiled indicator and a trading library, so the description alone is insufficient to reproduce the test.

Key ideas

  • The strategy takes signals from changes in a volume-weighted moving average’s direction.
  • A change in the indicator line’s color at bar close forms the signal.
  • The stated test covers EURJPY on a four-hour chart in 2015.
  • The test used default inputs and did not use stop loss or take profit.
  • The description provides no numerical performance metrics.

Tags

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