Forex



Go Back   Forex Trading > Downloads > Indicators - Metatrader 4
Forex Forum Register More recent Blogs Calendar Advertising Others Help






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

Reply
 
Thread Tools Display Modes
  #21 (permalink)  
Old 11-09-2008, 11:38 AM
Senior Member
 
Join Date: Mar 2006
Posts: 297
toddanderson is on a distinguished road
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 View Post
This one logically belongs here
Guppy MMA oscillator
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #22 (permalink)  
Old 11-09-2008, 11:52 AM
mladen's Avatar
Senior Member
 
Join Date: Oct 2006
Posts: 1,270
mladen is on a distinguished road
...

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 View Post
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
Attached Files
File Type: pdf for guppy mma oscillator.pdf (591.5 KB, 606 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #23 (permalink)  
Old 11-09-2008, 04:42 PM
Senior Member
 
Join Date: Jan 2007
Location: not so remote
Posts: 3,272
fxbs is on a distinguished road
thank you Mladen
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #24 (permalink)  
Old 03-03-2009, 03:03 AM
Senior Member
 
Join Date: Dec 2008
Location: San Diego, CA
Posts: 357
generousforex is on a distinguished road
Guppy Bars!

repost later. Did not see delete post selection??

Last edited by generousforex; 03-03-2009 at 03:07 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #25 (permalink)  
Old 09-07-2009, 05:39 AM
Junior Member
 
Join Date: Mar 2009
Posts: 10
Kreangast is on a distinguished road
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #26 (permalink)  
Old 09-07-2009, 05:55 AM
mladen's Avatar
Senior Member
 
Join Date: Oct 2006
Posts: 1,270
mladen is on a distinguished road
...

Post #17 of this thread (this one : Guppy Multiple Moving Average)
Quote:
Originally Posted by Kreangast View Post
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #27 (permalink)  
Old 09-07-2009, 03:52 PM
Junior Member
 
Join Date: Mar 2009
Posts: 10
Kreangast is on a distinguished road
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #28 (permalink)  
Old 09-07-2009, 03:55 PM
Junior Member
 
Join Date: Mar 2009
Posts: 10
Kreangast is on a distinguished road
Hi mladen

Thank Tips
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #29 (permalink)  
Old 09-07-2009, 04:31 PM
mladen's Avatar
Senior Member
 
Join Date: Oct 2006
Posts: 1,270
mladen is on a distinguished road
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=0j<persizej++)
      {
         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 View Post
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #30 (permalink)  
Old 09-07-2009, 04:56 PM
Junior Member
 
Join Date: Mar 2009
Posts: 10
Kreangast is on a distinguished road
#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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
Reply

Bookmarks

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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Moving Average RSI xcooper Metatrader 4 27 09-12-2009 10:05 PM
How to calculate Moving Average of a Moving Average babarmughal Expert Advisors - Metatrader 4 4 05-31-2009 03:05 PM
EA Moving Average rodrigokaus Expert Advisors - Metatrader 4 10 02-11-2009 08:45 AM
non lag moving average kidhudi Indicators - Metatrader 4 1 07-26-2006 01:52 PM
moving average danu Expert Advisors - Metatrader 4 1 05-31-2006 05:23 AM


All times are GMT. The time now is 09:47 AM.



Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.