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

[amibroker] Re: K-ratio once more



PureBytes Links

Trading Reference Links

Sorry, I cannot find any information about this PortfolioIO.afl 
formula...is it supposed to be available anywhere?

regards,

paolo

--- In amibroker@xxxxxxxxxxxxxxx, Thomas Ludwig <Thomas.Ludwig@xxx> 
wrote:
>
> Okay, I found what I was searching for. There is a post in which TJ 
> wrote:
> 
> >K-Ratio (AMI) is
> 
> >LinRegSlope * Sqrt( SumOfSquaredDeviationsOfBarNumber ) / (StdErr 
* n);
> 
> So I modified the formula in PortfolioIO.afl to:
> 
> KRatio   = ValueWhen(BIR > 0, m * SRDevSQ / (ErrEq * NoBars));
> 
> ... and that matches the figure in the backtester.
> 
> Thanks to both of you!
> 
> Greetings,
> 
> Thomas
>




------------------------------------

**** IMPORTANT ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

*********************
TO GET TECHNICAL SUPPORT from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com
*********************

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html

*********************************
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/