Discussing the article: "Ready-made templates for including indicators to Expert Advisors (Part 3): Trend indicators"

 

Check out the new article: Ready-made templates for including indicators to Expert Advisors (Part 3): Trend indicators.

In this reference article, we will look at standard indicators from the Trend Indicators category. We will create ready-to-use templates for indicator use in EAs - declaring and setting parameters, indicator initialization and deinitialization, as well as receiving data and signals from indicator buffers in EAs.

The article continues the topic of ready-made templates for using indicators in EAs. We have already considered the templates for connecting oscillators and volume and Bill Williams' indicators to EAs.
Here we will look at connecting to EAs and using trend indicators. As in the previous articles, we will display the data received from indicators on the dashboard created in the first article of this series.

The article will not differ in any way from the previous ones in terms of presentation - a brief background overview of each trend indicator and concise codes for connecting and using indicators in EAs.

The article will present ready-made templates for use in custom programs for each indicator:

  • Input and global variables.
  • Initializing variables and creating an indicator handle.
  • Deinitialization.
  • Receiving data in the EA from the indicator.
  • An example of displaying the obtained data on the dashboard.

The article allows using the codes as Copy-Paste.

Author: Artyom Trishkin

Reason: