Rank: Newbie
Groups: Registered, Registered Users, Subscribers Joined: 6/1/2013(UTC) Posts: 9
|
All
Need some assistance. I want to create a binary indicator of the times when WillA() is above its 57day Moving average(ie Mov(WillA(),57,S)).
Looking at the AAPL (not a recomandation!) The value WillA() can reach 300 plus or go down to -50.
The indicator I have built is below. However the results are not accurate. I have tried not using the Abs but the same issue.
Help please!
WillMA:= Abs(Mov(WillA(),57,S)); ydayWill:= Ref(WillA(),-1); AbsWill:= Abs(WillA()); If(AbsWill >= WillMA AND ydayWill >= WillMA, 1,0)
|
|
|
|
Users browsing this topic |
Guest (Hidden)
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.