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

Notification

Icon
Error

Options
Go to last post Go to first unread
MS Support  
#1 Posted : Thursday, February 7, 2013 11:55:58 AM(UTC)
MS Support

Rank: Advanced Member

Groups: Moderators, Registered, Registered Users, Subscribers
Joined: 10/8/2010(UTC)
Posts: 1,960

Thanks: 92 times
Was thanked: 155 time(s) in 150 post(s)
BC Low’s article, “Identify the Start of a Trend with DMI,” Presented several patterns to signal the beginning and ending of trends. Below are the MetaStock formulas for those signals. These are binary formulas that will have a value of zero normally and the value of 1 (one) when the signal is found. They can be used in any of the formula tools. The steps to enter them an exploration are listed below:

To create an Exploration:

1. Select Tools > the Explorer.
2. Click New
3. Enter a name for the exploration
4. Select the Filter tab and enter the formula
5. Click OK to close the exploration editor.

The formulas are:

ADX clusters

Formula for the start of move
:

a1:= ADX(3);
a2:= ADX(4);
a3:= ADX(5);
a1 = a2 AND a1 = a3 AND a1 < 30


Formula for the end of a move:

a1:= ADX(3);
a2:= ADX(4);
a3:= ADX(5);
70 < min(a1, min(a2, a3)) AND
cross(0, roc(a1,1,$)) AND
cross(0, roc(a2,1,$)) AND
cross(0, roc(a3,1,$))


+DI clusters

Formula for a market bottom:


p1:= PDI(5);
p2:= PDI(8);
p3:= PDI(14);
mark:= 10 > Max(p1, Max(p2, p3)) AND
5 > Min(p1, Min(p2, p3));
Ref(mark,-1) AND ROC(p1,1,$)>0 AND
ROC(p2,1,$)>0 AND ROC(p3,1,$)>0


Formula for a strong buy:

a1:= ADX(3);
a2:= ADX(4);
a3:= ADX(5);
p1:= PDI(5);
p2:= PDI(8);
p3:= PDI(14);
mark:= 10 > Max(p1, Max(p2, p3)) AND
5 > Min(p1, Min(p2, p3));
70 < min(a1, min(a2, a3)) AND
90 < max(a1, max(a2, a3)) AND
cross(0, roc(a1,1,$)) AND
cross(0, roc(a2,1,$)) AND
cross(0, roc(a3,1,$)) AND
Ref(mark,-1) AND ROC(p1,1,$)>0 AND
ROC(p2,1,$)>0 AND ROC(p3,1,$)>0


-DI clusters:

Formula for a market top:


m1:= PDI(5);
m2:= PDI(8);
m3:= PDI(14);
mark:= 10 > Max(m1, Max(m2, m3)) AND
5 > Min(m1, Min(m2, m3));
Ref(mark,-1) AND ROC(m1,1,$)>0 AND
ROC(m2,1,$)>0 AND ROC(m3,1,$)>0


Formula for a strong sell:

a1:= ADX(3);
a2:= ADX(4);
a3:= ADX(5);
m1:= PDI(5);
m2:= PDI(8);
m3:= PDI(14);
mark:= 10 > Max(m1, Max(m2, m3)) AND
5 > Min(m1, Min(m2, m3));
70 < min(a1, min(a2, a3)) AND
90 < max(a1, max(a2, a3)) AND
cross(0, roc(a1,1,$)) AND
cross(0, roc(a2,1,$)) AND
cross(0, roc(a3,1,$)) AND
Ref(mark,-1) AND ROC(m1,1,$)>0 AND
ROC(m2,1,$)>0 AND ROC(m3,1,$)>0
Sanibel  
#2 Posted : Saturday, May 3, 2014 9:25:29 PM(UTC)
Sanibel

Rank: Newbie

Groups: Registered, Registered Users, Unverified Users
Joined: 5/4/2014(UTC)
Posts: 2

This is excellent work. I have yet to see anyone else develop these formulas.

Since I am new to writing explorations, I would like to ask if the formulas above would result in 4 separate explorations or are some of them combined? Are the market formulas only for the S&P500? Thank you.
Laisze  
#3 Posted : Sunday, May 4, 2014 3:37:19 AM(UTC)
Laisze

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 11/18/2007(UTC)
Posts: 96
Location: HK


Hmm... I wonder why you "have yet to see anyone else develop these formulas", Sanibel...

Could it be because "Formula for a strong buy" and "Formula for a strong sell" both give exactly the same signals? That is, if you can find any of these rare signals on a chart...
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.