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

[amibroker] Colored Volume Bars



PureBytes Links

Trading Reference Links

Hi,
I want to have different colors for volume bars on up days and down 
days on the main price chart.
Is there any easy way of doing it or do I have to create a custom 
indicator?
I created a custom indicator for volume alone but can't seem to get 
the grid lines the same as the in-built volume display.

VolumeColor = IIf(Close>Open,colorGreen,IIf
(Close<Open,colorRed,colorPaleBlue));
Plot(Volume,"volume",Volumecolor,styleHistogram+styleThick);

Any suggestions on how to get the scaling and gridlines correct?

Thanks,
Anthony 

  


Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/