Gamestudio Links
Zorro Links
Newest Posts
Few update suggestions
by 3run. 07/23/21 08:47
FXCM Login Error
by jcl. 07/22/21 08:25
New Zorro version 2.40.1
by dpn. 07/21/21 19:39
MT5 bridge plugin
by jcl. 07/21/21 15:52
FXCM - CFD Price can not be loaded
by jcl. 07/21/21 08:40
AUM Magazine
Latest Screens
Hecknex World
Scheherazade's Journey
Paradox Vector
The Space Between
Who's Online Now
1 registered members (NobbyG), 382 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
ace_trader, chrissierra, fredperim, degenerate_762, TalonTrades
18664 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: 564
Z
Zheka Offline OP
User
Zheka  Offline OP
User
Z

Joined: Jul 2017
Posts: 564
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,565
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,565
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: 564
Z
Zheka Offline OP
User
Zheka  Offline OP
User
Z

Joined: Jul 2017
Posts: 564
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,565
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,565
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: 564
Z
Zheka Offline OP
User
Zheka  Offline OP
User
Z

Joined: Jul 2017
Posts: 564
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,565
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,565
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: 564
Z
Zheka Offline OP
User
Zheka  Offline OP
User
Z

Joined: Jul 2017
Posts: 564
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