[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EquisMetaStock Group] Re: Dynamic Momentum Index (DMI)



PureBytes Links

Trading Reference Links

> How are the coconuts? I understand you're getting guite good at 
> climbing those trees bare footed. Send pics!

Funny you should say that, because I've finally managed to climb a 
coconut tree this week - about the most difficult task I've done for 
a while.  :)


> Next we notice the bipolar index trick where we plot (x-y)/(x+y).

All this bipolar talk is worrying - sounds like a touch of market 
insanity to me...  <:-D


jose '-)
http://www.metastocktools.com



--- In equismetastock@xxxxxxxxxxxxxxx, pumrysh <no_reply@xxxx> wrote:
> Jose,
> 
> Thanks for posting your code. I actually used a good bit of your
> code to give me the ideas for what I posted. The volatility index
> (Vt) is the same that you and Henry have used in several of your
> indicators. 
> The code I posted is really a Cutler's RSI using both the Sum and
> Mov variable Dll from the Equis Forum. I wanted to do that just to
> show everyone what the capabilities of the DLL's were and
> hopefully entice Patrick into writing more DLL's for us.
> 
> How are the coconuts? I understand you're getting guite good at 
> climbing those trees bare footed. Send pics!
> 
> regards,
> 
> Preston
> 
>   
> 
> --- In equismetastock@xxxxxxxxxxxxxxx, "Jose Silva" 
> <josesilva22@xxxx> wrote:
> 
> Posted code too soon.  :)
> Here it is again minus two dll syntax bugs:
> 
> ========================
> Dynamic Mom Index - jose
> ========================
> ---8<---------------------------
> 
> { Jose's Dynamic Momentum Index v4.0, 0~100% }
> { Copyright 2005 Jose Silva }
> { For personal use only }
> { http://www.metastocktools.com }
> 
> { Indicator uses Dll developed by MetaStock Forum Crew } 
> { Available at http://forum.equis.com } 
> 
> pds:=Input("avg DyMoIdx periods",3,260,21);
> Stpds:=Input("Standard Deviation periods",2,260,5);
> x:=Input("use Open=1 High=2 Low=3 Close=4 Volume=5",1,5,4);
> plot:=Input("[1]Dynamic Momentum Idx, [2]dynamic periods
> used",1,2,1);
> 
> x:=If(x=1,O,If(x=2,H,If(x=3,L,If(x=5,V,C))));
> Vt:=Stdev(x,Stpds)/Mov(Stdev(x,Stpds),10,S);
> pds:=pds/(Vt+.14142);
> pds:=If(pds>Cum(IsDefined(x))-13,
> Cum(IsDefined(x))-13,pds);
> pds:=If(pds<2,2,pds);
> 
> Up:=If(x>Ref(x,-1),x-Ref(x,-1),0);
> Dw:=If(x<Ref(x,-1),Ref(x,-1)-x,0);
> UpAvg:=ExtFml("ForumDll.VarMOV",Up,pds,e);
> DwAvg:=ExtFml("ForumDll.VarMOV",Dw,pds,e);
> DyMoIdx:=100-(100/(1+UpAvg/Max(DwAvg,.000001)));
> 
> If(plot=1,DyMoIdx,pds)
> 
> ---8<---------------------------
> 
> 
> jose '-)
> http://www.metastocktools.com








------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a href="http://us.ard.yahoo.com/SIG=12hco64e9/M=362131.6882500.7825259.1493532/D=groups/S=1705375617:TM/Y=YAHOO/EXP=1123750234/A=2889190/R=0/SIG=10r90krvo/*http://www.thebeehive.org
">Put more honey in your pocket. (money matters made easy) Welcome to the Sweet Life - brought to you by One Economy</a>.</font>
--------------------------------------------------------------------~-> 

 
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/