Help needed in resolving EA backtesting challenge

 

Hi All,

I have built an EA and wish to test. But I am having problems backtesting with the strategy tester on MT4. Initially, I have done a test on the ST with same code, BTCUSD on 1H timeframe. It generated a result. I repeated with 4H, 30M, and 15M and the ST worked fine. However when I tried with 1D, it came up with the message, 'There were 1 passes done during optimization, 1 results have been discarded as insignificant'. 

I though it had to do with the timeframe. When I checked back with the previous timeframe that had given me result earlier, same message is returned. I hae checked all setting, parameters I could think of but no solution.

Anyone please cos I am stuck.

 
Jaydee0:

Hi All,

I have built an EA and wish to test. But I am having problems backtesting with the strategy tester on MT4. Initially, I have done a test on the ST with same code, BTCUSD on 1H timeframe. It generated a result. I repeated with 4H, 30M, and 15M and the ST worked fine. However when I tried with 1D, it came up with the message, 'There were 1 passes done during optimization, 1 results have been discarded as insignificant'. 

I though it had to do with the timeframe. When I checked back with the previous timeframe that had given me result earlier, same message is returned. I hae checked all setting, parameters I could think of but no solution.

Anyone please cos I am stuck.

Make sure you have enough bars in history. Restart and use Every tick model. 

 
Oleksandr Medviediev #:

Make sure you have enough bars in history. Restart and use Every tick model. 


Thanks for your feedback.

The tick model is actually active during the test. I assume there are sufficient bars in history. Amazingly, no trade record is shown during backtest.

 

See attached details from Jornal

The EA I develop is not executing trades on backtest.

The alarm I get on the journal is simply 'There were 1 passes done during optimization, 1 results have been discarded as insignificant' and 'Tester margin exchange rate can not be calculated'.

I am stuck and can not proceed further.


See the attached

Documentation on MQL5: Constants, Enumerations and Structures / Trade Constants / Order Properties
Documentation on MQL5: Constants, Enumerations and Structures / Trade Constants / Order Properties
  • www.mql5.com
Requests to execute trade operations are formalized as orders. Each order has a variety of properties for reading. Information on them can be...
Files:
20240421.log  23 kb
 
It happens on Daily charts. No signals - no trades.