Working with Doubles in MQL4

Nov 11th, 2009 | Filed under MetaTrader 4

MQL4 Working with Doubles in MQL4The MQL programming opens new opportunities for the automated trading, many people all over the world already have appreciated it.

When we are writing an Expert Advisor for trading, we must be sure that it will work correctly.

Many newbies often have some questions when the results of some mathematical calculations differ from those expected. The program is compiled and can work, but not as it should. They are checking the code again and again, finding the new “mistakes” in language, in implementation, in functions, etc.

In the most of cases, the careful analysis shows that the language and compiler work correctly, but code has a small error, and it can take a long time to find and correct it.

In this note we will consider a typical programming errors, that occurs while working with double numbers in MQL4 programs.

To read the full article, please visit: http://articles.mql4.com/866

Related posts:

  1. MQL4 for Dummies
  2. MQL4 Tutorial – Introductory Course
  3. MetaTrader Programming Overview
  4. What Is Automated Trading
  5. Using Neural Networks In MetaTrader

Comments are closed.