Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by EternallyCurious. 04/18/24 10:45
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
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (ozgur, EternallyCurious, howardR, 1 invisible), 623 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, 11honza11, ccorrea, sakolin, rajesh7827
19046 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
syntax error in Alice4a_1.c #481238
08/15/20 07:55
08/15/20 07:55
Joined: Aug 2020
Posts: 5
Bonn
D
DonSergio Offline OP
Newbie
DonSergio  Offline OP
Newbie
D

Joined: Aug 2020
Posts: 5
Bonn
hello,

i am new here and germay, my english is no so good, sorry.

ok, i have a syntax error in Alice4a-1.c from the Black Book 3. edition. this script is generated by zorro.

Code
Train EURUSD_L -Jan 2019- 31 patterns
Train EURUSD_S -Jan 2019- 34 patterns
Rules stored in Alice4a.c

Run Alice4a..
WFA Test: Alice4a EUR/USD 2010..2018
Read Alice4a_1.c.
Error in 'line 41: 
Syntax error: Wrong type ANDAND:DOUBLE:DOUBLE:LONG
  if(sig[1]<sig[4] && sig[4]<sig[2] && sig[2]<sig[5] && sig[5]<sig[3] && sig[3]<sig[0] && sig[10]<sig[11] && sig[11]<sig[7] && sig[7]<sig[8] && eq0(sig[8]-sig[9]) && sig[9]<sig[6])
Can't compile rules
Error 047: No bars to plot


have someone the same problem? a bug in zorro 2.25 ??

thanks for answers

Re: syntax error in Alice4a_1.c [Re: DonSergio] #481242
08/15/20 10:51
08/15/20 10:51
Joined: Apr 2008
Posts: 585
Austria
Petra Offline
Support
Petra  Offline
Support

Joined: Apr 2008
Posts: 585
Austria
Try Zorro 2.30 from the link on the download page. I believe some of the alice scripts were not compatible with 2.25, some issue with the "eq0" function.

Re: syntax error in Alice4a_1.c [Re: Petra] #481243
08/15/20 10:55
08/15/20 10:55
Joined: Aug 2020
Posts: 5
Bonn
D
DonSergio Offline OP
Newbie
DonSergio  Offline OP
Newbie
D

Joined: Aug 2020
Posts: 5
Bonn
thanks Petra for the fast answer. i try it

Re: syntax error in Alice4a_1.c [Re: DonSergio] #481244
08/15/20 10:58
08/15/20 10:58
Joined: Apr 2008
Posts: 585
Austria
Petra Offline
Support
Petra  Offline
Support

Joined: Apr 2008
Posts: 585
Austria
And include legacy.h, the alice scripts are very old.

Re: syntax error in Alice4a_1.c [Re: DonSergio] #481245
08/15/20 11:32
08/15/20 11:32
Joined: Aug 2020
Posts: 5
Bonn
D
DonSergio Offline OP
Newbie
DonSergio  Offline OP
Newbie
D

Joined: Aug 2020
Posts: 5
Bonn
zorro 230 not work for me.

my mt4 and zorro are in the same drive installed but not on C:\
i installed zorro 230 at the same way as 225 but not connected to the brige.

Login 0 MT4/5 (demo)..
!ZorroMT4.dll V4.25
!Access denied: C:\Users\....\AppData\Local\Temp\mt4sock13xxxxxxx.sys
!Check account type/number xxxxxxx
Can't connect!

TradeTest compiling...........
Login 0 MT4/5 (demo)..
!ZorroMT4.dll V4.25
!Access denied: C:\Users\....\AppData\Local\Temp\mt4sock03xxxxxxx.sys
!Check account type/number xxxxxxx
Can't connect!

i must install zorro as admin,
for this zorro looks at the temp-folder of admin.

a other problem is with zorro 225 i can only connect with my mt4 demo account when i use my login and use the real-account en zorro.
at zorro 230 not work demo or real

Last edited by DonSergio; 08/15/20 11:45.
Re: syntax error in Alice4a_1.c [Re: Petra] #481246
08/15/20 11:38
08/15/20 11:38
Joined: Aug 2020
Posts: 5
Bonn
D
DonSergio Offline OP
Newbie
DonSergio  Offline OP
Newbie
D

Joined: Aug 2020
Posts: 5
Bonn
thanks for the tip ;-) it works

but where can i change the temp-folder location or user ?

Re: syntax error in Alice4a_1.c [Re: DonSergio] #481247
08/15/20 11:41
08/15/20 11:41
Joined: Apr 2008
Posts: 585
Austria
Petra Offline
Support
Petra  Offline
Support

Joined: Apr 2008
Posts: 585
Austria
"Access denied" means that either that file is locked or your user has no permission to access it. You must solve that problem, or you cannot use any version of Zorro. If you installed Zorro as admin then you will probably also need admin rights to run it. Better not install it as admin.

AppData\Local\Temp is a common folder used by many programs and when you have no access rights, many programs will not work on your PC.

Re: syntax error in Alice4a_1.c [Re: DonSergio] #481248
08/15/20 12:06
08/15/20 12:06
Joined: Aug 2020
Posts: 5
Bonn
D
DonSergio Offline OP
Newbie
DonSergio  Offline OP
Newbie
D

Joined: Aug 2020
Posts: 5
Bonn
i now, but i can't install zorro without admin.

zorro 225 i installed also with admin and works fine

i have tryed with admin, but the same problem.

Edit: now it works, i forget enable DLL frown

but connect only my mt4 demo-account when i use real-account in zorro with account-number & pass

thanks for the fast help

have a nice WE


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