Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/20/24 20:05
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (Grant, dr_panther, AndrewAMD), 1,379 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 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: 586
Austria
Petra Offline
Support
Petra  Offline
Support

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


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1