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

Re: ROR Rate of return indicator



PureBytes Links

Trading Reference Links

After Taking to Alan her is the ms Version when I convert it to AB 
the dont seem to plot the same ..
also how do i plot a line for the 25 % and 40 % postions on the chart
my AB version 
Graph1 = 200*(LinRegSlope(C,52)-Ref(LinRegSlope(C,52),-26))/C;


MS version 
200*(LinearReg(C,52)-Ref(LinearReg(C,52),-26))/C

David



--- In amibroker@xxxx, "dtholz" <dtholz@xxxx> wrote:
> Hi some asked re Alan Hulls ROR indicator 
> im sure it could be done but i cant get the indicator to look 
> correct .. 
> 
> the formuala is 
> Value of 52 week lin regression today = $11.67
> Value of 52 week linear regression six month ago = $9.06
> current share price = $ 12.37
> Annual rate of return = (11.67 - 9.06)/12.37 = 0.21
> Annualised and converted to a % = 42 %
> 
> so this 42 % is ploted and changes each day with price movements 
> the is also a static line at 25 % and 40 % ..
> 
> I hope someone can create it cause my efforts are not working :(
> 
> David