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

Notification

Icon
Error

Options
Go to last post Go to first unread
Biff Malibu  
#1 Posted : Friday, January 23, 2009 11:28:45 AM(UTC)
Biff Malibu

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 4/21/2005(UTC)
Posts: 33

I read that Gerald Appel had different settings for his MACD 12,26,9 for buy and I believe 8,17,5 for sell. Well after reading that I thought I'd would try to "optimize" these values using the enhanced system tester. I understand MACD can't be altered in metastock and one has to use the Price Oscillator. I was wondering if someone could please help me with setting up buy and sell formula using the price oscillator crossing it's signal line using OPT1, OPT2, and OPT3 for the 2 exponential moving averages and signal lines similar to MACD. thanks for anyone's help

good luck trading!

Biff

johnl  
#2 Posted : Sunday, January 25, 2009 9:52:38 PM(UTC)
johnl

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 11/7/2005(UTC)
Posts: 602


My system tester has a study called MACD w/ opt. so I am assuming you have it as well.
Copy that one to a new study and play around with it.
You should be able to get what you want from there.


Biff Malibu  
#3 Posted : Monday, January 26, 2009 11:08:43 AM(UTC)
Biff Malibu

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 4/21/2005(UTC)
Posts: 33

ah Yes, my friend, but the only optimization you can do is the number of periods in the signal line (the 9). I would like to test the 12,26 numbers. the price oscillator is similar but I'm too stupid to figure it out. Thanks

oztrader  
#4 Posted : Monday, January 26, 2009 4:31:34 PM(UTC)
oztrader

Rank: Advanced Member

Groups: Registered, Registered Users, Unverified Users
Joined: 7/12/2007(UTC)
Posts: 134
Location: Perth Western Australia

As per the MS manual the MACD is calculated as follows:-

Mov(C,12,E)-Mov(C,26,E); {Displayed as a histogram}

Mov(MACD(),9,E); {Signal Line}

Armed with this info create an new System Test as such:-

{Buy Order Formula}

MACD1:=Mov(C,OPT1,E)-Mov(C,OPT2,E);

MACD1signal:=Mov(MACD1,OPT3,E);

Cross( MACD1, MACD1signal);

{Sell Order Formula}

MACD2:=Mov(C,OPT4,E)-Mov(C,OPT5,E);

MACD2signal:=Mov(MACD2,OPT6,E);

Cross( MACD2signal,MACD2);

Whilst I have not run this thru the System Tester I think it should work okay.

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.