Gamestudio Links
Zorro Links
Newest Posts
Login info through strategy script?
by AndrewAMD. 06/01/20 13:29
MT4/5 - wrong M1 time
by jcl. 06/01/20 12:34
Windows 10 file_write error
by Spirit. 06/01/20 11:04
Out of Sample
by AndrewAMD. 06/01/20 01:30
CCT PhysX 2.0
by 3run. 05/31/20 23:26
Question about Pattern - Workshop7
by danatrader. 05/31/20 11:41
Test - watch noncomplete data
by Petra. 05/31/20 09:46
AUM Magazine
Latest Screens
The Space Between
Pogostuck: Rage With Your Friends
Worst Case Z
AckCon'18 - Lotter vs the World 2 - Preview Release
Who's Online Now
8 registered members (3run, Dooley, AndrewAMD, ESR, tomaslolo, FLD, mayark, 1 invisible), 525 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Frank_Shieh, PBSeven, Hardi01, Giuseppe, AdamWu
18461 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
error 55 when trying to run included Filter.c script #476185
02/03/19 13:09
02/03/19 13:09
Joined: Feb 2019
Posts: 3
J
jagodziad Offline OP
Guest
jagodziad  Offline OP
Guest
J

Joined: Feb 2019
Posts: 3
Hi,

Filter compiling...........
Error 055: No bars generated
Chart...
Error 047: No bars to plot!

I dont know why it happens, the script is unmodified version included with new installation of zorro.
Any ideas?

Re: error 55 when trying to run included Filter.c script [Re: jagodziad] #476186
02/03/19 13:45
02/03/19 13:45
Joined: Feb 2017
Posts: 981
Chicago
AndrewAMD Online
User
AndrewAMD  Online
User

Joined: Feb 2017
Posts: 981
Chicago
The errors are explained in the manual.

Re: error 55 when trying to run included Filter.c script [Re: AndrewAMD] #476187
02/03/19 14:00
02/03/19 14:00
Joined: Nov 2016
Posts: 69
USA
J
jrath Offline
Junior Member
jrath  Offline
Junior Member
J

Joined: Nov 2016
Posts: 69
USA
If you fill in an asset in the script.

Like :

asset("USD/CAD"); // dummy asset

Then works.

Re: error 55 when trying to run included Filter.c script [Re: jrath] #476189
02/03/19 17:03
02/03/19 17:03
Joined: Feb 2019
Posts: 3
J
jagodziad Offline OP
Guest
jagodziad  Offline OP
Guest
J

Joined: Feb 2019
Posts: 3
I know, but why it doesnt work with the dummy asset?
You create artificial time series in the script, you dont use any real asset.

Re: error 55 when trying to run included Filter.c script [Re: AndrewAMD] #476190
02/03/19 17:09
02/03/19 17:09
Joined: Feb 2019
Posts: 3
J
jagodziad Offline OP
Guest
jagodziad  Offline OP
Guest
J

Joined: Feb 2019
Posts: 3
I know what the error means, I checked the manual.
I also checked the script and still dont understand why this particular error occurs.

Re: error 55 when trying to run included Filter.c script [Re: jagodziad] #476192
02/03/19 20:05
02/03/19 20:05
Joined: Feb 2017
Posts: 981
Chicago
AndrewAMD Online
User
AndrewAMD  Online
User

Joined: Feb 2017
Posts: 981
Chicago
Look at error 055 in the manual again. It says your price history is missing.

You need historical data for that respective asset. Some of it is available in the download section. You can otherwise download the data directly from your broker using the Download.c script.

Do also make sure your asset list is correctly configured to your broker. This is also explained in the manual.

Re: error 55 when trying to run included Filter.c script [Re: AndrewAMD] #476198
02/04/19 08:27
02/04/19 08:27
Joined: Jul 2000
Posts: 27,215
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,215
Frankfurt
Although the filter script uses an artificial price curve, it's otherwise just a normal script and will throw the usual error when you selected an asset with missing history - just as any other script.


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1