Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, 1 invisible), 583 guests, and 3 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
SaveMode=SV_STATS? #483554
06/14/21 12:14
06/14/21 12:14
Joined: Jul 2017
Posts: 784
Z
Zheka Offline OP
User
Zheka  Offline OP
User
Z

Joined: Jul 2017
Posts: 784
I just found out that SaveMode=SV_STATS does not work, but setf(SaveMode,SV_STATS) does.

This is when using saveStatus(), to roll over stats from Test to Live ( I did not test Live-to-Live).

If this is a permanent change, then this has to be reflected in the manual.

Last edited by Zheka; 06/14/21 12:31.
Re: SaveMode=SV_STATS? [Re: Zheka] #483556
06/15/21 07:13
06/15/21 07:13
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
SaveMode=SV_STATS is not the same as setf(SaveMode,SV_STATS).

Re: SaveMode=SV_STATS? [Re: Zheka] #483560
06/15/21 08:41
06/15/21 08:41
Joined: Jul 2017
Posts: 784
Z
Zheka Offline OP
User
Zheka  Offline OP
User
Z

Joined: Jul 2017
Posts: 784
I understand that SaveMode=SV_STATS limits what's saved to ONLY Stats, while setf(SV_STATS) ADDs Stats to flags set by default.

But Stats saving is not performed in the former case.

If my understanding is not correct, then what does SaveMode=SV_STATS do (and where in the manual can I read about this nuance?)

Re: SaveMode=SV_STATS? [Re: Zheka] #483577
06/16/21 17:54
06/16/21 17:54
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
Probably nothing until you call saveStatus/loadStatus. I think the automatic saving and loading is for resuming open trades, so you either need sv_trades also, or must load it by script.

Re: SaveMode=SV_STATS? [Re: Zheka] #483578
06/16/21 21:25
06/16/21 21:25
Joined: Jul 2017
Posts: 784
Z
Zheka Offline OP
User
Zheka  Offline OP
User
Z

Joined: Jul 2017
Posts: 784
With saveStatus(0) in the EXITRUN, SaveStatus=SV_TRADES+SV_STATS does not work either.

But setf(SV_STATS) does.

Re: SaveMode=SV_STATS? [Re: Zheka] #483580
06/17/21 07:06
06/17/21 07:06
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
Is it the global or the algo specific stats that you are missing? If algo stats, then try sv_algovars next.

Re: SaveMode=SV_STATS? [Re: Zheka] #483592
06/17/21 22:54
06/17/21 22:54
Joined: Jul 2017
Posts: 784
Z
Zheka Offline OP
User
Zheka  Offline OP
User
Z

Joined: Jul 2017
Posts: 784
Algo-specific stats are the problem.

SaveStatus = SV_TRADES+SV_ALGOVARS+SV_STATS does not work either without loadStatus(0), but does work with loadStatus.


Without SV_ALGOVARS, it does not work even with loadStatus().


Moderated by  Petra 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1