Gamestudio Links
Zorro Links
Newest Posts
long time to load data
by qin. 12/29/25 14:06
The new evaluation shell
by jcl. 12/29/25 09:56
about Zorro S (monthly)
by AndrewAMD. 12/29/25 03:24
Xor Memory Problem.
by TipmyPip. 12/26/25 19:14
ZorroFix. ini /data and /log path
by Martin_HH. 12/19/25 21:02
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (vicknick), 81,396 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Syndrela, HDRSEO, AOUNZA, digitalboy381, agasior
19190 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Train and Test buttons seems to do the same thing #488697
04/14/25 00:50
04/14/25 00:50
Joined: Apr 2025
Posts: 2
C
chitown2016 Offline OP
Guest
chitown2016  Offline OP
Guest
C

Joined: Apr 2025
Posts: 2
I have a simple code:

function run()
{
set(LOGFILE);
set(PARAMETERS);
BarPeriod = 60;
LookBack = 200;
asset("EUR/USD");
vars Prices = series(price());

var ShortPeriod = optimize(25,20,35,5);
var LongPeriod = optimize(100,90,110,5);

vars SMAShort = series(SMA(Prices,ShortPeriod));
vars SMALong = series(SMA(Prices,LongPeriod));

if (crossOver(SMAShort,SMALong)) enterLong();
if (crossUnder(SMAShort,SMALong)) enterShort();

}

When I click on Train button, it optimizes and saves parameters. However when I click on the Test button it does the same exact thing. And afterwards when I click on the Result I don't get any price chart with trades. Perhaps I am missing something with the new version? I have zorro 2.64.

Re: Train and Test buttons seems to do the same thing [Re: chitown2016] #488700
04/18/25 16:15
04/18/25 16:15
Joined: Apr 2008
Posts: 598
Austria
Petra Offline
Support
Petra  Offline
Support

Joined: Apr 2008
Posts: 598
Austria

Re: Train and Test buttons seems to do the same thing [Re: Petra] #488703
04/20/25 19:25
04/20/25 19:25
Joined: Apr 2025
Posts: 2
C
chitown2016 Offline OP
Guest
chitown2016  Offline OP
Guest
C

Joined: Apr 2025
Posts: 2
Thank you, the new version works fine!


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1