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

Re: [amibroker] Color bars



PureBytes Links

Trading Reference Links

you can also use more arguments and also lines instead bars:

Cond1 = EMA (V,10);Graph0 = V;
Graph0BarColor = IIf( V >= Cond1, 5,IIf(V >=1000000,7,4));


Have a nice day
Hope it helps

Thomas


----- Original Message -----
From: "Thomas and Theresa Eyre" <tnt.eyre@xxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Sunday, December 02, 2001 10:59 PM
Subject: Re: [amibroker] Color bars


> Works like a charm Thomas.
> Thank you
> TomE
>
> Thomas Zmuck wrote:
>
> > Hello,
> >
> > you can use
> >
> > graph0barcolor = IIF( V >= Graph2, 5, 6);
> >
> > Thomas
> >
> > ----- Original Message -----
> > From: <tnt.eyre@xxxx>
> > To: <amibroker@xxxxxxxxxxxxxxx>
> > Sent: Sunday, December 02, 2001 10:50 PM
> > Subject: [amibroker] Color bars
> >
> > > Hi.
> > > Is it possible to set a bar to a different color from the
> > > others depending on a condition?
> > >
> > > Graph0 = V; Graph0Style = 2; //Graph0Color = 6;
> > > Graph1 = MA(V,10); Graph1Style = 1; Graph1Color= 5;
> > > Graph2 = 2 * Graph1; Graph2Style = 1; Graph2Color = 5;
> > >
> > > IIf(V>=Graph2, Graph0Color = 5, Graph0Color = 6);
> > >
> > > Thanks
> > > TomE
> > >
> > >
> > >
> > >
> > >
> > > Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/
> > >
> > >
> >
> >
> >
> >
> > Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/
>
>
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>

Attachment:
gif00270.gif

Attachment: Description: "Description: GIF image"