Print Page | Close Window

Fill attribute example

Printed From: BullCharts Forum
Category: BullCharts
Forum Name: BullScript
Forum Discription: Technical discussion related specifically to the BullScript programming language.
URL: http://www.bullcharts.com.au/forum/forum_posts.asp?TID=306
Printed Date: 15 Apr 2025 at 11:08pm
Software Version: Web Wiz Forums 9.69 - http://www.webwizforums.com


Topic: Fill attribute example
Posted By: timpaul
Subject: Fill attribute example
Date 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;




Replies:
Posted By: chart rider
Date 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




Print Page | Close Window

Bulletin Board Software by Web Wiz Forums® version 9.69 - http://www.webwizforums.com
Copyright ©2001-2010 Web Wiz - http://www.webwiz.co.uk