Gamestudio Links
Zorro Links
Newest Posts
rMomentum always returns 0 when checking for peak/valley
by jcl
Today at 17:38
a little help here?
by 3run
Today at 16:38
How to set a pair trading order right
by jcl
Today at 11:46
Dual Momentum Algorithm - The way Zorro would have done it
by Hredot
Today at 05:21
HIgh FRequency Trading Script -- Highly Profitable
by Yosh
Yesterday at 19:27
Linear Regression in objective function
by jcl
11/22/17 15:40
MT4 vs Zorro
by pascalx
11/22/17 14:00
AUM Magazine
Latest Screens
Triton Wing now available on Steam
AckCon'17: Lotter vs The World
Triton Wing
Who's Online
14 registered (Lobo, Hredot, painkiller, 3run, alibaba, Kartoffel, FLD, RealSerious3D, Jerome8911, 1 invisible), 169 Guests and 4 Spiders online.
Key: Admin, Global Mod, Mod
Newest Members
ech87, Lobo, Andy60, AzzoCorp, franzz
17813 Registered Users
Topic Options
Rate This Topic
#466965 - 07/10/17 23:59 Help for Bollinger Band Width
Alessio Offline

Registered: 06/19/15
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?


#467017 - 07/12/17 17:49 Re: Help for Bollinger Band Width [Re: Alessio]
BobbyT Offline
Junior Member

Registered: 06/30/17
Posts: 68
Here is the call to bollinger bands from the manual:
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.


#467059 - 07/14/17 07:54 Re: Help for Bollinger Band Width [Re: BobbyT]
Alessio Offline

Registered: 06/19/15
Posts: 6
Thanks for your help, I'll try to write something.

#467061 - 07/14/17 08:51 Re: Help for Bollinger Band Width [Re: Alessio]
Dalla Offline

Registered: 02/24/17
Posts: 211
Most sources I find use the formula

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


Gamestudio download | chip programmers | Zorro platform | shop | resources | magazine | manual | support faq | bugs

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at)