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

Re: LinRegSlope divergence



PureBytes Links

Trading Reference Links

Yarroll,

DIVERGENCE function uses ZIG ZAG function. So you have the same behavior.

Pierre Tremblay



Yarroll a écrit :

> Hello List,
>
> Please have a look at the formulas:
>
> Buy long: divergence(C,LinRegSlope(C,2),0.01)=-1
> Sell short: divergence(C,LinRegSlope(C,2),0.01)=1
>
> They are very profitable in tests, just too good to be true. That's because
> it is... Tests results back-adjust themselves (ie, you know you should have
> gone long 3 bars after the fact, just like the ZigZag indicator).
>
> My question is: what's wrong with the formula?? For all I know LinRegSlope
> indicator doesnt change its apperance on the chart going back. MS Help says
> the divergence function uses ZigZag ... is that it?
>
> Thanks,
> Yarroll