I think test on demo account is ok.
Somethimes I am using the Tracert.mqh file. Copy this file to experts\include\.
In the beginning of the EA's code insert:
#include
For example:
#property copyright ".........."
#property link "http://.............
#include
#include
extern double TakeProfit = 200;
extern double Lots = 0.1;
extern double TrailingStop = 0;
extern double StopLoss = 65;
In the beginning of the start() block of the code insert:
SetTrace();
For example:
int start()
{
int ticket, total,totalExpert;
SetTrace();
Then save the EA using MetaEditor (for example e.2.11.test).
Test it using everytick model (do not forget to choose "recalculate").
Click on Open chart button:
red small dots are sell orders, blue - buy; big dots are exit (green - in profit; crimson - loss).
But I think testing on demo is much better.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
I am looking for the tester to test MT4 EAs.
Do we have alternative of MT4 backtester?
Yes I know that good alternative is live (demo) testing.
Do we really need to test everything during the very long time?
Anyway I is testing on the historical data. It is not future. :confused:
May be there is some good backtester?