BullCharts Forum Homepage
Forum Home Forum Home > BullCharts > BullScript
  New Posts New Posts RSS Feed: FILL Bollinger Bands
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

FILL Bollinger Bands

 Post Reply Post Reply
Author
Message Reverse Sort Order / View First Unread Post
maximo View Drop Down
BullCharts Guru
BullCharts Guru
Avatar

Joined: 02 Sep 2006
Location: Australia
Posts: 232
Post Options Post Options   Quote maximo Quote  Post ReplyReply Direct Link To This Post Topic: FILL Bollinger Bands
    Posted: 10 Mar 2009 at 12:22am
G'day Jalna
I had a look at the Hull Activest indicator which has a band fill.  The last 2 lines here do the job.   Giving the item a name allows access to it in properties.
 
 

n := input("Time periods",14,1);

sd := input("Standard Deviations",2,1);

[target=price]

[name=Top]

bt:=bbandtop(C,n,S,sd);

bt;

[name=Bottom]

bb:=bbandbot(C,n,S,sd);

bb;

[name=Average; linestyle=dash]

ma(C,n,S);

[name=Band Fill; linestyle=fill; color=blue]

bt; bb;

 


Edited by maximo - 10 Mar 2009 at 3:27pm
Back to Top
jalna View Drop Down
Regular
Regular


Joined: 31 Mar 2007
Posts: 95
Post Options Post Options   Quote jalna Quote  Post ReplyReply Direct Link To This Post Posted: 08 Mar 2009 at 8:45am
Hi , I'm trying to fill Bollinger Bands with a pale solid colour but not had any success yet.
Checked out the code for MACD but it doesn't do anything for the BBands. Tried cutting out some of the code signal line etc but its obviously more complicated than that and how do you make FILL show in the BBands properties box
Any ideas

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Bulletin Board Software by Web Wiz Forums® version 9.69
Copyright ©2001-2010 Web Wiz