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 -- Ignore unavailable to you. Want to Upgrade?


To: Bob Anderton who wrote (3309)10/26/1999 8:04:00 PM
From: Michael Olds  Read Replies (1) | Respond to of 4056
 
Bob, I pasted your q over on the Yahoo! Metastock board and got this answer (something I have been working on also):

Something like this might get you a start.

system 1 would have to be something like this
if(fml("sys 1")<90 and ref(fml("sys 1"),-1)>90,1,0)

this will determine if "system 1" is less than 90 and the prior day it was above 90 and sets a variable to 1 if true or 0 if not.

system 2 would be something like this

buy

when(fml("sys1") = 1 and (system 2 says buy))

substitute your formula for (system 2 says buy)

hope this helps for a starter

Larry



To: Bob Anderton who wrote (3309)10/26/1999 9:17:00 PM
From: Paul Beattie  Respond to of 4056
 
Bob,

Try something like this:

Buy:=Cross(Indicator,90);
Sell:=Cross(10,Indicator);
BarsSince(Buy)<BarsSince(Sell)

Cheers,
Paul