Download MetaTrader 5

Discussion of article "How to quickly develop and debug a trading strategy in MetaTrader 5"

To add comments, please log in or register
MetaQuotes Software Corp.
Moderator
189369
MetaQuotes Software Corp.  

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
Moderator
33626
Alain Verleyen  

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

There is a undesired "s" at line 11.

Rashid Umarov
Admin
12700
Rashid Umarov  
Fixed, thank you
To add comments, please log in or register