PureBytes Links
Trading Reference Links
|
Michel,
Maybe you can try :
hhv(c,3) = hhv(c,20) AND
ref(hhv(c,17),-3) <= ref(c,-2) AND
(ref(hhv(c,17),-3) <= ref(c,-1) OR ref(hhv(c,17),-3) <= c)
I hope this helps,
Pierre Tremblay
Michel Amelinckx a écrit :
> Hello,I'm wondering if someone could help me out coding something.I
> need to put this into code;Close of today, yesterday or day before
> must make 20 day high ANDtoday, yesterday or day before that close
> must be at least second highest high of past 20 days.I thank you VERY
> much for helping me out hereThanksM
|