Traders Laboratory - View Single Post - Various Indicators (Squeeze,2FastMa's,etc)
View Single Post
  #13 (permalink)  
Old 04-16-2008, 08:00 AM
Blu-Ray's Avatar
Blu-Ray Blu-Ray is offline
Blu-Ray has no status.

Trader Specs
 
Join Date: Nov 2006
Location: England
Posts: 426
Thanks: 105
Thanked 53 Times in 34 Posts
This member is the original thread starter. Re: Various Indicators (Squeeze,2FastMa's,etc)

Here's a new one that's just been added:

BR_Trend_Bars



and the code : ( You'll need the jtHMA function as posted above )

Inputs:
Price(Close),
Length1(13),
Length2(34),
Length3(89),
UpLevel(35),
MidLevel(0),
LwrLevel(-35);



Value1 = jthma(Price,Length1);
Value2 = jthma(Price,Length2);
Value3 = jthma(Price,Length3);

if Value1 > Value1[1] then Plot1(UpLevel,"UpLevel", Green) else Plot1(UpLevel,"UpLevel", Red);

if Value2 > Value2[1] then Plot2(MidLevel,"MidLevel" ,Green) else Plot2(MidLevel,"MidLevel" ,Red);

if Value3 > Value3[1] then Plot3(LwrLevel,"LwrLevel" ,Green) else Plot3(LwrLevel,"LwrLevel" ,Red);


Hope this helps

Blu-Ray
Attached Images
File Type: png br_trend_bars1.png (67.5 KB, 698 views)
Attached Files
File Type: eld BR_TREND_BARS.ELD (5.4 KB, 161 views)

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