Skip to content
All library documents

Displaying Fixed-Timeframe TrendMagic Trend Changes

Article MQL5 code base

Summary

The document explains a signal indicator that displays the current trend using values from the TrendMagic indicator on a fixed timeframe. It mirrors the source indicator’s line color, allowing the displayed trend state to be read from that color. Colored diamonds mark the moment a bar changes on the selected timeframe.

This describes a visual way to follow trend states and timeframe transitions; it does not provide entry or exit rules, parameter values, or a strategy for acting on the signals. The indicator depends on the separate TrendMagic indicator file being installed in the platform’s indicators directory. No chart results, backtests, or other evidence are supplied, so the document establishes what the display represents but not whether using it improves trading decisions.

Key ideas

  • The signal display derives its trend state from TrendMagic values on a fixed timeframe.
  • The displayed line color matches the source TrendMagic line color.
  • Colored diamonds identify bars changing on the selected timeframe.
  • The signal indicator requires the separate TrendMagic indicator file.
  • The document offers no trading rules or performance evidence.

Tags

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