Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AndrewAMD, Nymphodora, Quad), 923 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 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,977
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,977
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