PureBytes Links
Trading Reference Links
|
Folks,
would someone help me with this:
I need to calculate how many time periods have been
passed since
zz and yy
whereby
z=iif(low<Ref(llv(low,5), -1),1,0)
zz=valuewhen(z==1,low,1)
and
y=iif (high>Ref(hhv(high,5),
-1),1,0)
yy=valuewhen(y==1,high,1)
???????????????
I thought of
barssince (y==1) - barssince (zz==1) but that
dosnīt return the desired result.
Thanks a lot!!
Markus
|