Rank: Newbie
Groups: Registered, Registered Users Joined: 4/2/2010(UTC) Posts: 2
|
Hi. Can anybody tell me the price is exactly between the 100 and 200 day moving average. (AND)
the price is exactly between the 100 and 200 day moving average for last 5 trading days 5.
Thanks in advance for your efforts.
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers, Unverified Users Joined: 10/28/2004(UTC) Posts: 3,111 Location: Perth, Western Australia
Was thanked: 16 time(s) in 16 post(s)
|
[moved from hamming thread -- hijack]
Please read the MS Users Manual and/or the free Equis Formula Primer and/or the multitude of posts on the forum about how to code this for yourself. You will need the If() and Sum() functions.
wabbit [:D]
|
|
|
|
Rank: Newbie
Groups: Registered, Registered Users Joined: 4/2/2010(UTC) Posts: 2
|
Hi Wabbit, I am poor in writing the code. Can you pl post your valuable code here. Thanks in Advance.
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users Joined: 11/7/2005(UTC) Posts: 602
|
The code should look something like:
a1:=Mov(C,100,S); a2:=Mov(C,200,S); a3:=(C>a1)*(C<a2); a4:=Sum(a3,5)>4; a4
You can play around with it from here.
|
|
|
|
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.