logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
neocon  
#1 Posted : Tuesday, December 30, 2008 9:02:54 AM(UTC)
neocon

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,

joetrade69  
#2 Posted : Tuesday, December 30, 2008 2:26:41 PM(UTC)
joetrade69

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.
oztrader  
#3 Posted : Tuesday, December 30, 2008 4:50:02 PM(UTC)
oztrader

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.