PureBytes Links
Trading Reference Links
|
Anthony,
Try this...Go to indicator builder , click on Built-in Tab and click on
Price....Add the following code above the line that reads:
//--Indicator-End--
Then click apply.
So..it should look like this:
Plot(C,"",colorBlack,styleCandle);
Plot(V,"",IIf(V > Ref(V,-1),colorGreen,colo
rRed),styleHistogram|styleOwnScale);
//--Indicator-End--
Best wishes
Anthony
"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/
|