Gamestudio Links
Zorro Links
Newest Posts
MT5 bridge not working on MT5 v. 5 build 4160
by EternallyCurious. 04/25/24 20:49
Data from CSV not parsed correctly
by EternallyCurious. 04/25/24 10:20
Trading Journey
by howardR. 04/24/24 20:04
M1 Oversampling
by Petra. 04/24/24 10:34
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
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
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (EternallyCurious, AndrewAMD, TipmyPip, Quad), 902 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Mega_Rod, EternallyCurious, howardR, 11honza11, ccorrea
19048 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Limit of optimze is 255 steps #444019
07/29/14 03:29
07/29/14 03:29
Joined: Sep 2013
Posts: 504
California
G
GPEngine Offline OP
User
GPEngine  Offline OP
User
G

Joined: Sep 2013
Posts: 504
California
IMO you should mention this on http://zorro-trader.com/manual/en/optimize.htm

Also, why does the script stop when it hits this limit? Can't it just move on using the first 256 steps and just log a warning instead of an error?

Also also
I find myself pulling out a calculator to figure out how many steps there will be, especially when using the fractional increment feature.
What about yet another signature for optimize. When the fourth argument is zero, it automatically figures out the the right ratio to make 20 steps since 20 is a nice number.
optimize(1, 1, 10, 0) --> [1, 1.122, 1.259, 1.412, 1.585, 1.778, 1.995,2.238, 2.512, 2.818, 3.162, 3.547, 3.980, 4.466, 5.011, 5.622, 6.308, 7.077, 7.941, 8.910, 9.997]
(corresponding to a fourth term of 1.122)

Re: Limit of optimze is 255 steps [Re: GPEngine] #444027
07/29/14 07:57
07/29/14 07:57
Joined: Jul 2000
Posts: 27,982
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,982
Frankfurt
It will be mentioned. Step size 0 already means a 10% increase per step, so the number of steps would require an additional parameter.


Moderated by  Petra 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1