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

Re: [amibroker] Bar Chart Colors


  • Date: Tue, 26 Jan 2010 23:30:51 -0800 (PST)
  • From: Joseph Occhipinti <joseph_occhipinti@xxxxxxxxx>
  • Subject: Re: [amibroker] Bar Chart Colors

PureBytes Links

Trading Reference Links



Thanks Patrick but nothing happened when i put those lines in the formula editor. I did hit 'apply indicator' and no errors came up but when i close the box, nothing came up 

thanks


From: NW Trader <ta4charts@xxxxxxxxxxx>
To: amibroker@xxxxxxxxxxxxxxx
Sent: Wed, 27 January, 2010 6:19:57 PM
Subject: Re: [amibroker] Bar Chart Colors

 



Hi Joseph,
 
Try the following lines and plot statement in a new formula editor:
 
Barcolor = IIF(C>Ref(C,-1) , colorGreen, colorRed );
Plot(C, "Close ", Barcolor , styleBar |styleThick ) ;
 
This colors the bars based on the relation of the close to the prior close.  If you want the bars to depict the relation from open to close or to show volume changes, you can edit the Barcolor statement. You might also want to add a Title statement and some other things (like setting the chart options).
 
Peace and Justice   ---   Patrick
----- Original Message -----
Sent: Tuesday, January 26, 2010 7:26 PM
Subject: [amibroker] Bar Chart Colors

Hi All --

How do I make the up days of a bar chart green and down days red?

Thanks 


See what's on at the movies in your area. Find out now.


Yahoo!7: Catch-up on your favourite Channel 7 TV shows easily, legally, and for free at PLUS7. Check it out.

__._,_.___


**** 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

__,_._,___