Rank: Member
Groups: Registered, Registered Users Joined: 10/28/2004(UTC) Posts: 16
|
Folks:
I'm having some difficulty getting my head around how MS references data. Suppose I want to create an axpert that has a buy and sell symbol in it. The condition for a buy would be:
(todays close is higher than yesterdays and yesterdays is higher than the day before) AND (EMA 1 is higher than EMA 2 and EMA 2 is higher than EMA 3)
What I don't comprehend is how is a data bar referenced? It's probably so simple I'll kick myself for asking....
-- Keith
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 9/8/2004(UTC) Posts: 2,266
Was thanked: 1 time(s) in 1 post(s)
|
(todays close is higher than yesterdays and yesterdays is higher than the day before) AND (EMA 1 is higher than EMA 2 and EMA 2 is higher than EMA 3)
C>Ref(C,-1) and Ref(C,-1)>Ref(C,-2) and EMA1>EMA2 and EMA2>EMA3
Hope this helps.
Patrick
PS : Moving it to formula section
|
|
|
|
Rank: Member
Groups: Registered, Registered Users Joined: 10/28/2004(UTC) Posts: 16
|
Patrick:
Thanks for the help. That clears it up.
-- Keith
|
|
|
|
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.