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

Re: [amibroker] Color volume bars - how ?



PureBytes Links

Trading Reference Links

Here is one.

Mohan


upbar = C > Ref(C,-1);
downbar = C< Ref(C,-1);

barcolor=IIf(downbar, 4, IIf(upbar, 6,19) );


Plot(V,"Volume",barcolor,2+4);
Plot(MA(V,16),"MA16",19,4);




hmab1 wrote:
> 
> Hello,
> 
> I trying to find the AFL code to color volume bars based on whether
> the stock moved up or down in that day.
> 
> I recall this being discussed at one point but I can't find it in
> this group.
> 
> Does anyone have the code ?
> 
> Thanks,
> HB
> 
> 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.