Traders Laboratory - View Single Post - REQ Help with Trend Indicator
View Single Post
  #17 (permalink)  
Old 11-27-2007, 05:49 PM
Blu-Ray's Avatar
Blu-Ray Blu-Ray is offline
Blu-Ray has no status.

Trader Specs
 
Join Date: Nov 2006
Location: England
Posts: 406
Thanks: 92
Thanked 40 Times in 26 Posts
Re: REQ Help with Trend Indicator

Quote:
View Post
hi
Is it possible to have the code in txt format for ts2000i

Thanks a lot

Here you go:


inputs: Price( Close ), Length( 5 ),Upcolor( DarkGreen),DnColor ( DarkRed),NColor(White) ; variables: Avg( 0 ) ; Avg = AverageFC( Price, Length ) ; Condition1 = close[1] > avg[1] and close > avg; Condition2 = close[1] < avg[1] and close < avg; plot1(avg,"avg"); if close crosses above avg then setplotcolor(1,NColor); if condition1 then setplotcolor (1,upcolor); if close crosses below avg then setplotcolor(1,NColor); if condition2 then setplotcolor (1,dncolor);
Hope this helps

Blu-Ray

__________________
Remember - Take the path of least resistance.
Reply With Quote