Gamestudio Links
Zorro Links
Newest Posts
IBKR datasave problem
by NewbieZorro. 06/11/25 15:11
Marking Exit trades
by jcl. 06/11/25 14:02
SGT_FW
by Aku_Aku. 06/02/25 17:54
The Perfect Adventure Game
by tian. 05/27/25 04:32
ADX values
by Yogpot. 05/25/25 15:11
Transfer of Lots between Algos?
by Jack_Zodiac. 05/25/25 09:30
AUM Magazine
Latest Screens
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Zeal-X2
Who's Online Now
1 registered members (Ayumi), 457 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
WardyJoubertIII, NewbieZorro, Squarei, tian, Yogpot
19139 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Workshop5 only trains it seems #488625
03/03/25 11:50
03/03/25 11:50
Joined: Mar 2025
Posts: 10
J
johnnywalk Offline OP
Newbie
johnnywalk  Offline OP
Newbie
J

Joined: Mar 2025
Posts: 10
Edit: Ok, typical , after posting this, then suddenly it does work with "Test". Is gives an output. I'd appreciate any help though as of why it suddenly works?


So I've gotten to workshop5. First of all, the scripts on the website here is slightly different from "workshop 5" script provided with Zorro 2.64.

When using the script Workshop5 embedded in Zorro 2.64 I first click Train.
After some time, the output is "Parameters stored in Workshop5_EURUSD.par" and it opens the browser with the graphs.
As expected.

But when I then click Test, it does the same again as with training. The end result is the same again, with the browser opening.

Isn't it supposed to Test the script against historical data?

Attached Files Screenshot 2025-03-03 at 12.49.53.png
Last edited by johnnywalk; 03/03/25 11:54.
Re: Workshop5 only trains it seems [Re: johnnywalk] #488632
03/05/25 14:43
03/05/25 14:43
Joined: Jul 2000
Posts: 28,020
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,020
Frankfurt
It could be a bug. We will look into that. Until then, if it ever happens again, just close Zorro and open it again. The all schould work.

Re: Workshop5 only trains it seems [Re: jcl] #488675
03/25/25 13:35
03/25/25 13:35
Joined: Sep 2024
Posts: 11
robbinsville, nj USA
W
walt_Schwarz Offline
Newbie
walt_Schwarz  Offline
Newbie
W

Joined: Sep 2024
Posts: 11
robbinsville, nj USA
I'm finding the same issue with any script.
The first time the "Test" button causes testing and after the "train" button is used, the "test" button does not change the mode...
>> Restarting Zoro resets something and it will "test" until the "train" button is used...


Code:

if(is(TRAINMODE)) set(PARAMETERS);
if(is(TESTMODE)) set(PLOTNOW,LOGFILE);

Re: Workshop5 only trains it seems [Re: johnnywalk] #488677
03/25/25 14:47
03/25/25 14:47
Joined: Sep 2024
Posts: 11
robbinsville, nj USA
W
walt_Schwarz Offline
Newbie
walt_Schwarz  Offline
Newbie
W

Joined: Sep 2024
Posts: 11
robbinsville, nj USA
solution:

put the following line in "Run":

set(PARAMETERS,TESTNOW,PLOTNOW);

>> does not make sense to me but it works...

Re: Workshop5 only trains it seems [Re: johnnywalk] #488678
03/26/25 13:56
03/26/25 13:56
Joined: Sep 2024
Posts: 11
robbinsville, nj USA
W
walt_Schwarz Offline
Newbie
walt_Schwarz  Offline
Newbie
W

Joined: Sep 2024
Posts: 11
robbinsville, nj USA
this is definitely a constant BUG as the following script shows:

function main()
{

if(is(TRAINMODE))
watch("TRAIN MODE in MAIN\n");
if(is(TESTMODE))
watch("TEST MODE in MAIN\n");

}

1. run the script
2. hit "test" button (any number of times) and "TEST MODE in MAIN" shows for each time...
3. hit " Train" button and both "TEST MODE in MAIN" and "TRAIN MODE in MAIN" show...
4. hit "test" button and now both "TEST MODE in MAIN" and "TRAIN MODE in MAIN" show...

The only way to fix is to restart ZORRO


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1