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.