Hi Guys,
I am a new member to this forum and have been browing it since couple of weeks which has helped me a lot in terms of getting started with my metastock. Glad to see the support provided by all of you. Regarding my question I am trying to run an exploration query which can show results for close at (C,-1) has closed below it's 10 days weighted MA AND Yesterday's Close (C) has closed above the 10 days weighted MA.
The formula I was been given by Metastock Support team was
ref(C,-1)<Mov(C,10,W) AND C>Mov(C,10,W) --- which did not work as the close of (C,-1) is comparing it's value with Yesterday's MA not with it's value from two days ago. So I tried modyfying to:
Ref(C,-1)< Ref(Mov(C,10,W),-1) AND C>Mov(C,10,W)
which I though is right by looking at few other formula templates although this particular formula isn't working either -- infact when the run the explorer its not rejecting any securities..
Can anyone please help me with this?
Regards,
Sam
I am a new member to this forum and have been browing it since couple of weeks which has helped me a lot in terms of getting started with my metastock. Glad to see the support provided by all of you. Regarding my question I am trying to run an exploration query which can show results for close at (C,-1) has closed below it's 10 days weighted MA AND Yesterday's Close (C) has closed above the 10 days weighted MA.
The formula I was been given by Metastock Support team was
ref(C,-1)<Mov(C,10,W) AND C>Mov(C,10,W) --- which did not work as the close of (C,-1) is comparing it's value with Yesterday's MA not with it's value from two days ago. So I tried modyfying to:
Ref(C,-1)< Ref(Mov(C,10,W),-1) AND C>Mov(C,10,W)
which I though is right by looking at few other formula templates although this particular formula isn't working either -- infact when the run the explorer its not rejecting any securities..
Can anyone please help me with this?
Regards,
Sam