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: Bob Jagow who wrote (3082)5/26/1999 12:28:00 AM
From: mikeman  Read Replies (1) of 4056
 
Bob, I've been trying to write a system test using a 3-period EMA crossover of the forecast oscillator(c,21) as a trigger for entries and exits. I've written the following:

Enter long:
Cross(ForecastOsc(C,21),Mov(C,3,E)>0 +
Ref(Cross(ForecastOsc(C,21),Mov(C,3,E)),-1))<0

What I'm trying to say is BUY when the forecast oscillator crosses the moving average and the oscillator is crossing up through zero.

Exit long:
Cross(Mov(C,3,E),ForecastOsc(C,21)<6 +
Ref(Cross(Mov(C,3,E),ForecastOsc(C,21)),-1))>6

What I'm trying to say here is SELL when the moving average crosses the forecast oscillator and the oscillator is crossing down through 6.

When I run this system test the reports yield zeros across the board.

Would really appreciate help from the grand codemaster.

Thanks,
Codeless Mike




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