MetaTrader 5 – How to call indicators in MQL5

Apr 29th, 2010

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.

f81fb3149a6c92f321e9068930f79479 MetaTrader 5   How to call indicators in MQL5

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

Related posts:

  1. MetaTrader 5 – Guide to Using Technical Indicators in Expert Advisors
  2. MetaTrader 5 – How to Write an Indicator on the Basis of Another Indicator
  3. Transferring Indicators from MQL4 to MQL5
  4. MetaTrader 5 – Migrating from MQL4 to MQL5
  5. List of changes in the Help for MQL5 – MetaTrader 5
Comments are closed.