Gamestudio Links
Zorro Links
Newest Posts
FXCM => AVA Trade Plugin???
by Martin_HH. 11/25/26 21:59
No connection to MT4
by Martin_HH. 11/23/26 06:38
MinMax function on History t6 file
by LucasJoshua. 11/21/26 14:28
What are you working on?
by rayp. 11/20/26 18:10
contractUpdate() is filtering if >2 rows
by mistery. 11/09/26 12:06
New Zorro version 3.15
by jcl. 11/09/26 09:24
Removing outliers from files
by jcl. 11/04/26 10:30
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (JeyKey II), 9,039 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
EvanTJ, rht, MaliceTheMaker, Haitao_Ren, JimSimons
19250 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Help for Bollinger Band Width #466965
07/10/17 21:59
07/10/17 21:59
Joined: Jun 2015
Posts: 6
A
Alessio Offline OP
Newbie
Alessio  Offline OP
Newbie
A

Joined: Jun 2015
Posts: 6
Hi guys, I'd like write the code for Bollinger Band Width indicator, but I haven't the ability.
Has someone written yet?

Thanks

Re: Help for Bollinger Band Width [Re: Alessio] #467017
07/12/17 15:49
07/12/17 15:49
Joined: Jun 2017
Posts: 78
B
BobbyT Offline
Junior Member
BobbyT  Offline
Junior Member
B

Joined: Jun 2017
Posts: 78
Here is the call to bollinger bands from the manual:
Code:
BBands(vars Data, int TimePeriod, var NbDevUp, var NbDevDn, int MAType)


The return values are stored in: rRealUpperBand, rRealLowerBand, rRealMiddleBand.

Call BBands and subtract rRealLowerBand from rRealUpperBand and viola, bollinger band width.

Cheers,
BobbyT

Re: Help for Bollinger Band Width [Re: BobbyT] #467059
07/14/17 05:54
07/14/17 05:54
Joined: Jun 2015
Posts: 6
A
Alessio Offline OP
Newbie
Alessio  Offline OP
Newbie
A

Joined: Jun 2015
Posts: 6
Thanks for your help, I'll try to write something.

Re: Help for Bollinger Band Width [Re: Alessio] #467061
07/14/17 06:51
07/14/17 06:51
Joined: Feb 2017
Posts: 369
D
Dalla Offline
Senior Member
Dalla  Offline
Senior Member
D

Joined: Feb 2017
Posts: 369
Most sources I find use the formula

Band Width = (Upper Bollinger Band - Lower Bollinger Band) / Middle Bollinger Band


Moderated by  Petra 

Gamestudio download | 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