Australian (ASX) Stock Market Forum

Metastock formula

Joined
15 September 2022
Posts
14
Reactions
4
Hi all

Could someone please help me with a formula on metastock to run an exploration?

I would like to search for stocks when lows are trending up. In other words 4 daily bars each low above the prior low.

Thanks for your help!! Much appreciated
 
Filter = L>Ref(L,-1) AND Ref(L,-1) >Ref(L,-2) AND Ref(L,-2) > Ref(L,-3);

That's pseudocode, you should be able to code something similar in Metastock.
 
Hi all

Could someone please help me with a formula on metastock to run an exploration?

I would like to search for stocks when lows are trending up. In other words 4 daily bars each low above the prior low.

Thanks for your help!! Much appreciated
An alternative to that posted by @Joe90 is as follows:-

a:=L>Ref(L,-1);
4HigherLows:=Sum(a,4)=4;
{Plot}
4HigherLows

Cheers, Rob
 
Top