|
I'm new to AmiBroker, but
certainly not new to trading :) Here's some code for measuring 'my' risk-ratio.
Perhaps someone else can expand it to include a second symbol that represents an
interest rate, which can be deducted from the return before dividing it by the
standard deviation.
_SECTION_BEGIN ("riskratio");//risk ratio is the annualized daily return divided by the annualized standard deviation. risk ratio = rr //dailyreturn = dr //annualized daily return = drpa //annulaized stdev = sdpa dr=log(Close/Ref(Close,-1));
Colin From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of Evo1 Sent: Wednesday, December 14, 2005 2:07 AM To: amibroker@xxxxxxxxxxxxxxx Subject: Re: [amibroker] What metrics do you use for comparing systems ? Thank you all for sharing your thoughts. Considering I am a newcomer to trading, it is very interesting to learn from serious traders. Nothing replaces experience. By the way Colin, might you post the AFL code of your MSR ? Tia, Regards, Evo1 cwest a écrit :
Hi, Please note that this group is for discussion between users only. To get support from AmiBroker please send an e-mail directly to SUPPORT {at} amibroker.com For other support material please check also: http://www.amibroker.com/support.html
SPONSORED LINKS
YAHOO! GROUPS LINKS
|