PureBytes Links
Trading Reference Links
|
Plot them as dotted line not solid line.
From: "Schmidt, Russell" <Russell_Schmidt@xxxxxxxxxx>
To: "'omega-list@xxxxxxxxxx'" <omega-list@xxxxxxxxxx>
Subject: Multi-Colored Single Plot Indicator In V.4.0...
Date: Thu, 1 May 2003 16:51:10 -0700
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.
|