SI
SI
discoversearch

We've detected that you're using an ad content blocking browser plug-in or feature. Ads provide a critical source of revenue to the continued operation of Silicon Investor.  We ask that you disable ad blocking while on Silicon Investor in the best interests of our community.  If you are not using an ad blocker but are still receiving this message, make sure your browser's tracking protection is set to the 'standard' level.
Strategies & Market Trends : Metastock 6.0 for Window

 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext  
To: KTLe who started this subject7/7/2000 5:20:43 PM
From: Barry Kales  Read Replies (4) of 4056
 
MetaStock formula help please!

Having trouble writing correct MetaStock exploration formula--I want to signal when a Doji occurs following a four-day consecutive increasing CLOSE. I would like this to be an ALERT, signaling if this completed pattern has occurred within the last five days. The formula I have written isn't correct (it doesn't catch all instances). This is my formula:

Alert(Doji() AND
(Ref(C,-1) > Ref(C,-2) > Ref(C,-3) > Ref(C,-4)),5)

I'm using MetaStock 7.0 (end of day). Can someone provide the correct solution?

Thanks
Report TOU ViolationShare This Post
 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext