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

Notification

Icon
Error

Options
Go to last post Go to first unread
KTP2  
#1 Posted : Tuesday, November 11, 2008 4:39:41 PM(UTC)
KTP2

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 2/2/2007(UTC)
Posts: 367

Was thanked: 1 time(s) in 1 post(s)

The "MACD of Relative Strength" can easily be created in MetaStock 6.5 or higher. In MetaStock select "Indicator Builder" from the "Tools" menu. In the Indicator Builder click "New" and enter the following formula:

Name: MACD of Relative Strength

Q:=Input("Relative Strength Time Periods",3,100,14);
z:=Wilders(If(ROC(C,1,$)>0,ROC(C,1,$),0),LastValue(Q));
y:=Wilders(If(ROC(C,1,$)<0,Abs(ROC(C,1,$)),0),LastValue(Q));
ZY:=Z/Y;
RS:=100-(100/(1+ZY));
RSMACD:=Mov(RS,12,E)-Mov(RS,25,E);
Signal:=Mov(RSMACD,9,E);
RSMACD;
Signal

Next click "Ok" and "Close" out of the Indicator Builder. Open a chart and plot the new formula by dragging it from the Indicator QuickList or by using "Indicators" from the "Insert" menu. Both the MACD line and the Signal line will be plotted.

If you prefer to view the RS MACD line in a histogram style, in MetaStock 7.0 select the RS MACD line and use the "Style" toolbar to change it to the histogram style. In MetaStock 6.5 plot the following formula:

Name: MACD of Relative Strength

Q:=Input("Relative Strength Time Periods",3,100,14);
z:=Wilders(If(ROC(C,1,$)>0,ROC(C,1,$),0),LastValue(Q));
y:=Wilders(If(ROC(C,1,$)<0,Abs(ROC(C,1,$)),0),LastValue(Q));
ZY:=Z/Y;
RS:=100-(100/(1+ZY));
RSMACD:=Mov(RS,12,E)-Mov(RS,25,E);
RSMACD;

Next select the RS MACD line and use the "Style" toolbar to change it to the histogram style. To plot the Signal line, drag "Moving Average" from the Indicator QuickList, and drop it on top of the RS MACD line. When the moving average is placed on top of the RS MACD line, the RS MACD line will change color and the status bar will say "Calc Moving Average using MACD of Relative Strength" to signify that the RS MACD will be used to calculate the moving average. Select 9 for the "Time Periods" and Exponential for the "Method", then click OK.

Users browsing this topic
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.