Backtesting Equity Chart does not correspond to history

Created at 12 Jan 2017, 01:42
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
AN

andi21

Joined 14.12.2016

Backtesting Equity Chart does not correspond to history
12 Jan 2017, 01:42


Dear Spotware Team,

i have found following problem. Please have a look:

In the equity chart there are actually 8 Trades, but in the history there are only 6 trades.

Trade 7 should come to an end / be closed during backtesting (i know that). But it is not.

I don't know where Trade 8 comes from - that should not be. Also i am printing out something when a trade is opened and there is a log entry for entering Trade 7, but not closing it. But there is not even a log entry for entering trade 8.

What is the problem here?

Please have a look (and also see the other bugs i posted).

Regards,

Andi21


@andi21
Replies

ColossusFX
12 Jan 2017, 16:49

Check the events tab, this is normally because a trade is still open


@ColossusFX

andi21
12 Jan 2017, 18:17

RE:

ColossusFX said:

Check the events tab, this is normally because a trade is still open

Thanks for your answer ColossusFx.

That is correct - Trade 7 is still open, but there is always one more Trade which is in this example the 8th one.

So for 7th Trade that is clear now, but why is always one more "ghost"-Trade visible in equity chart? Perhaps that only occurs if there is at least one trade still opened left.

That is not an important problem, but it is just curious.

Nevertheless thanks for your answer.


@andi21

ColossusFX
12 Jan 2017, 18:43

Try 1m data, as that is up to date

Check the events tab too, you can see what position/s are open still and the P/L


@ColossusFX