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

Re: [amibroker] Re: ROR Rate of return indicator



PureBytes Links

Trading Reference Links

David Holz asked:

> 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

It looks like your problem is that LinRegSlope is the wrong function.
You want LinReg--the linear regression line, rather than the slope of
the line--only I don't think it exists in AFL. Anyone?

Owen Davies