metastock coding assistance required

Herlequin

Newbie
Messages
9
Likes
0
Hi guys,
Could really use your help on some Metastock coding.

I want to know when the Intraday Momentum Index indicator in Metastock has turned up. Ie I want to find all stocks where the indicator value for this indicator has turned up.

and

A serach to find when the Parabolic SAR indicator has generated a long entry signal.

thanks in advance.
 
Hi Herlequin,

If you copy and paste the code into a new exploration under the filter tab and then run an exploration you can see if the results are what you want.

IMIperiods:=14;
IMI0:=IMI(imiperiods)>Ref(IMI(imiperiods),-1);
IMI1:=Ref(IMI(imiperiods),-1)=
LLV(IMI(imiperiods),2);
IMIupturn:=IMI0 AND IMI1;
IMIupturn AND Cross(C,SAR(0.02,0.2))

I have used the default values for both indicators and based the long entry signal on when the SAR crosses below the close.

Good hunting!
 
hmm isn't giving the results i'm after :( This does show where the IMI has turned up from a pivot low?

This is the type of result i am looking for.

imi.gif
 
Hi Herlequin,

I would suggest that you have a look at your Private Messages when you next login.(y)

If you haven't used these before then the next time you check in, if you are not directed to view your PM's, you will see Your Notifications: just under where it says Welcome, Herlequin. and you click on the number to the left of the small triangle.

Looking forward to some feedback.:?:

Cheers,
Rob
 
Top