Gamestudio Links
Zorro Links
Newest Posts
Accessing All Historical Price Data
by JohnJits. 10/22/19 22:37
file_write var array ?
by laz. 10/22/19 16:00
SAV_STATS
by MatPed. 10/22/19 13:57
Instrument Price Zorro Chart
by jcl. 10/22/19 10:39
Calculating with price series
by AndrewAMD. 10/21/19 14:31
Error E355: Startup failure
by Dooley. 10/21/19 06:47
Today real live account blown - my experience
by Clifford_B. 10/19/19 17:09
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
4 registered members (JohnJits, AndrewAMD, Clifford_B, 1 invisible), 627 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
VillageTalkies, line7, Shutch, Clifford_B, Paulius
18310 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: 774
Chicago
AndrewAMD Online
User
AndrewAMD  Online
User

Joined: Feb 2017
Posts: 774
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: 774
Chicago
AndrewAMD Online
User
AndrewAMD  Online
User

Joined: Feb 2017
Posts: 774
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,033
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

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


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