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

Notification

Icon
Error

Options
Go to last post Go to first unread
Pcons  
#1 Posted : Monday, November 26, 2007 10:20:16 AM(UTC)
Pcons

Rank: Newbie

Groups: Registered, Registered Users
Joined: 11/23/2007(UTC)
Posts: 9

Hi,

as far as I know the parameters for the MACD Indicator in MetaStock Pro can not be changed, so I have to program it myself. And that's where I have this question:

I did like:

Mov(Mov( CLOSE, 7, E) - Mov( CLOSE, 21, E),9,E) for the Signal line and

(Mov( CLOSE, 7, E) - Mov( CLOSE, 21, E)) for the MACD itfself.

But how can I put this in one custom Indicator, so that I can pull this indicator in my charts?

uasish  
#2 Posted : Monday, November 26, 2007 10:34:46 AM(UTC)
uasish

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 8/13/2005(UTC)
Posts: 170

Thanks: 7 times

Pcons;

..............................................................................8...................

a:= (Mov( CLOSE, 7, E) - Mov( CLOSE, 21, E)) ;
b:= Mov(Mov( CLOSE, 7, E) - Mov( CLOSE, 21, E),9,E);
a;
b;

......................................................8............................

Asish

Pcons  
#3 Posted : Monday, November 26, 2007 10:45:27 AM(UTC)
Pcons

Rank: Newbie

Groups: Registered, Registered Users
Joined: 11/23/2007(UTC)
Posts: 9

just figured it out, many thx.
Dave2ta  
#4 Posted : Friday, March 7, 2008 1:53:15 PM(UTC)
Dave2ta

Rank: Newbie

Groups: Registered, Registered Users
Joined: 3/7/2008(UTC)
Posts: 1

Try this:

( Mov( C,7,E ) - Mov( C,21,E ) ) - Mov( ( Mov( C,7,E ) - Mov( C,21,E ) ),9,E )

Dave E.

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.