MetaTrader 5 – How to call indicators in MQL5
In MQL5 there are several ways to call indicators, and they are mostly carried out using IndicatorCreate() and iCustom() functions. Moreover, these functions only return indicator handle, and further work on indicators is done through it. So what is a handle? How to deal with IndicatorCreate() and iCustom() functions? And how your expert will get indicator data? All these questions are covered in this article.
Creating a source file
To begin with our expert, let’s create it’s source file. We’ll do this pretty much as in the MetaEditor4 by calling the MQL5 Wizard from File -> New menu. On the first step select the Expert Advisor and press Next.

Read full article at http://www.mql5.com/en/articles/43
Related posts:

