Help with Backtesting - page 2

 
Bartlomiej Gorski:

Hi Fred,

In order to check what is going on you should do some basic tests to discover where is the issue:

1) try to run ANY other ea on the same dates

I ran the only 2 available EAs the MACD and the MA Crossover

if it works - then you have an answer that the issue is strictly related with ea you are testing (probably infinite loop as iRick said)

2) next - check ea - check it in visual mode, there might be a point where something unexpected happens with data (eg. back tick/gap etc) that prevents ea to go futher

(generates error, infinite loop or other)

I tried it with Visual Mode Unticked and it does now give me a Report ! however which is showing all zeros

3) Check the EA with other broker or using other data feed

Yes this is a good Idea I will check this also - have FXCM Broker I can use 

4) Do some basic tests like "if you have enough space on hard drive" to run test - sometimes ea generates very large log file (especialy when error happens) which put a lot of information in journal - that gets overloaded too.

In that moment log file is still generated in txt file but you dont see anything in journal /experts tab.

For Hard Drive have the following :



So in this way more or less you will know if the issue is related with ea, mt4 platform or data.


Then you can check the ea what part of code is generating problems.


Ok so I tried to download MT4 onto a second computer (an older computer) and the same thing is happening.

I will try the Print Function iRick was talking about tommorow.

And maybe try a different broker / platform

And answers to Bartlomiej in red above 

 

Ok Eureka ! I have something playing with the settings. Visual Mode is OFF

Lets see what else I can get to work - Thanks guys its a start....


 

:) if you see the report then it means that finally you completed test.

Data quality is poor - I suggest you to download better quality of M1 data and use period converted to prepare other timeframes, then you will avoid data problems.

 
Ok will do - just happy Ive got something to work !
 

Ive gone on to testing the next indicator the PSAR but started a new thread :

https://www.mql5.com/en/forum/227862

Just need to know how to get the PSAR to work in the same way

Help getting first Expert Advisor working for backtesting
Help getting first Expert Advisor working for backtesting
  • 2018.02.18
  • www.mql5.com
Hi Guys, Continuing on from my last post : https://www.mql5...
 
Bartlomiej Gorski:

:) if you see the report then it means that finally you completed test.

Data quality is poor - I suggest you to download better quality of M1 data and use period converted to prepare other timeframes, then you will avoid data problems.

Hi Bartlomeij

Are you able to help out on this thread ?

I can run several EAs but trying to get the SAR to work in backtesting.

Or if anyone else can help out ?

Thanks 

Trying to get Simple SAR EA Backtesting to work
Trying to get Simple SAR EA Backtesting to work
  • 2018.03.04
  • www.mql5.com
Following on from my previous posts I am trying to get the first SAR EA I have written to show results...
Reason: