PureBytes Links
Trading Reference Links
|
Hello, I recently attending a presentation
by Alan Hull and find his stuff very practical. Here is the code I use for his
Rate of Annual Return (RoaR) Indicator. Alan suggests to use > 40 to trigger
buys and < 20 to trigger sells – assuming you are trading Longs.
BuyLevel:=Input("RoaR Level to
Trigger Buy",0,60,40);
SellLevel:=Input("RoaR Level to Force
a Sell",0,50,20);
RoaR:= 200 * ((LinearReg(C,52) -
Ref(LinearReg(C,52),-26))/C);
If(RoaR >=0,RoaR,0);
20;40;
{Negative numbers are the Rate of Decline}
{I have truncated the RoaR so that below
Zero does not Plot since this is irrelevant for Longs,
change the “if” statement to simply “RoaR;” if you want
to see the entire span of the indicator}
Hope this works for you.
<span
>Regards,
<span
>
Gordon Sutherland
<span
>-----Original Message-----
From: Vassilis
[mailto:vas_greece@xxxxxxxxx]
Sent: Saturday, 28 August 2004
5:35 a.m.
To: equismetastock@xxxxxxxxxxxxxxx
Subject: [EquisMetaStock Group]
Rate of annual Return (ROAR)
<font size=3
face="Times New Roman">
<font size=2
face="Courier New">Hello,<font
size=2 face="Courier New">
I was reading a course from Allan Hull - (Active
investing). He is
giving his course for free from his site.
He is mentioning an indicator ROAR (Rate of annual
return) that is
using linear regression to measure price activity
(is it maybe
something like the RVI? I do not know).
Does anybody know how to program it in Metastock?
I was able to find it for other languages but not
for Metastock.
Regards
Yahoo! Groups Sponsor
ADVERTISEMENT
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 the Yahoo! Terms of Service.
|