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

Re: [amibroker] Using Three Color .



PureBytes Links

Trading Reference Links

myColor =
IIf (MDI(14) > PDI(14) *AND* ADX (14) < Ref( ADX(14), -1 ), *colorBlue*,
IIf (MDI(14) > PDI(14), *colorRed*,
*colorGreen*));

then in plot statement use myColor in the color part.
Plot( ADX(14),"ADX", mycolor, styleThick );


-- 
Cheers
Graham
AB-Write >< Professional AFL Writing Service
Yes, I write AFL code to your requirements
http://www.aflwriting.com

On 29/01/07, Mohammed <softnews2003@xxxxxxxxx> wrote:
>
> Hi all,
>
> Is it passable to use three colors in the ADX indicator, depending in the
> following states.
>
> IIf (PDI(14) > MDI(14), *colorGreen*);
> IIf (MDI(14) > PDI(14), *colorRed*);
> IIf (MDI(14) > PDI(14) *AND* ADX (14) < Ref( ADX(14), -1 ), *colorBlue*);
>
> If it passable please help,
>
> Thanks
> 
>

Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.17.12/655 - Release Date: 1/28/2007 1:12 PM