Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 1/22/2011(UTC) Posts: 34
Thanks: 1 times Was thanked: 1 time(s) in 1 post(s)
|
Hi Guys,
I need some help find a more efficient way to code the following formula. I'm very new to Metastock, so this is pretty botch and I'm sure it will make a few pros eyes hurt when they see this. For that i apologize.
I basically would like an exploration to scan for stocks that are trading above a 34 Day Exponential Moving Average for no less than 10 days.
Here is what i have came up with LOL.
C>Mov(C,34,E) AND C>(Ref(Mov(C,34,E),-10)) AND C>(Ref(Mov(C,34,E),-9)) AND C>(Ref(Mov(C,34,E),-8)) AND C>(Ref(Mov(C,34,E),-7)) AND C>(Ref(Mov(C,34,E),-6)) AND C>(Ref(Mov(C,34,E),-5)) AND C>(Ref(Mov(C,34,E),-4)) AND C>(Ref(Mov(C,34,E),-3)) AND C>(Ref(Mov(C,34,E),-2)) AND C>(Ref(Mov(C,34,E),-1))
|