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
1 registered members (AndrewAMD), 600 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, 11honza11, ccorrea, sakolin, rajesh7827
19046 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: 1,725
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,725
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: 1,725
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,725
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,978
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,978
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