New article - MQL5 Cookbook: Development of a Multi-Symbol Indicator to Analyze Price Divergence

 

New article MQL5 Cookbook: Development of a Multi-Symbol Indicator to Analyze Price Divergence has been published at mql5.com:

In this article, we will consider the development of a multi-symbol indicator to analyze price divergence in a specified period of time. The core topics have been already discussed in the previous article on the programming of multi-currency indicators MQL5 Cookbook: Developing a Multi-Symbol Volatility Indicator in MQL5. So this time we will dwell only on those new features and functions that have been changed dramatically. If you are new to the programming of multi-currency indicators, I recommend you to first read the previous article.

In this article we'll consider the following questions:

  • Changing the chart properties.
  • Handling of the CHARTEVENT_OBJECT_DRAG (dragging a chart object) and CHARTEVENT_CHART_CHANGE (resizing the chart or modifying the chart properties using the properties dialog window) events.
  • Rendering indicator buffers using more than one color.
  • Defining highs and lows in indicator buffers within the visibility area to set a chart high/low.
  • Inversion of a series.

Author: Anatoli Kazharski