PureBytes Links
Trading Reference Links
|
Hi Terry,
Thanks.
Plot(1,"", IIf( Interval() == 86400, colorCustom1, colorCustom3),
styleArea|styleOwnScale);
I use Interval() to know in which timeframe the graph it is.
Tintin92
----- Original Message -----
From: "Terry" <MagicTH@xxxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Friday, December 30, 2005 6:07 PM
Subject: RE: [amibroker] Is it possible to have a background color for the
daily and a other background color for the weekly ?
> By having this as your LAST plot statement since you can't actually
> control the background colors in code:
>
> TimeColor = set color based on time interval here;
> //You might want to set TimeColor = Null for one of the timeframes so
> you get the "normal" background color for that.
> Plot(1,"", TimeColor,styleArea|styleOwnScale);
> --
> Terry
>
> -----Original Message-----
> From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On
> Behalf Of cstrader
> Sent: Friday, December 30, 2005 09:28
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: Re: [amibroker] Is it possible to have a background color for
> the daily and a other background color for the weekly ?
>
> Hi.
>
> You could use the interval() function to determine what timeframe you
> are
> in, and then set your colors on the basis of that.
>
> ----- Original Message -----
> From: "tintin92" <tintin922002@xxxxxxxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Friday, December 30, 2005 11:13 AM
> Subject: [amibroker] Is it possible to have a background color for the
> daily
> and a other background color for the weekly ?
>
>
> > Hi,
> >
> > Is it possible to have a background color for the daily and a other
> > background color for the weekly ?
> >
> > Regards.
> >
> > Tintin92
> >
> >
> >
> >
> > 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
>
>
>
>
>
>
>
>
>
>
> 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:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|