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

[EquisMetaStock Group] Re: Alpha and Beta Combined Indicator



PureBytes Links

Trading Reference Links

Hi, I *think* MSFL has the 'slope' and 'intercept' functions that will
give you these stats (don't have access to MS right now).  Not sure
about the R square, but you can get that from

r = beta * sx / sy

This is the formula, still requires some coding though.

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



--- In equismetastock@xxxxxxxxxxxxxxx, "formulaprimer"
<formulaprimer@xxxx> wrote:
> Does anyone have a combined Alpha and Beta indicator that is better 
> than the one I have. Here is the code I already have. I know people 
> also combine the R squared function for verification. Thanks.
> K.S.
> 
> Alpha
> 
> pds:= Input("Periods",1,100,10);
> ( Sum( ROC( CLOSE,1,%),pds) - 
> ( Fml( "Beta" ) * Sum( ROC( INDICATOR,1,%),21)))/pds
> 
> Beta
> 
> pds:= Input("Periods",1,100,10);
> (( pds * Sum( ROC( CLOSE,1,%) * ROC( INDICATOR,1,%),pds))-
> ( Sum( ROC( CLOSE,1,%),pds) * Sum( ROC( INDICATOR,1,%), pds))) 
> / 
> (( pds * Sum( Pwr( ROC( INDICATOR,1,%),2),pds)) - Pwr( Sum( ROC( 
> INDICATOR,1,%),pds),2));





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Try Online Currency Trading with GFT. Free 50K Demo. Trade 
24 Hours. Commission-Free. 
http://us.click.yahoo.com/DldnlA/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/