FILL Bollinger Bands |
Post Reply |
Author | |
jalna
Regular Joined: 31 Mar 2007 Posts: 95 |
Post Options
Quote Reply
Topic: FILL Bollinger Bands 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 |
|
maximo
BullCharts Guru Joined: 02 Sep 2006 Location: Australia Posts: 232 |
Post Options Quote Reply 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 |
|
Post Reply |
Forum Jump | Forum Permissions 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 |