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

Re: [amibroker] Colored Volume Bars



PureBytes Links

Trading Reference Links

Sorry , change it to this: Close> Open

Plot(C,"",colorBlack,styleCandle);
Plot(V,"",IIf(C > O,colorGreen,colorRed),styleHistogram|styleOwnScale);

//--Indicator-End--

"Anthony " wrote:

>  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
>
>
>
>
>                    Yahoo! Groups Sponsor
                        ADVERTISEMENT


>
> 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 the Yahoo! Terms of Service.


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/