Gamestudio Links
Zorro Links
Newest Posts
website-related suggestions for the webmaster
by Fuchs
26 minutes 44 seconds ago
Algorithm for Detrend=SHUFFLE
by kujo
Today at 15:24
vec_for_vertex gap issue
by txesmi
Today at 13:55
Separate entry and exit parameters optimization
by kujo
Today at 13:27
inkey and Unicode
by Superku
Today at 11:36
[Paid] Unicode Keyboard Input
by Superku
Yesterday at 18:37
bounce + low framerate ??
by 3run
Yesterday at 17:06
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
21 registered (3run, Fuchs, 3dgs_snake, AndrewAMD, 20BN, alibaba, Hredot, Dalla, 3 invisible), 473 Guests and 4 Spiders online.
Key: Admin, Global Mod, Mod
Newest Members
stuvwx608784, Joderin, Fuchs, Don_Diego, jetomas59
17937 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: 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

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 Online
Member

Registered: 02/24/17
Posts: 258
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