logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
calisto77  
#1 Posted : Tuesday, June 2, 2020 5:09:43 AM(UTC)
calisto77

Rank: Member

Groups: Registered, Registered Users, Subscribers
Joined: 5/14/2019(UTC)
Posts: 27

Was thanked: 1 time(s) in 1 post(s)

I want to make a formula for the difference in width in bol bands  to use as an indicator which I can also later use in an exploration

BB diff   ==    BTM:=BBandBot(C,20,S,2) ;  TOP:=BBandTop(C,20,S,2) ; DIF:=TOP-BTM;    dif

with different stock prices , a simple difference doesn't work  and the "difference" needs to be expressed as a   -- ratio-- %-- index  -- a simple matter but I've forgotten how to make it work

I'd appreciate your assistance

thanks

MS Support  
#2 Posted : Tuesday, June 2, 2020 3:54:25 PM(UTC)
MS Support

Rank: Advanced Member

Groups: Moderators, Registered, Registered Users, Subscribers
Joined: 10/8/2010(UTC)
Posts: 1,929

Thanks: 85 times
Was thanked: 154 time(s) in 150 post(s)
Originally Posted by: calisto77 Go to Quoted Post

I want to make a formula for the difference in width in bol bands  to use as an indicator which I can also later use in an exploration

BB diff   ==    BTM:=BBandBot(C,20,S,2) ;  TOP:=BBandTop(C,20,S,2) ; DIF:=TOP-BTM;    dif

with different stock prices , a simple difference doesn't work  and the "difference" needs to be expressed as a   -- ratio-- %-- index  -- a simple matter but I've forgotten how to make it work

I'd appreciate your assistance

thanks

Hi,

There is a Bollinger percent B (%b) formula described on various sites that a web search can turn up which might be helpful. The indicator below follows their definition:

Code:
B:=(C-BBandBot(C,20,S,2))/(BBandTop(C,20,S,2) - BBandBot(C,20,S,2));
B

calisto77  
#3 Posted : Wednesday, June 3, 2020 3:49:34 AM(UTC)
calisto77

Rank: Member

Groups: Registered, Registered Users, Subscribers
Joined: 5/14/2019(UTC)
Posts: 27

Was thanked: 1 time(s) in 1 post(s)

thanks, I'll have a look at it

Users browsing this topic
Similar Topics
Very Simple Bollinger Bands Formula (Formula Assistance)
by GameTime 1/21/2011 11:45:37 PM(UTC)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.