Guppy Multiple moving average and MMACD

If you need an Indicator or Signal developed or translated from other language, please post all Indicator development REQUESTS to this section here.

Moderator: admin

Guppy Multiple moving average and MMACD

Postby Aarnog » Thu Feb 25, 2010 10:17 pm

So, I have a couple more requests. I'm browsing the Babypips forum, and I see Tymen has a new method for trend trading in the works- it looks like it could be more profitable than my standard trend line fare, so I figure I'll give it a try. Only problem is, it uses 2 indicators I don't have.

I tried to edit the existing code for Marketscope 2.0, but I just created an abomination, so I figured I should ask people who know what they're doing.

So, I'd really appreciate 2 indicators. One, is a Guppy's Multiple Moving Average (GMMA). It consist of:

6 blue [short] EMA's - 3, 5, 8, 10, 12, 15 periods apiece.
6 Red [long] EMA's - 30, 35, 40, 45, 50, 60 apiece.

That's all. I figure it should be relatively simple to do.

The next one, is an edited MACD, called the MMACD (creative). I have the CTL code for it, which is as follows:
indicator A_mmacd_only ;

draw zeroline("zeroline", solid_line, dark_magenta,2),
mmacd("MMACD", solid_line, blue,2);

vars shortav(series), longav(series);

begin
zeroline := makeseries (front(close), back(close), 0);
shortav := ema(close,3)+ ema(close,5)+ ema(close,8)+ ema(close,10)+ ema(close,12)+ ema(close,15);
longav := ema(close,30)+ ema(close,35)+ ema(close,40)+ ema(close,45)+ ema(close,50)+ ema(close,60);
mmacd := ((shortav-longav)/longav)*100;
end.

Which is basically an average of the closes of the candles (the long and short emas), with an average line in the middle.

Any help I could get with this would be greatly appreciated.
Aarnog
FXCodeBase: Confirmed User
 
Posts: 7
Joined: Tue Dec 08, 2009 6:31 pm

Re: Guppy Multiple moving average and MMACD

Postby Nikolay.Gekht » Fri Feb 26, 2010 4:57 pm

There is very simple indicators. Let's me use them as an example on how to the simple indicator can be developed. :-)
GMMA: viewtopic.php?f=28&t=411
Nikolay.Gekht
FXCodeBase: Site Admin
 
Posts: 1235
Joined: Wed Dec 16, 2009 6:39 pm
Location: Cary, NC

Re: Guppy Multiple moving average and MMACD

Postby Nikolay.Gekht » Fri Feb 26, 2010 7:49 pm

I put both indicators to custom indicators and will prepare a lesson for the second indicator shortly.
Nikolay.Gekht
FXCodeBase: Site Admin
 
Posts: 1235
Joined: Wed Dec 16, 2009 6:39 pm
Location: Cary, NC

Re: Guppy Multiple moving average and MMACD

Postby Aarnog » Sat Feb 27, 2010 10:43 pm

That's amazing, you're amazing. Thank you!
Aarnog
FXCodeBase: Confirmed User
 
Posts: 7
Joined: Tue Dec 08, 2009 6:31 pm


Return to Indicator and Signal Requests

Who is online

Users browsing this forum: No registered users and 19 guests