BullCharts Forum Homepage
Forum Home Forum Home > BullCharts > BullScript
  New Posts New Posts RSS Feed: Fill attribute example
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Fill attribute example

 Post Reply Post Reply
Author
Message Reverse Sort Order
chart rider View Drop Down
Regular
Regular
Avatar

Joined: 25 Sep 2004
Location: Australia
Posts: 96
Post Options Post Options   Quote chart rider Quote  Post ReplyReply Direct Link To This Post Topic: Fill attribute example
    Posted: 16 Nov 2005 at 8:16am

tim

Thanks for the bit of code, just saved me some time in a few indicators I'm currently building.

CR

Back to Top
timpaul View Drop Down
Newbie
Newbie


Joined: 09 Nov 2005
Location: Australia
Posts: 3
Post Options Post Options   Quote timpaul Quote  Post ReplyReply Direct Link To This Post Posted: 09 Nov 2005 at 11:41am

 

One of the (very many) great things about BullCharts is that offers so much customisation flexibility. The code below is a Chalken Indictor with the values above the horizontal 0 line filled with one colour and below the line with another.

[target=Default; alias=cofill; category=Oscillators; author=Chaikin, Marc]

[horzline=0]

res:=ma(ad,3,E) - ma(ad,10,E);

res;

 

{fill}

[linestyle=fill; Transparency=0]

[color=green] res;

[color=red] 0;



Edited by timpaul
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