Testing your own algorithm: tips for better testing results
The rules described above can be exposed in any programming language including MQL4. We will not take into consideration the refinements of programming in this language. Those who desire can find on the Internet not only ready guides, that help to realize Turtle algorithm, but also step-by-step manuals for the writing of such strategies. Let us discuss some other things.
In case if that or this algorithm is exposed in the form of programming language, the possibility appears to define its strong and weak sides using historic data. MT4 also gives such a possibility. It has to be noted that modeling of trading system behavior may have some mistakes and should not be considered as absolutely accurate.
To make the testing to give important statistic data we should take into consideration the following recommendations:
As the result of tests of Adviser a trader gets statement and graphic of changes of account features like balance and equity. The data analysis - it is a separate task, that, unfortunately, cannot be described in this course. It should be noted that it is necessary to analyze attentively and estimate such important test results as correlation of profitable and unprofitable transactions (in accordance to the quantity and total volume of profit and losses), profit-factor, maximal drawdowndown in one transaction, maximal drawdowndown in continual series of unprofitable transactions, and also maximal profit in one transaction and maximal profit in continuous series of profitable transactions.
You should also pay attention to the even interchanging of unprofitable and profitable transactions. The results of analyses allow to make a conclusion about the most suitable strategy of money management for given trading strategy.Prev Next