[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Re: Bar Chart Colors


  • Date: Wed, 27 Jan 2010 13:31:27 -0000
  • From: "jollypolly999" <jollypolly999@xxxxxxxxx>
  • Subject: [amibroker] Re: Bar Chart Colors

PureBytes Links

Trading Reference Links

Title: Using graph styles, colors and titles in Indicator Builder



--- In amibroker@xxxxxxxxxxxxxxx, Joseph Occhipinti <joseph_occhipinti@xxx> wrote:

 Hi All --
 
 How do I make the up days of a bar chart green and down days red?
 
 Thanks.

Here  S.T.  I do a search on Google.

 http://www.amibroker.com/guide/h_indbuilder2.html
 

To plot traditional bars with color (green up bars and red down bars) we just specify color depending on relationship between open and close price and styleBar in style argument:


Plot( Close, "Price", IIf( Close > Open, colorGreen, colorRed ), styleBar | styleThick );

 

__._,_.___


**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/





Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___