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

Re: Program color on ADX and DMI



PureBytes Links

Trading Reference Links

The TS7 suggestion you made has been in effect since TS2000i.  Thus, you
could use TS2000i, TS6 or TS7 to specify the plot color.


Best regards,

Benjamin Blanco,
EasyLanguage Specialist
( former TradeStation Technologies, Inc. employee of six years )
http://www.benjaminblanco.com/

EasyLanguage is a registered trademarks of TradeStation Technologies, Inc.

----- Original Message -----
From: "Cab Vinton" <cvinton@xxxxxxxxxxxxx>
To: <JDFO@xxxxxxxxxxx>; "omega-list" <omega-list@xxxxxxxxxx>
Sent: Thursday, April 03, 2003 6:38 AM
Subject: RE: Program color on ADX and DMI


>     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