[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Need some help Coding



PureBytes Links

Trading Reference Links

Thanks a lot guys it seems that this does the job for the Expert Advisor

THANKS
M

-----Original Message-----
From: owner-metastock@xxxxxxxxxxxxx
[mailto:owner-metastock@xxxxxxxxxxxxx] On Behalf Of Pierre Tremblay
Sent: woensdag 9 januari 2002 06:28
To: metastock@xxxxxxxxxxxxx
Subject: Re: Need some help Coding


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