Easy Trend Visualization in MT5

Added an MT5 version of the Easy Trend Visualizer MetaTrader indicator to the site today. It has almost the same functionality as an MT4 version. The conversion process was rather painful with this indicator and it was the first time I really hated new MQL5 and MT5. Not only the code became more bulky after the conversion, but also the MT5 indicator display system wouldn’t allow doing the same things that MT4 allowed to do easily, in sense of the visualization. It resulted in two main disadvantages compared to old indicator version:

  • More indicator buffers to do the same things
  • The support/resistance lines have ugly vertical appendages
  • On the bright side, I’ve finally found out that the order of elements in the indicator buffers can be inverted (to make it the same as in MT4) by simply calling ArraySetAsSeries() function in the OnInit() event handler. That can really help in the indicator development. Despite all the bad, there are two minor advantages in the MT5 version of Easy Trend Visualizer:

  • Description displayed when adding indicator to chart
  • Readable code
  • You can get the code of MT5 version or read more Easy Trend Visualizer about the indicator.

    If you find some bugs in this MT5 indicator or want to make a suggestion regarding its functionality or what should be my next MT4->MT5 conversion, please, use the commentary form below.

    Leave a Reply

    Your email address will not be published. Required fields are marked *