Forex



Go Back   Forex Trading > Downloads > Indicators - Metatrader 4
Forex Forum Register More recent 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
  #1 (permalink)  
Old 03-27-2006, 10:30 AM
iGoR's Avatar
Senior Member
 
Join Date: Jan 2006
Posts: 1,564
iGoR is on a distinguished road
Variable Moving Average

I would like to share a great moving average with you.
It is in default in Metastock professional. It is a moving average that takes the ellement volatility in its calculations.
My professional trading is based on that MA. The formula that one needs in metastock to re-build this indicator wich is normally a canned indicator is the following...
Length:=Input("Length",1,200,9);
Smooth:=Input("Smoothing",1,200,2);
AbsCMO:=(Abs(CMO(C,Length)))/100;
SC:=2/(Smooth+1);
VARMA:=If(Cum(1)<=(Smooth+2),C,(SC*AbsCMO*C)+(1-(SC*AbsCMO))*PREV);
If(Sum(C,Smooth+2)>0,VARMA,VARMA);
VARMA

the canned indicator works normally but if one whants to re-build this indicator it works a lott slower because of the previous function that is in the indicator.
If one looks on the internet for the matematical formula of the variable moving average then you get this
VMA = (0.78*(volatility index) * close) + (1-0.078 * volatility index)*yesterday’s VMA

The absolute value of a 9-period Chande Momentum Oscillator is used for the volatility index. The higher this index the more volatile the market, thereby increasing the sensitivity of the moving average.

This formula looks a lott simpler than the one for metastock but I don't know if it does the same job like it would do in metastock.

Is it possible to build this variable moving average for the MT4.0 platform.

TNX a lott in advance and hopefully we can all benifit from this MA.

friendly greetings...iGoR
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
  #2 (permalink)  
Old 03-27-2006, 01:35 PM
cockeyedcowboy's Avatar
Senior Member
 
Join Date: Nov 2005
Posts: 486
cockeyedcowboy is on a distinguished road
iGoR

This is the AMA a variable moving average designed by Perry Kaufman. As described in his book Smarter Trading. It changes speed from a 3 period EMA to 400+ period EMA. based on the squaring of the ER calculation. Ive only looked at the code but it appears to be correct as described in Perrys book.
Attached Files
File Type: mq4 AMA & AMA sig.mq4 (3.3 KB, 286 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
  #3 (permalink)  
Old 03-28-2006, 07:40 AM
iGoR's Avatar
Senior Member
 
Join Date: Jan 2006
Posts: 1,564
iGoR is on a distinguished road
Quote:
Originally Posted by cockeyedcowboy
iGoR

This is the AMA a variable moving average designed by Perry Kaufman. As described in his book Smarter Trading. It changes speed from a 3 period EMA to 400+ period EMA. based on the squaring of the ER calculation. Ive only looked at the code but it appears to be correct as described in Perrys book.
Hy CC,

Long time no see...
Strange but I had this indicator for some time but never realy looked into it.
I tweakend the settings and indeed I get the same shape of MA as with the VAR MA in metastock.
TNX very much for pointing this out to me.

iGoR
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
  #4 (permalink)  
Old 03-28-2006, 08:07 AM
iGoR's Avatar
Senior Member
 
Join Date: Jan 2006
Posts: 1,564
iGoR is on a distinguished road
levels

Hy CC,

In this indicator it is not possible to add levels to this MA like with the default MA. Would it be possible that you could add this to this indicator so one can add levels in pips to this var MA.

TNX very much in advance..iGoR
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
  #5 (permalink)  
Old 03-28-2006, 08:30 AM
iGoR's Avatar
Senior Member
 
Join Date: Jan 2006
Posts: 1,564
iGoR is on a distinguished road
Hi CC,

If this would be to much work then you don't have to do this because I solved it by placing an ema 1 with levels on top of the variable MA.

iGoR
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
  #6 (permalink)  
Old 02-23-2007, 04:26 PM
Junior Member
 
Join Date: May 2006
Posts: 10
Efex is on a distinguished road
Hi,

I'm also looking for the variable moving average for MT4.
How did you tweek this indicator to be the same as the VMA?
What settings should I use?

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


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
XP Moving Average! codersguru Ema Cross 426 11-14-2009 09:24 PM
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
moving average danu Expert Advisors - Metatrader 4 1 05-31-2006 05:23 AM


All times are GMT. The time now is 05:03 AM.



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