Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
0 registered members (), 1,119 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
crash in script&&error inconsistent series calls #442102
06/11/14 11:24
06/11/14 11:24
Joined: May 2014
Posts: 7
J
James_Bolton Offline OP
Newbie
James_Bolton  Offline OP
Newbie
J

Joined: May 2014
Posts: 7
Hello, everyone. I ran into a problem when I was testing a self-coded sript. Two messages which are "Crash in sript", "Error 041:Inconsistent series calls Bar 1119:5 - Bar 1120:4" popped up sequetially.
I scanned the script only to find three lines of series calls which are not nested in if statements.
Does anyone know what kind of mistake I have made?

Re: crash in script&&error inconsistent series calls [Re: James_Bolton] #442103
06/11/14 12:53
06/11/14 12:53
Joined: Jun 2013
Posts: 1,609
D
DdlV Offline
Serious User
DdlV  Offline
Serious User
D

Joined: Jun 2013
Posts: 1,609
Hi James_Bolton. Hard to say without seeing the script. If you're not willing to do that, how about a stripped-down version that still shows the problem? Stripping it down to the offending combination in itself sometimes reveals the issue, as does inserting debug printf's. Also, some indicators internally do series, so the problem could lie there.

HTH.

Re: crash in script&&error inconsistent series calls [Re: DdlV] #442149
06/13/14 10:28
06/13/14 10:28
Joined: Jul 2013
Posts: 522
D
dusktrader Offline
User
dusktrader  Offline
User
D

Joined: Jul 2013
Posts: 522
The two errors do generally come together, so that's typical.

Check your 3 series call and ask yourself if they are called on every iteration (ie, once per Bar). There are other reasons a series call could be skipped during an iteration (not just an if statement). DdlV is also right -- check any indicators - usually the manual lists whether or not they have an internal series.


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