bdog,
Here is an interesting function, I came up trying to isolate higher bottoms.
Name: xxStoch89TotalUp
x1:=If(stoch(89,3)>=mov(stoch(89,3),2,e),1,0); x2:=if(ref(stoch(89,3),-1)<ref(mov(stoch(89,3),2,e),-1),1,0) x3:=if(x1=1 and x2=1,1,0); x4:=if(x3=1,stoch(89,3),PREV); x4
This plots out as a step function along the crossovers of %k %d.
To see if a Xover occurred which is higher than the previous crossover ..
if(fml("xxStoch89TotalUp")>ref(fml("xxStoch89TotalUp"),-1),1,0)
I have found this useful in RSI junk, with RSI() replacing the stoch().
wart |