PureBytes Links
Trading Reference Links
|
> Here is one that has me stumped. I want to have the ADX line
> change from
> blue to yellow when it crosses above the 30 level. Also, the
> DMIPlus change
> from dark green to green when it crosses over the 25 line and the DMIMinus
> change from dark red to red when it crosses over the 25 line.
In TS 4 you can use multiple Plot statements to change indicator colors:
Value1 = ADX(14) ;
If Value1 < 30 then Plot1(Value1, "NoTrend") else Plot2(Value1, "Trend") ;
{set Plot colors as needed}
In TS 7 you can use the following syntax:
If Value1 < 30 then Plot1(Value1, "ADX", Blue) else Plot1(Value1, "ADX",
Yellow);
TS 7 also lets you vary the plot widths.
Not sure about TS2000 or TS 6 ...
HTH,
Cab
|