Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
M1 Oversampling
by jcl. 04/26/24 11:12
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
MT5 bridge not working on MT5 v. 5 build 4160
by EternallyCurious. 04/25/24 20:49
Trading Journey
by howardR. 04/24/24 20:04
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Scripts not found
by juergen_wue. 04/20/24 18:51
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (Ayumi, AndrewAMD), 822 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Strange behaviour with Range Bars #454969
10/01/15 03:09
10/01/15 03:09
Joined: May 2015
Posts: 11
Australia
K
KingKrak Offline OP
Newbie
KingKrak  Offline OP
Newbie
K

Joined: May 2015
Posts: 11
Australia
Hello,
I was very glad to hear you could override the bars() function in the new version of Zorro, and have finally tried to use it in a script I have been working on.

Well, I copied out the example in the manual for range bars. To me the code looks fine, but when I implement it the bars vary wildly in size (see attached picture).

Do you think it is because the function is only called every tick?

Attached Files RB.png
Re: Strange behaviour with Range Bars [Re: KingKrak] #454973
10/01/15 07:13
10/01/15 07:13
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
Range bars in fact do vary wildly in size AFAIK. Or maybe there are different definitions of Range bars? Renko bars have a fixed size.

Re: Strange behaviour with Range Bars [Re: jcl] #455978
11/05/15 05:08
11/05/15 05:08
Joined: May 2015
Posts: 11
Australia
K
KingKrak Offline OP
Newbie
KingKrak  Offline OP
Newbie
K

Joined: May 2015
Posts: 11
Australia
Maybe you are right. I have only ever seen "constant" range bars, and so people just normally refer to them as range bars. I just assumed they were always the constant type (which is what I was after).

No problems though, I will make something up that makes constant range bars and share on the forum.

Sorry it took so long to reply to this post. I have been in hospital.


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