PureBytes Links
Trading Reference Links
|
Hello,
I have had an idea with a detrender, so I have written the Hilbert
quadrature and hilbert inphase as plugins they are available in the
files /plugin/indicator dll
if you have interest,
you can plot them with
scHilbertQ(C);
Plot(inphase,"",2,1);
Plot(quadrature,"",3,1);
the code in Ms was
/*
value1:=C - Ref(C,-6);
value2:= Ref(value1,-3);
value3:=0.75*(value1-Ref(value1,-6)) + 0.25*(Ref(value1,-2)-Ref
(value1,-4));
inphase:= (0.2 * value2) + (0.8* PREV);
{Ema 9 jours}
quad:= (0.2 * value3) + ( 0.8 * PREV);
{Ema 9 jours}
inphase
*/
stephane
|