Rank: Member
Groups: Registered, Registered Users, Subscribers Joined: 3/18/2006(UTC) Posts: 10
|
Hi All, I am trying to write an exploration searching for all stocks with the Aroon Up >70 for one period (day). I am not having much luck, here is how I am writing the formula Aroon Up (1) >=70. Can someone please straighten me out here? Also, I have an exploration that includes criteria from three different indicators. The only operator I know to use is And. For example; indicator1 and indicator2 and indicator3. Even though this works I would like to know if there is a better way. Thank you,
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 7/25/2005(UTC) Posts: 1,042
Was thanked: 57 time(s) in 54 post(s)
|
Candlestix
A 1-period Aroon Up is invalid. Aroon should be applied to two or more periods.
AroonUp(10)>=70 AND Ref(AroonUp(10),-1)<70;
or you could write it this way
AroonUp(10)>=70 AND Ref(AroonUp(10)<70,-1);
or this way
AroonUp(10)>=70 AND Valuewhen(2,1,AroonUp(10)<70);
Since 70 is a constant it doesn't matter whether you look at its value yesterday or today.
Cross(AroonUp(10),69.9) should give the same result but with AroonUp(10), as in my example, a threshold of 70 will not.
Roy
MetaStock Tips & Tools
Roy
|
|
|
|
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.