Gamestudio Links
Zorro Links
Newest Posts
Deformers struct in MDL7 abspeichern.
by tagimbul
Today at 02:06
Votes for future features
by Hredot
Today at 01:48
What happens with particles, Memory wise?
by jumpman
Today at 00:41
Plotting on hour time scale
by Hredot
Yesterday at 17:42
Fetter ACSII Parser
by MasterQ32
Yesterday at 14:31
AUM Magazine
Latest Screens
RPG PARTY
Triton Wing now available on Steam
AckCon'17: Lotter vs The World
Triton Wing
ZeaL
Who's Online
8 registered (Dalla, AndrewAMD, firecrest, jyd, tagimbul, johnnyp, jrath, Hredot), 441 Guests and 4 Spiders online.
Key: Admin, Global Mod, Mod
Newest Members
CaptainPablo, blAx, BBX, jcadihere, Peeyotch
17759 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 Online
Member

Registered: 02/24/17
Posts: 165
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 | beta features

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