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

Re: Ehler's Instantaneous Trendline & Sinewave Indicator - S&C issue May 2000



PureBytes Links

Trading Reference Links

Mohan
In
p1 = atan( abs(quad+Ref(quad,-1) ) / abs(inphase+Ref(inphase,-1) ) ); 
you calculate p1 in radians.
then you begin with
phase = IIf(inphase<0 AND quad>0, 180-p1, 
where you subtract 180 degs minus p1 radians.
This will introduce a mistake to the whole thing.
Dimitris Tsokakis
--- In amibroker@xxxx, Mohan Yellayi <yellayi@xxxx> wrote: