Metatrader Tester and Visual diferent result

Avatar
  • updated
  • Fixed

This is the first time I see it, that the result using Metatrader 5 build 4275, in "visual" mode gives me different tests if it is not visual.

I don't know where the problem could be, CP or Metatrader

Metatrader_5_build_4275.ini

Image 5883

Image 5884

CP v2.58

Image 5885

Avatar
1
Andrey Khatimlianskyi
  • Under review

Thanks, I'll check.

Avatar
2
Sai Pratap

Hi Ulises,

I have also faced such issue earlier. That was due to a bug in TDI indicator, giving one signal(sell) when using Visual tester but other signal(neutral) when using tester. .

Let me see ur case.

Avatar
0
Andrey Khatimlianskyi

Ulises, I have only 2 buy trades with this ini. And they are the same in visual/non-visual mode:

Image 5904


MT5 is also 4275

Avatar
0
Andrey Khatimlianskyi

Visual:

Image 5905

Avatar
0
Chris

I think the error is caused by MetaTrader. For example, when I tested the last month, there was a profit of 450 dollars, and when I tested the last year, there was a profit of 450 dollars. I think the backtest results of the meta should not be trusted too much.

Avatar
0
Ulises Cune

Hi Andrey, I'm back with this error again after a long time and the release of MT5. The same thing is happening to me. It works fine with Visual Tester, but not without it. I'll give you details.

I have tested it with these 2 versions of MT5

Image 6014

Image 6016

No visual Mode: (Bug/Problem/Incorrect)

Image 6015

Image 6017

Here is the mistake, you should not open 2 trades at the same time. Here you open a buy and a sell at the same time. (17:00)

I have it set up as follows

Traders open on every new candle

Image 6023

Hedge is disabled (A buy and a sell should not be opened at the same time.)

Image 6020

Adx opens martingale if Drawdown is >=20%

Image 6022

Image 6021


Inifile:

XAUUSD_ADX_NEWS.ini

Logs:

20240807_NoVisual.zip

20240807-Visual.zip

CustomIndy:

Moving Average Crossover.ex5

With Visual Tester: (Correct)

Image 6018

Image 6019

Open a single buy trade, is correct.

Whatever you need, let me know.

Avatar
0
Ulises Cune

Ahh, I think I know why CP worked like this. The News gives 2 signals at the same time, buy and sell, you have to complement it with another signal so that it opens in the right direction. I think that's how CP worked, I think I read it somewhere.

Add "BigCandle" to give direction (buy/sell) to the trade.

No Visual Mode:

Image 6028


To give direction to the trade.

Image 6029


Sorry Andrey for the report bug.

Avatar
0
Andrey Khatimlianskyi
  • Started
Quote from Ulises Cune

Hi Andrey, I'm back with this error again after a long time and the release of MT5. The same thing is happening to me. It works fine with Visual Tester, but not without it. I'll give you details.

I have tested it with these 2 versions of MT5

Image 6014

Image 6016

No visual Mode: (Bug/Problem/Incorrect)

Image 6015

Image 6017

Here is the mistake, you should not open 2 trades at the same time. Here you open a buy and a sell at the same time. (17:00)

I have it set up as follows

Traders open on every new candle

Image 6023

Hedge is disabled (A buy and a sell should not be opened at the same time.)

Image 6020

Adx opens martingale if Drawdown is >=20%

Image 6022

Image 6021


Inifile:

XAUUSD_ADX_NEWS.ini

Logs:

20240807_NoVisual.zip

20240807-Visual.zip

CustomIndy:

Moving Average Crossover.ex5

With Visual Tester: (Correct)

Image 6018

Image 6019

Open a single buy trade, is correct.

Whatever you need, let me know.

Thanks for the detailed report!

The bug is -- it updates the list of opened trades if Allow hedge is true or GUI is enabled. That's why it works fine in visual mode.

I'll fix this now.