Gamestudio Links
Zorro Links
Newest Posts
StartWeek not working as it should
by Zheka. 04/18/24 10:11
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
LPDIRECT3DCUBETEXTUR
E9

by Ayumi. 04/12/24 11:00
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
6 registered members (AndrewAMD, ricky_k, EternallyCurious, 7th_zorro, 2 invisible), 477 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, 11honza11, ccorrea, sakolin, rajesh7827
19046 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