Rank: Newbie
Groups: Registered, Registered Users Joined: 12/30/2008(UTC) Posts: 8
|
hi,
I need a metastock exp. adv. formula for the conditions below.
BUY:
dema 10 close > Mov.Avg. simple 10 close
SELL:
dema 10 close < Mov.Avg. simple 10 close
thanks,
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Unverified Users Joined: 10/28/2004(UTC) Posts: 121
|
{Buy} Dema(C,10) > Mov(C,10,S)
{SELL} Dema(C,10) < Mov(C,10,S)
I hope it helps.
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Unverified Users Joined: 7/12/2007(UTC) Posts: 134 Location: Perth Western Australia
|
An alternative to the above code would be:-
{Buy} Cross(Dema(C,10), Mov(C,10,S))
{SELL} Cross(Mov(C,10,S),Dema(C,10))
This code will only generate a signal on the bar when the event happens.
Cheers,
oz
|
|
|
|
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.