Register
Welcome to Forex-TSD! , one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.
From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.
Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
Elite Section
Get access to private discussions, specialized support, indicators and trading systems reported every week.
Advanced Elite Section
For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
See more
11-09-2008, 11:38 AM
Senior Member
Join Date: Mar 2006
Posts: 297
explain the MMA oscillator
mladen,Thank you for your indicator
could you or someone explain the indicator
is this an average of the guppy ma or what is it calculating
thank you
Quote:
Originally Posted by
mladen
This one logically belongs here
Guppy MMA oscillator
11-09-2008, 11:52 AM
Senior Member
Join Date: Oct 2006
Posts: 1,270
...
Attached a document from guppytraders
Pages 17-19 are about Guppy MMA oscillator (the rest of the document is worth reading too
)
regards
mladen
Quote:
Originally Posted by
toddanderson
mladen,Thank you for your indicator
could you or someone explain the indicator
is this an average of the guppy ma or what is it calculating
thank you
11-09-2008, 04:42 PM
Senior Member
Join Date: Jan 2007
Location: not so remote
Posts: 3,272
thank you Mladen
03-03-2009, 03:03 AM
Senior Member
Join Date: Dec 2008
Location: San Diego, CA
Posts: 357
Guppy Bars!
repost later. Did not see delete post selection??
Last edited by generousforex; 03-03-2009 at 03:07 AM .
09-07-2009, 05:39 AM
Junior Member
Join Date: Mar 2009
Posts: 10
Name:- Guppy MMA Oscillator
Formula:-
((Mov(CLOSE,3,E)+Mov(CLOSE,5,E)+
Mov(CLOSE,8,E)+Mov(CLOSE,10,E)+
Mov(CLOSE,12,E)+Mov(CLOSE,15,E))-
(Mov(CLOSE,30,E)+Mov(CLOSE,35,E)+
Mov(CLOSE,40,E)+Mov(CLOSE,45,E)+
Mov(CLOSE,50,E)+Mov(CLOSE,60,E)))*10;
(Mov((Mov(CLOSE,3,E)+Mov(CLOSE,5,E)+
Mov(CLOSE,8,E)+Mov(CLOSE,10,E)+
Mov(CLOSE,12,E)+Mov(CLOSE,15,E))-
(Mov(CLOSE,30,E)+Mov(CLOSE,35,E)+
Mov(CLOSE,40,E)+Mov(CLOSE,45,E)+
Mov(CLOSE,50,E)+Mov(CLOSE,60,E)),13,E))*10;0;
MS formula can be changed to do MT4.
Thanks
09-07-2009, 05:55 AM
Senior Member
Join Date: Oct 2006
Posts: 1,270
...
Post #17 of this thread (this one :
Guppy Multiple Moving Average )
Quote:
Originally Posted by
Kreangast
Name:- Guppy MMA Oscillator
Formula:-
((Mov(CLOSE,3,E)+Mov(CLOSE,5,E)+
Mov(CLOSE,8,E)+Mov(CLOSE,10,E)+
Mov(CLOSE,12,E)+Mov(CLOSE,15,E))-
(Mov(CLOSE,30,E)+Mov(CLOSE,35,E)+
Mov(CLOSE,40,E)+Mov(CLOSE,45,E)+
Mov(CLOSE,50,E)+Mov(CLOSE,60,E)))*10;
(Mov((Mov(CLOSE,3,E)+Mov(CLOSE,5,E)+
Mov(CLOSE,8,E)+Mov(CLOSE,10,E)+
Mov(CLOSE,12,E)+Mov(CLOSE,15,E))-
(Mov(CLOSE,30,E)+Mov(CLOSE,35,E)+
Mov(CLOSE,40,E)+Mov(CLOSE,45,E)+
Mov(CLOSE,50,E)+Mov(CLOSE,60,E)),13,E))*10;0;
MS formula can be changed to do MT4.
Thanks
09-07-2009, 03:52 PM
Junior Member
Join Date: Mar 2009
Posts: 10
Bullish:
Value1=(Mov(CLOSE,3,E)+Mov(CLOSE,5,E)+Mov(CLOSE,8, E)
+Mov(CLOSE,10,E)+Mov(CLOSE,12,E)+Mov(CLOSE,15,E));
Value2=(Mov(CLOSE,30,E)+Mov(CLOSE,35,E)+Mov(CLOSE, 40,E)
+Mov(CLOSE,45,E)+Mov(CLOSE,50,E)+Mov(CLOSE,60,E));
Value1-Value2>=0
Bearish:
Value1=(Mov(CLOSE,3,E)+Mov(CLOSE,5,E)+Mov(CLOSE,8, E)
+Mov(CLOSE,10,E)+Mov(CLOSE,12,E)+Mov(CLOSE,15,E));
Value2=(Mov(CLOSE,30,E)+Mov(CLOSE,35,E)+Mov(CLOSE, 40,E)
+Mov(CLOSE,45,E)+Mov(CLOSE,50,E)+Mov(CLOSE,60,E));
Value1-Value2<0
This MS formula to MT4.
Thanks
09-07-2009, 03:55 PM
Junior Member
Join Date: Mar 2009
Posts: 10
Hi mladen
Thank Tips
09-07-2009, 04:31 PM
Senior Member
Join Date: Oct 2006
Posts: 1,270
These formulas translate to (will refer to it as oscillator
GMMA value (lime green in the GMMA oscillator from that post)) this (the == 0 left out, lets call that case a neutral trend) :
GMMA value > 0 -> bullish
GMMA value < 0 -> bearish
That is what the
<30 condition does in metatrader code within the sub-loop:
PHP Code:
for( int j = 0 ; j < persize ; j ++) { if ( periods [ j ]< 30 ) sum += iMA ( NULL , 0 , periods [ j ], 0 , MODE_EMA , Price , i ); else sum -= iMA ( NULL , 0 , periods [ j ], 0 , MODE_EMA , Price , i ); }
regards
mladen
Quote:
Originally Posted by
Kreangast
Bullish:
Value1=(Mov(CLOSE,3,E)+Mov(CLOSE,5,E)+Mov(CLOSE,8, E)
+Mov(CLOSE,10,E)+Mov(CLOSE,12,E)+Mov(CLOSE,15,E));
Value2=(Mov(CLOSE,30,E)+Mov(CLOSE,35,E)+Mov(CLOSE, 40,E)
+Mov(CLOSE,45,E)+Mov(CLOSE,50,E)+Mov(CLOSE,60,E));
Value1-Value2>=0
Bearish:
Value1=(Mov(CLOSE,3,E)+Mov(CLOSE,5,E)+Mov(CLOSE,8, E)
+Mov(CLOSE,10,E)+Mov(CLOSE,12,E)+Mov(CLOSE,15,E));
Value2=(Mov(CLOSE,30,E)+Mov(CLOSE,35,E)+Mov(CLOSE, 40,E)
+Mov(CLOSE,45,E)+Mov(CLOSE,50,E)+Mov(CLOSE,60,E));
Value1-Value2<0
This MS formula to MT4.
Thanks
Last edited by mladen; 09-07-2009 at 04:33 PM .
09-07-2009, 04:56 PM
Junior Member
Join Date: Mar 2009
Posts: 10
#property copyright "mladen"
#property link "mladenfx@gmail.com"
#property indicator_separate_window
#property indicator_buffers 2
#property indicator_color1 LimeGreen
#property indicator_color2 Red
#property indicator_level1 0
#property indicator_levelcolor DarkSlateGray
extern int Price = PRICE_CLOSE;
extern int SignalPeriod = 13;
double buffer1[];
double buffer2[];
double periods[]={3,5,8,10,12,15,30,35,40,45,50,60};
int persize;
int init()
{
SetIndexBuffer(0,buffer1);
SetIndexBuffer(1,buffer2);
persize =ArraySize(periods);
return(0);
}
int deinit() { return(0); }
int start()
{
double alpha = 2.0/(1.0+SignalPeriod);
int counted_bars=IndicatorCounted();
int i,limit;
if(counted_bars<0) return(-1);
if(counted_bars>0) counted_bars--;
limit = Bars-counted_bars;
for(i=limit; i>=0; i--)
{
double sum = 0;
for(int j=0; j<persize; j++)
{
if (periods[j]<30)
sum += iMA(NULL,0,periods[j],0,MODE_EMA,Price,i);
else sum -= iMA(NULL,0,periods[j],0,MODE_EMA,Price,i);
}
buffer1[i] = sum*10.0;
buffer2[i] = buffer2[i+1]+alpha*(buffer1[i]-buffer2[i+1]);
}
return(0);
}
Hi mladen
Please write the code.
thanks
Tags
gmma mq4 , GMMA Sashken , guppy , guppy ea , guppy indicator , guppy mma , guppy mma oscillator , guppy mq4 , Guppy MT4 , guppy mt4 indicator , guppy multiple moving average , guppy multiple moving averages , moving averages , mt4 guppy , multiple moving average , td diff indicator
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes
Linear Mode
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
All times are GMT. The time now is 09:47 AM .