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

[EquisMetaStock Group] Re: stdev and average



PureBytes Links

Trading Reference Links

Hi there,

Try something like

R1 := ROC(C,13,%);
R2 := Cum(R1);
R3 := Cum(R1*R1);
NN := Cum(R3>0);

SQRT( NN / (NN-1) * ( R3 - R2 * R2 ) );

Regards
MG Ferreira
TsaTsa EOD Programmer and trading model builder
http://www.ferra4models.com
http://fun.ferra4models.com 

--- In equismetastock@xxxxxxxxxxxxxxx, "robcpettit" <robcpettit@xxxx>
wrote:
> I think Ive done it using Stdev(ROC(C, 13, % ), 2), I dont quite
> understand how though. Igot to involved in th periods, thinking I it
> would go something like, say 100 days of data, day 13 the roc kicks in
> and the stdev would be for prev 13 days, next day would be for prev 14
> days then 15 etc. Entering the period as 2 has done excactly the same.
> Ive checked the calculation in excel. What Idont undestand is what is
> the period part telling the stdev to do.
> Regards Robert




------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a href="http://us.ard.yahoo.com/SIG=12htl5dv5/M=362343.6886682.7839641.1493532/D=groups/S=1705375617:TM/Y=YAHOO/EXP=1124139373/A=2894350/R=0/SIG=10tj5mr8v/*http://www.globalgiving.com";>Make a difference. Find and fund world-changing projects at GlobalGiving</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/