PureBytes Links
Trading Reference Links
|
Sachin, those triangle formations you describe are entry/exit +1/-1
signal spikes.
Play around with the Ergodic user inputs, and you will understand how
they are derived.
jose '-)
http://www.metastocktools.com
--- In equismetastock@xxxxxxxxxxxxxxx, sachinsac31 <no_reply@xxxx>
wrote:
>
>
> Hi Everyone,
> It's seems like an interesting discussion we have here on this
> Ergodic Indicator.
> I could be wrong here, so please share your views on my
> interpretation of this Ergodic Indicator.
>
> Personally I believe its almost the same as MACD. If you were to
> twig the parameter settings you could see a similarity in both the
> Ergodic Indicator and the MACD.
>
> Just my views.
>
> Thank you
>
> Sachin
>
> PS Jose, your modified ergodic indicator (later posting of the
> formula) if I put it into any NYSE symbol, the chart will just show
> a chart formation of a triangle shaped or an inverted triangle shape
> from the zero line.Is this how it should look like in the chart as
> created by you in the latter posting. I believe this is what David
> was trying to say.
>
>
> --- In equismetastock@xxxxxxxxxxxxxxx, "Jose" <josesilva22@xxxx>
> wrote:
>
> David, the previous example of the Ergodic code was set at
> crossover signals as default - you've probably plotted it on a chart
> with either insufficient data and/or no available signals.
>
> Try the original indicator code below:
>
> =======
> Ergodic
> =======
> ---8<---------------------------
>
> { William Blau's Ergodic indicator v2.0 }
> { Incorporating auto overbought/sold levels,
> and Ergodic/Signal line crossover signals }
> { With thanks to William Schamp at:
> ProfLogic@xxxx }
>
> { ©Copyright 2004~2005 Jose Silva
> The grant of this license is for personal use
> only - no resale or repackaging allowed.
> All code remains the property of Jose Silva.
> http://www.metastocktools.com }
>
> { User inputs }
> choose:=Input("Version: [1]Basic, [2]Proflogic's Ensign",1,2,2);
> pds1:=Input("Proflogic's Ensign orig: EMApds 28, SmoothPds
> 84",0,0,0);
> pds1:=Input("EMA periods",1,252,21);
> pds2:=Input("Smoothing periods",1,252,5);
> pds3:=Input("Signal periods",1,252,10);
> plot:=Input("[1]Ergodic, [2]Histogram, [3]Crossover
> Signals",1,3,1);
>
> { Ergodic }
> x:=Mov(Mov(H-L,pds1,E),pds2,E);
> x:=If(x>0,x,.000001);
> ergo1:=(Mov(Mov(C-O,pds1,E),pds2,E)/x)*100;
>
> { Proflogic's Ensign Ergodic version:
> EMA periods = 28, Smoothing periods = 84 }
> ergo2:=
> Mov(Mov(Mov(C-Ref(C,-1),pds1,W),pds2,W),pds1,W)
> /Mov(Mov(Mov(Abs(C-Ref(C,-1)),pds1,W),pds2,W),
> pds1,W)*100;
>
> { Selected Ergodic version }
> ergodic:=If(choose=1,ergo1,ergo2);
>
> { Ergodic signal & histogram }
> signal:=Mov(ergodic,pds3,E);
> ergoPlot:=If(plot=1,ergodic,ergodic-signal);
>
> { Ergodic/Signal crossovers }
> long:=Cross(ergodic,signal);
> short:=Cross(signal,ergodic);
>
> { Average (zero-line) }
> ergoPlotAvg:=
> Cum(ergoPlot)/Cum(IsDefined(ergoPlot));
>
> { Auto overbought/sold boundaries }
> Pk:=Ref(ergoPlot,-1)=HHV(ergoPlot,3)
> AND Ref(ergoPlot,-1)>ergoPlotAvg;
> PkVal:=ValueWhen(1,Pk,Ref(ergoPlot,-1));
> Obought:=Cum(PkVal)/Cum(IsDefined(PkVal));
> Tr:=Ref(ergoPlot,-1)=LLV(ergoPlot,3)
> AND Ref(ergoPlot,-1)<ergoPlotAvg;
> TrVal:=ValueWhen(1,Tr,Ref(ergoPlot,-1));
> Osold:=Cum(TrVal)/Cum(IsDefined(TrVal));
>
> { Plot in own window }
> If(plot=1,signal,If(plot=2,ergoPlotAvg,0));
> If(plot=3,long-short,Obought);
> If(plot=3,long-short,Osold);
> If(plot=3,long-short,ergoPlot)
>
> ---8<---------------------------
>
>
> jose '-)
> http://www.metastocktools.com
------------------------ Yahoo! Groups Sponsor --------------------~-->
Has someone you know been affected by illness or disease?
Network for Good is THE place to support health awareness efforts!
http://us.click.yahoo.com/Rcy2bD/UOnJAA/cosFAA/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/
|