Gamestudio Links
Zorro Links
Newest Posts
ZorroGPT
by TipmyPip. 01/31/26 10:01
Lapsa's very own thread
by Lapsa. 01/30/26 19:44
Zorro version 3.0 prerelease!
by TipmyPip. 01/30/26 13:36
Historical Data with the 64bit FXCM Plugin
by Martin_HH. 01/28/26 18:45
SGT_FW
by Aku_Aku. 01/27/26 15:10
Buy A8 Pro Version
by Ezzett. 01/26/26 14:22
C++ direct start requires Zorro S
by jcl. 01/23/26 14:29
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
2 registered members (TipmyPip, clonman), 10,446 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Sfrdragon, mayarik, Castromangos, Quantum, stephensdeborah
19195 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Objective functions, different results then test_log file #483364
05/25/21 02:47
05/25/21 02:47
Joined: Mar 2021
Posts: 42
Casablanca, Morocco
anissyo Offline OP
Newbie
anissyo  Offline OP
Newbie

Joined: Mar 2021
Posts: 42
Casablanca, Morocco

Code

var objective()
{

print(TO_LOG," NumWinTotal+NumLossTotal : ");
print(TO_LOG,sftoa (NumWinTotal+NumLossTotal, 6));

	return NumWinTotal+NumLossTotal;
}





i get two different values beetween the lines i get in zorro when optimizing and in the text_log, the values in the test log are correct it's the exact number of trades but when trainning i get different result on the window of zorro where the objective resuts are showing

thank's in advance

Re: Objective functions, different results then test_log file [Re: anissyo] #483365
05/25/21 03:57
05/25/21 03:57
Joined: Mar 2021
Posts: 42
Casablanca, Morocco
anissyo Offline OP
Newbie
anissyo  Offline OP
Newbie

Joined: Mar 2021
Posts: 42
Casablanca, Morocco
FINALLY !! i get it : "In [Train] mode, trades always open 1 lot, phantom trades are converted to normal trades, and MaxLong/MaxShort have no effect."

i found this on the manuel, i think it's better for me to keep it this way, it's very clever to ignore MaxLong/MaxShort, it's a robust way of doing trainning.

i was having different result be cause multiple trades are oppened in training but not when i click test

Last edited by anissyo; 05/25/21 03:57.

Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1