Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (Quad, aliswee), 835 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 7 of 10 1 2 5 6 7 8 9 10
Re: New Zorro version 1.66 [Re: jcl] #468979
10/31/17 18:38
10/31/17 18:38
Joined: Dec 2013
Posts: 568
Fuerth, DE
Sphin Offline
User
Sphin  Offline
User

Joined: Dec 2013
Posts: 568
Fuerth, DE
Code:
'setf' undeclared identifier
< 	setf(PlotMode,PL_ALL+PL_FINE); >.


Shouldn't this work since 1.58? Get this error in both, 1.58 and 1.66.

Re: New Zorro version 1.66 [Re: Sphin] #468988
11/01/17 09:47
11/01/17 09:47
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
No, but you can easily add it for 1.66 in variables.h:

#define setf(mode,flag) mode |= (flag)


Re: New Zorro version 1.66 [Re: jcl] #468994
11/01/17 16:55
11/01/17 16:55
Joined: Dec 2013
Posts: 568
Fuerth, DE
Sphin Offline
User
Sphin  Offline
User

Joined: Dec 2013
Posts: 568
Fuerth, DE
Thanks! I'm a bit confused, which version supports it officially? In What's New @1.58: "Various plot flags can be set with the PlotMode variable" with a link to the PlotMode-Page where I found the code that produced the error. At later versions I couldn't find a hint but maybe I missed it.

Re: New Zorro version 1.66 [Re: Sphin] #468997
11/01/17 17:28
11/01/17 17:28
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
Generally, the manual that you get by clicking the Help button is for your version, while the online manual here in the forum is for the newest beta version. PlotMode is old, setf() is new.

Re: New Zorro version 1.66 [Re: jcl] #469025
11/02/17 19:50
11/02/17 19:50
Joined: Dec 2002
Posts: 1,999
Switzerland Zürich
JeyKey II Offline
Serious User
JeyKey II  Offline
Serious User

Joined: Dec 2002
Posts: 1,999
Switzerland Zürich
STEPWISE doesent work any more. No move, No chart updating.
HELP text:(A click on [Step] moves one bar forward. [Skip] moves to the next opening or closing a position. The current chart and trade status will be displayed on every step in a browser window.)


[Jeder ist sich selbst am Nächsten]
Re: New Zorro version 1.66 [Re: JeyKey II] #469028
11/02/17 23:41
11/02/17 23:41
Joined: Sep 2017
Posts: 235
H
Hredot Offline
Member
Hredot  Offline
Member
H

Joined: Sep 2017
Posts: 235
I wonder what the criteria are that are used to select Z9 assets?
There are about 25*85 = 2125 different etfs listed on etfdb.com
Do you take a 2125x2125 correlation matrix and determine the set of 9 least correlated ones?
Or do you apply some other criteria?

Re: New Zorro version 1.66 [Re: Hredot] #469030
11/03/17 09:51
11/03/17 09:51
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
STEPWISE does not work anymore: Please contact Support and send them that script. They'll help.

Z9 Assets: They were selected by the suggestions in Antonacci's book and by their fees. Some bonds, some sectors, some non-USA indexes, and normally the cheapest when different ETFs were available. For some reason, many Z9 users so far did not like our selection and replaced it with their own.

Re: New Zorro version 1.66 [Re: jcl] #469034
11/03/17 14:33
11/03/17 14:33
Joined: Dec 2002
Posts: 1,999
Switzerland Zürich
JeyKey II Offline
Serious User
JeyKey II  Offline
Serious User

Joined: Dec 2002
Posts: 1,999
Switzerland Zürich
Originally Posted By: jcl
STEPWISE does not work anymore: Please contact Support and send them that script. They'll help.

The same Script works in all Version before.Why need Support my Script??


[Jeder ist sich selbst am Nächsten]
Re: New Zorro version 1.66 [Re: JeyKey II] #469035
11/03/17 14:38
11/03/17 14:38
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
They do not need it. They get paid anyway, with or without looking into that problem.

If your trade system is a big secret, you can request an NDA before sending it. Or you can remove the secret trading algo, but leave enough in your script so that the problem is still reproducible.

Re: New Zorro version 1.66 [Re: jcl] #469038
11/03/17 18:37
11/03/17 18:37
Joined: Dec 2002
Posts: 1,999
Switzerland Zürich
JeyKey II Offline
Serious User
JeyKey II  Offline
Serious User

Joined: Dec 2002
Posts: 1,999
Switzerland Zürich
OK, My big secret trade system. grin funny, funny, funny
Sample Code Martingale.c from Strategy Folder with STEPWISE
Code:
// Perfect martingale system ///////////////////

function run()
{
	set(STEPWISE);				// Singlestepmode
	PlotBars = -300; 			

	BarPeriod = 1440;
	Stop = TakeProfit = ATR(100);
	Lots = pow(2,LossStreakTotal); 
	
// wait until last stop/profit target was hit
	if(NumOpenTotal == 0) {
		if(random() < 0)
			enterShort();
		else 
			enterLong();
	}
	
	set(PLOTNOW);
	PlotWidth = 800;
	PlotHeight1 = 320;
}



[Jeder ist sich selbst am Nächsten]
Page 7 of 10 1 2 5 6 7 8 9 10

Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1