Download MetaTrader 5
To add comments, please log in or register
Start making profit using the Market. Publish your product!
MetaQuotes Software Corp.
MetaQuotes Software Corp. 2016.09.12 09:26 

New article How to quickly develop and debug a trading strategy in MetaTrader 5 has been published:

Scalping automatic systems are rightfully regarded the pinnacle of algorithmic trading, but at the same time their code is the most difficult to write. In this article we will show how to build strategies based on analysis of incoming ticks using the built-in debugging tools and visual testing. Developing rules for entry and exit often require years of manual trading. But with the help of MetaTrader 5, you can quickly test any such strategy on real history.

The execution speed is crucial for programs working in real time. The MetaEditor development framework allows to easily and quickly evaluate the time consumption of any part of the code. To do that, it is necessary to run the code profiler and let the program work for a while. A minute would be enough for profiling this indicator.

Author: MetaQuotes Software Corp.

Alain Verleyen
Alain Verleyen 2016.09.17 13:41  

A coding perfectionist would say the attached indicator doesn't compile

There is a undesired "s" at line 11.

Rashid Umarov
Rashid Umarov 2016.12.03 06:11  
Fixed, thank you
To add comments, please log in or register