Gamestudio Links
Zorro Links
Newest Posts
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Data from CSV not parsed correctly
by EternallyCurious. 04/20/24 21:39
M1 Oversampling
by 11honza11. 04/20/24 20:57
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
folder management functions
by VoroneTZ. 04/17/24 06:52
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 177 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, howardR, 11honza11, ccorrea, sakolin
19047 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Optimization parameters results #479088
02/14/20 22:24
02/14/20 22:24
Joined: Feb 2020
Posts: 1
R
Ricard Offline OP
Guest
Ricard  Offline OP
Guest
R

Joined: Feb 2020
Posts: 1
Hi!
Just started to use Zorro!
I am testing some dummy strategies and right now I am blocked trying to get the results of an optimization.
The code of the very simple strategy is this:

function run()
{
set(PARAMETERS|TESTNOW);
setf(TrainMode,BRUTE);
vars Prices = series(priceClose(0));
vars SMA100 = series(SMA(Prices,100));
vars SMA30 = series(SMA(Prices,30));
Stop = optimize(10, 5, 15, 1)*PIP;

if(crossOver(SMA30,SMA100))
enterLong();
if(crossUnder(SMA30,SMA100))
enterShort();
}

And the problem is that I do not know what flags I need to use to get the result of each of the 10 tests. The file .par just tell me what is the best....
Help please!!

Re: Optimization parameters results [Re: Ricard] #479091
02/15/20 13:22
02/15/20 13:22
Joined: Apr 2008
Posts: 585
Austria
Petra Offline
Support
Petra  Offline
Support

Joined: Apr 2008
Posts: 585
Austria
Its "Curves". Look in the manual under exported file formats.


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1