Gamestudio Links
Zorro Links
Newest Posts
Trading Journey
by M_D. 04/26/24 20:22
Help with plotting multiple ZigZag
by M_D. 04/26/24 20:03
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
M1 Oversampling
by jcl. 04/26/24 11:12
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
MT5 bridge not working on MT5 v. 5 build 4160
by EternallyCurious. 04/25/24 20:49
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 816 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Using Chart Viewer with Old Backtests? #484328
10/09/21 18:22
10/09/21 18:22
Joined: Oct 2014
Posts: 42
DEVON
S
scotpip Offline OP
Newbie
scotpip  Offline OP
Newbie
S

Joined: Oct 2014
Posts: 42
DEVON
Hi

Is there any way use the Chart Viewer to view the logged results of an old backtest without having to re-run the whole test and click the [Result] button?

If not, is there some way I could code this up?

Apologies if I'm missing anything obvious....

Re: Using Chart Viewer with Old Backtests? [Re: scotpip] #484333
10/10/21 09:41
10/10/21 09:41
Joined: Sep 2003
Posts: 929
Spirit Offline

Moderator
Spirit  Offline

Moderator

Joined: Sep 2003
Posts: 929
The equity curve of the old backtest is stored in a csv file, I think with a small script that loads the equity at any bar you can plot that curve again.

Re: Using Chart Viewer with Old Backtests? [Re: scotpip] #484336
10/10/21 12:44
10/10/21 12:44
Joined: Oct 2014
Posts: 42
DEVON
S
scotpip Offline OP
Newbie
scotpip  Offline OP
Newbie
S

Joined: Oct 2014
Posts: 42
DEVON
Thanks - but what I'm really looking for is the ability to debug the trades on the chart.

I find that a very helpful exercise when trying to develop filters.

Re: Using Chart Viewer with Old Backtests? [Re: scotpip] #484342
10/11/21 09:48
10/11/21 09:48
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
The trades are saved to testrades.csv. You can load it in a dataset, then fill a TRADE struct with any record and enter it with the enterTrade() function. That should work, but that script would be a bit bigger, and AFAIK no one has written such a script yet.

Re: Using Chart Viewer with Old Backtests? [Re: jcl] #484346
10/11/21 14:49
10/11/21 14:49
Joined: Oct 2014
Posts: 42
DEVON
S
scotpip Offline OP
Newbie
scotpip  Offline OP
Newbie
S

Joined: Oct 2014
Posts: 42
DEVON
Thanks - I'll give it a go.

Perhaps you could consider the ability to save and replay results as a feature?

For slower tests, this would be useful, I think.


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1