Skip to content
All library documents

PowerSystem Indicator Combines EMA and MACD Slopes

Article MQL5 code base

Summary

PowerSystem is a directional indicator that compares the latest changes in the MACD main line and an exponential moving average. When both rise, it marks an upward signal in red; when both fall, it marks a downward signal in green. If neither matching condition applies, the display uses blue to indicate no defined trend. The accompanying code illustrates these two matching-slope rules.

The document presents the indicator as a check on trade direction: red permits buying or waiting and warns against selling, while green advises against buying and permits selling or waiting. Blue imposes no directional restriction. It offers no settings, market or timeframe specification, chart evidence, or performance results, so it does not establish whether the signals predict subsequent price moves. The rules also leave mixed EMA and MACD slope readings unspecified beyond the general no-trend color description.

Key ideas

  • The indicator compares the direction of change in the MACD main line and an exponential moving average.
  • It marks an upward signal when both measures rise and a downward signal when both fall.
  • Red indicates a rising signal, green a falling signal, and blue no defined directional restriction.
  • The document supplies no performance evidence or detailed rule for mixed slope readings.

Tags

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