Skip to content
All library documents

A TEMA Direction-Change Expert Advisor for Bar-Close Signals

Article MQL5 code base

Summary

This Expert Advisor is described as trading changes in the direction of a custom Triple Exponential Moving Average indicator. It forms a signal when a bar closes and the indicator changes direction. Running the advisor requires a separately compiled indicator file, and the description notes a supporting library intended to accommodate brokers with nonzero spreads and to set stop-loss or take-profit values when opening a position.

The article reports that example tests used the advisor’s default inputs on USDJPY four-hour charts for 2014. It also states that stop-loss and take-profit settings were not used in those tests. The supplied text does not include numerical performance results, a benchmark, or enough detail to assess transaction costs, position sizing, or robustness across markets and periods. The method is therefore a basic trend-direction signal description with limited testing context, not evidence that the advisor is profitable or suitable for live trading.

Key ideas

  • The advisor generates signals when the custom TEMA indicator changes direction at a bar close.
  • The system depends on a separately compiled indicator and a supporting trading library.
  • The described example test used USDJPY four-hour data for 2014 with default inputs.
  • Stop-loss and take-profit settings were omitted from the reported test, and the text gives no numerical results.

Tags

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