PureBytes Links
Trading Reference Links
|
Gilles,
Try this:
//Color coded ADX14
Col=IIf(PDI()>MDI(),5,4); //Select your own colors
Plot(ADX(14)," ADX(14) ",Col,1);
Plot(20,"",1,1); //Marker for ADX(14)=20
Keith (B)
--- In amibroker@xxxx, "gillesdeprez" <gillesdeprez@xxxx> wrote:
> to draw a graph in AB, that would be a simple ADX 14- no DI+/DI- on
> the graph, but the line would change its color depending on the
> relative position of DI+ and DI-
> DI+ above DI-: green
> DI- above DI+: red
> Or any other colors you like...
> Gilles
|