zentex 1 posts msg #31168 - Ignore zentex |
2/22/2004 5:55:04 AM
The filter below to find KST Long EMA crosses above 9 day MA works when the offset is 0 but not when the offset is longer. Does anyone have any suggestion on how to make this work when the offset is not 0? Obviously I want to change the offset to test the behaviour of this filter in the past. Thanks.
------------------------------------------------------------------------------
set{var1,KST Long EMA 1 day ago + KST Long EMA 2 day ago}
set{var2,var1+KST Long EMA 3 day ago}
set{var3,var2+KST Long EMA 4 day ago}
set{var4,var3+KST Long EMA 5 day ago}
set{var5,var4+KST Long EMA 6 day ago}
set{var6,var5+KST Long EMA 7 day ago}
set{var7,var6+KST Long EMA 8 day ago}
set{var8,var7+KST Long EMA 9 day ago}
set{var9,var8 / 9}
show stocks where KST Long EMA has crossed above var9
|