Skip to content
All library documents

Trading Weight Oscillator Direction Changes at Bar Close

Article MQL5 code base

Summary

This Expert Advisor uses changes in the direction of a weighted oscillator to generate trading signals. It buys when the oscillator turns upward and sells when it turns downward, with each signal evaluated after a bar closes. A higher-timeframe indicator is included for visualizing trends in the strategy tester; the text says it is inactive in other operating modes.

The article also explains how indicator files can be bundled as resources inside the compiled expert, allowing the expert to run on another terminal without separately installing those indicators. It reports that default inputs were used in tests on EURAUD at the six-hour timeframe for 2015, with no stop loss or take profit, but supplies no numerical performance results in the text. The description does not establish robustness across markets or periods, and the absence of protective exits in the reported test limits what can be inferred about risk.

Key ideas

  • The strategy buys when the weighted oscillator turns upward and sells when it turns downward.
  • Signals are evaluated at bar close.
  • A higher-timeframe indicator is used for visual display in the strategy tester.
  • The reported test covers EURAUD on a six-hour timeframe in 2015 and omits stop loss and take profit.
  • The text gives no numerical performance evidence or cross-market robustness analysis.

Tags

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