PureBytes Links
Trading Reference Links
|
Thanks a lot Roy !...
The second formula is doing the very same as the standard Mov var in
metastock and that is the formula I was looking for.
Length:=Input("Length",1,200,9);
> Smooth:=Input("Smoothing",1,200,2);
> AbsCMO:=(Abs(CMO(C,Length)))/100;
> SC:=2/(Smooth+1);
> VIDYA:=If(Cum(1)<=(Smooth+2),C,(SC*AbsCMO*C)+(1-(SC*AbsCMO))*PREV);
> If(Sum(C,Smooth+2)>0,VIDYA,VIDYA);
>
The reason I wanted to find a custom formula who does exactly the
same as the standard formula is because I love this indicator very
much. I work with it already for 4 years and I find it does a far
better job then any other moving average, linear regression or T3 or
whatever kind of MA. And I start to work a lot with the metatrader4.0
platform but it doesn't have the variable MA. So I'm looking for
someone who could make the variable in to the MT4.0 but to do this we
first needed to have the formula in MS so someone could write this
formula in to the MT language.
Maybe you can be of some help or would you know someone who could
help ?...I know that this is a metastock forum and not a metatrader
platform but maybe you can help.
Thanks again and thanks a lot in advance..
friendly greetings iGoR
--- In equismetastock@xxxxxxxxxxxxxxx, "Roy Larsen" <rlarsen@xxx>
wrote:
>
> iGoR
>
>
> A good interpretation of that would be..
>
> {VIDYA}
> AbsCMO:=(Abs(CMO(C,9)))/100;
> SC:=0.78;
> VIDYA:=If(Cum(1)<25,C,(SC*AbsCMO*C)+(1-(SC*AbsCMO))*PREV);
> If(Sum(C,25)>0,VIDYA,VIDYA);
>
> Here's a more flexible but less precise version (as per the given
definition) of VIDYA. The "SC" variable cannot create a factor of
0.78 when it is based on smoothing periods, as below.
>
> {VIDYA (9,2)}
> Length:=Input("Length",1,200,9);
> Smooth:=Input("Smoothing",1,200,2);
> AbsCMO:=(Abs(CMO(C,Length)))/100;
> SC:=2/(Smooth+1);
> VIDYA:=If(Cum(1)<=(Smooth+2),C,(SC*AbsCMO*C)+(1-(SC*AbsCMO))*PREV);
> If(Sum(C,Smooth+2)>0,VIDYA,VIDYA);
>
> And here's a much faster executing version of VIDYA.
>
> Mov(C,2,VAR);
>
>
> Roy
> www.metastocktips.co.nz
>
>
> ----- Original Message -----
> From: thefuturemaster
> To: equismetastock@xxxxxxxxxxxxxxx
> Sent: Thursday, March 02, 2006 5:05 AM
> Subject: [EquisMetaStock Group] Variable Moving Average
>
>
> On paritech.com I red that this is the formula for the variable
moving
> average.
>
> VMA = (0.78*(volatility index) * close) + (1-0.078 * volatility
index)
> *previous VMA
> volatility index = absolute value of the 9-period Chande Momentum
> Oscillator.
>
> Could someone help to translate this into a formula so it could be
used
> in to metastock. So one can play with the 0.78value or with the
value
> of the CMO indicator.
>
> Thanks a lot in advance...iGoR
>
>
>
>
>
>
>
>
>
> SPONSORED LINKS Business finance course Business to business
finance Small business finance
> Business finance consultant Business finance magazine
Business finance schools
>
>
> --------------------------------------------------------------------
------------
> YAHOO! GROUPS LINKS
>
> a.. Visit your group "equismetastock" on the web.
>
> b.. To unsubscribe from this group, send an email to:
> equismetastock-unsubscribe@xxxxxxxxxxxxxxx
>
> c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service.
>
>
> --------------------------------------------------------------------
------------
>
>
>
> [Non-text portions of this message have been removed]
>
------------------------ Yahoo! Groups Sponsor --------------------~-->
Try Online Currency Trading with GFT. Free 50K Demo. Trade
24 Hours. Commission-Free.
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/BefplB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/equismetastock/
<*> To unsubscribe from this group, send an email to:
equismetastock-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|