Gamestudio Links
Zorro Links
Newest Posts
What are you working on?
by Aku_Aku. 05/11/25 12:24
SGT_FW
by Aku_Aku. 05/11/25 12:08
Flash USDT: Instant Transfer Utility
by jhacko. 05/07/25 04:44
RithmicZorroPlugin v1.0.0.1 Released
by kzhao. 04/30/25 18:27
IG plugin initial release
by opm. 04/30/25 06:21
Initial RithmicZorroPlugin Release.
by AndrewAMD. 04/28/25 12:52
AUM Magazine
Latest Screens
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Zeal-X2
Who's Online Now
3 registered members (pyramide, Ayumi, AndrewAMD), 524 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
jhacko, EddieTest, Eirye, kalleutschie, MichaelO
19128 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: 592
Austria
Petra Offline
Support
Petra  Offline
Support

Joined: Apr 2008
Posts: 592
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