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

Re: [amibroker] Color bars



PureBytes Links

Trading Reference Links

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/
>
>