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

Notification

Icon
Error

Options
Go to last post Go to first unread
Sylar Trader  
#1 Posted : Friday, January 27, 2012 2:08:27 AM(UTC)
Sylar Trader

Rank: Newbie

Groups: Registered, Registered Users
Joined: 1/24/2012(UTC)
Posts: 4

Is it possible to write an explorer to detect the last occasion 2 converging moving averages crossed each other? say Wilders(15) and a SMA60 in 60min TF. ValueWhen(1,cross(Wilders(C,15),Mov(C,60,S)),C) is this correct? I would assume that this would tell me when the cross had occurred...but how about a way to detect 2 converging averages that has the potential to intersect?
wabbit  
#2 Posted : Friday, January 27, 2012 2:34:03 AM(UTC)
wabbit

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)
You'll need to identify ALL of the conditions which would lead the two indicators to cross, starting with:

Code:

ind1<ind2 AND roc(ind1,1,%)>roc(ind2,1,%)



wabbit [:D]

henry1224  
#3 Posted : Friday, January 27, 2012 5:40:55 AM(UTC)
henry1224

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 10/29/2004(UTC)
Posts: 1,394
Location: Glastonbury, CT

Was thanked: 2 time(s) in 2 post(s)
The MACD indicator is the spread between 2 MA's and a signal line of the spread. When the spread crosses above 0, the faster MA is Greater than the slower MA
henry1224  
#4 Posted : Friday, January 27, 2012 5:52:18 AM(UTC)
henry1224

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 10/29/2004(UTC)
Posts: 1,394
Location: Glastonbury, CT

Was thanked: 2 time(s) in 2 post(s)
Have a look at the MACD indicator

Moving Average Convergence Divergence

In the help files of metastock, lookup MACD under indicators
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.