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

Multi-Colored Single Plot Indicator In V.4.0...



PureBytes Links

Trading Reference Links

In version 4.0, is there a way to code a single plot multi-colored indicator
as a line?

For example, I would like the ADX to change colors at different zones.  Here
is my code:

Input: Length(14);
If ADX(Length) < 20 then Plot1(ADX(Length), "ADX1");
If ADX(Length) >= 20 AND ADX(Length) < 30 then Plot2(ADX(Length), "ADX2");
If ADX(Length) >= 30 then Plot3(ADX(Length), "ADX3");

The problem is, as a single line, each plot does not "turn on or off" as
each zone is entered.

Any help will be most appreciated.