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

Notification

Icon
Error

Options
Go to last post Go to first unread
maeday  
#1 Posted : Sunday, May 1, 2016 7:22:08 AM(UTC)
maeday

Rank: Member

Groups: Registered, Registered Users, Subscribers, Unverified Users
Joined: 2/21/2009(UTC)
Posts: 22

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

In his book The Business of Share trading, Leon Wilson says he converts the MACD into a percentage indicator so that it is the percentage of separation that is displayed on the RHS rather than the actual dollar values between the 2 moving averages. He says this form is available in Bull Charts. Can anyone tell me how this might be done?

MS Support  
#2 Posted : Monday, May 2, 2016 10:22:58 PM(UTC)
MS Support

Rank: Advanced Member

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

Thanks: 85 times
Was thanked: 155 time(s) in 150 post(s)
There are a couple solutions for this. You can create a custom indicator using the long-form of MACD, per the example below: {Percent MACD} X:=Input("1st MOV:",1,999,12); Y:=Input("2nd MOV:",1,999,26); ((Mov(C,X,E) - Mov(C,Y,E)) / Mov(C,Y,E)) * 100 Alternately, you can use the "Price Oscillator" that is already built-in to MetaStock. Simply change the values to the desired "Short-term" (i.e. 12), "Long-term" (i.e. 26), and "Method" (i.e. Exponential).
mstt  
#3 Posted : Thursday, May 5, 2016 2:24:43 AM(UTC)
mstt

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 7/25/2005(UTC)
Posts: 1,042

Was thanked: 57 time(s) in 54 post(s)
The MetaStock MACD function uses EMA periods of close enough to 12.3333 and 25.6667. However, the exponential Mov() function is restricted to whole numbers, and using two EMAs to replicate the MACD() function will give results that are a little off. It's not really a problem but one should be aware that there will be small differences between an actual MACD and a simulated MACD. One fix for this is to use the EMA function of the MSTT DLL as shown below. The 5th and 6th decimal places in the Input() functions are overkill as eliminating those numbers makes very little difference. {Percent MACD} X:=Input("1st MOV:",1,999,12.333333); Y:=Input("2nd MOV:",1,999,25.666666); ((ExtFml("MSTT.EMA",C,X)- ExtFml("MSTT.EMA",C,Y))/ ExtFml("MSTT.EMA",C,Y))*100; Roy
thanks 1 user thanked mstt for this useful post.
MS Support on 5/5/2016(UTC)
maeday  
#4 Posted : Friday, May 6, 2016 7:15:27 AM(UTC)
maeday

Rank: Member

Groups: Registered, Registered Users, Subscribers, Unverified Users
Joined: 2/21/2009(UTC)
Posts: 22

Was thanked: 1 time(s) in 1 post(s)
Thanks for that Roy, I get the point you are making but I don't think the differences involved are of any real value to me. I couldn't try your suggested improvement because I don't currently have access to the MSTT forum, in fact I wasn't aware of its existence but I'll certainly be having a good look at the site over the next few days.
mstt  
#5 Posted : Friday, May 6, 2016 8:35:12 AM(UTC)
mstt

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 7/25/2005(UTC)
Posts: 1,042

Was thanked: 57 time(s) in 54 post(s)
Hi maeday No worries about the DLL - email me at rlarsen@quik.co.nz and I'll tell you how you can access it. I agree that the differences are very small but sometimes there are situations when "near enough" is just not good enough. Roy
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.