Just add a conditional statement for the colour -- Cheers Graham AB-Write >< Professional AFL Writing Service Yes, I write AFL code to your requirements http://e-wire.net.au/~eb_kavan/ab_write.htm
On 4/4/06, tchmilar <[EMAIL PROTECTED]> wrote: > Thanks Graham. This works for a single horizontal bar but I would > like to plot a double (2 color) bar to represent each currency in a > currency pair. Perhaps I'm expecting too much. > > --- In [email protected], Graham <[EMAIL PROTECTED]> wrote: > > > > Assuming I understand correctly, you could always use stylearea and > > styleownscale > > > > range = TimeNum()>=150000 AND TimeNum()<220000; > > Plot( range, "", colorBlue, styleArea|styleOwnScale, 0,100); > > > > -- > > Cheers > > Graham > > AB-Write >< Professional AFL Writing Service > > Yes, I write AFL code to your requirements > > http://e-wire.net.au/~eb_kavan/ab_write.htm > > > > > > On 4/4/06, tchmilar <[EMAIL PROTECTED]> wrote: > > > I would like to overlay a colored bar across the bottom of an > intra- > > > day currency pair price chart indicating that banking hours are > open. > > > For example, for AUD.USD pair I would to display a bar from > 15:00 to > > > 22:00 hours. I am able to determine the applicable hours but am > unable > > > to use the appropriate Plot/PlotShapes function. I've been > > > experimenting with > > > PlotShapes(IIf > BankingHours,shapeSquare,shapeNone),colorViolet,0,?,?); > > > > > > > > > > > > > > > > > > > > > > > > > > > Please note that this group is for discussion between users only. > > > > > > To get support from AmiBroker please send an e-mail directly to > > > SUPPORT {at} amibroker.com > > > > > > For other support material please check also: > > > http://www.amibroker.com/support.html > > > > > > > > > Yahoo! Groups Links > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Please note that this group is for discussion between users only. > > To get support from AmiBroker please send an e-mail directly to > SUPPORT {at} amibroker.com > > For other support material please check also: > http://www.amibroker.com/support.html > > > Yahoo! Groups Links > > > > > > > > ------------------------ Yahoo! Groups Sponsor --------------------~--> Try Online Currency Trading with GFT. Free 50K Demo. Trade 24 Hours. Commission-Free. http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/GHeqlB/TM --------------------------------------------------------------------~-> Please note that this group is for discussion between users only. To get support from AmiBroker please send an e-mail directly to SUPPORT {at} amibroker.com For other support material please check also: http://www.amibroker.com/support.html Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/amibroker/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
