Gamestudio Links
Zorro Links
Newest Posts
Can't go to FALSEGOTO:DOUBLE?
by Turrican
Today at 00:34
Chamferbox Lucky Pack, once a year chance, 90% OFF limited deals
by Chamferbox
Yesterday at 21:10
How detect 200 bars after trade was opened?
by Tuguldur717
Yesterday at 13:58
Data quality and accuracy of test results
by brax
Yesterday at 13:44
Can be changed the header in Zorro?
by tomaslolo
Yesterday at 12:12
Price difference between last tick and previous.
by JRA
Yesterday at 11:47
Zorro on Linux
by alb
02/21/18 20:47
AUM Magazine
Latest Screens
Forgotten Tales - Demo version
RPG PARTY
Triton Wing now available on Steam
AckCon'17: Lotter vs The World
Who's Online
17 registered (dmac, Hredot, Cheulmen, BlackJack, MatPed, Kartoffel, alibaba, AndrewAMD, 3 invisible), 471 Guests and 9 Spiders online.
Key: Admin, Global Mod, Mod
Newest Members
tomaslolo, dmac, alb, may, piddle61
17896 Registered Users
Topic Options
Rate This Topic
#466965 - 07/10/17 23:59 Help for Bollinger Band Width
Alessio Offline
Newbie

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?

Thanks

Top
#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:
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

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

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

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

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

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

Top



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) 3dgamestudio.net