PureBytes Links
Trading Reference Links
|
I wanted to let you know someone is looking at this
since I haven't seen any other posts on this topic.
Below is some code I've been playing with as an
indicator. Could you tell me what is "PREV" in the MS
code in your message?
Tnx
Bob
scHilbertQ(C);
//Plot(inphase,"",2,1); //not used
//Plot(quadrature,"",3,1); //not used
inr=IIf(inphase>Ref(inphase,-1),1,0);
qr=IIf(quadrature>Ref(quadrature,-1),1,0);
inpr=IIf(inr*qr>0,1,0);
inpf=IIf(inr+qr<1,-1,0);
ipres=inpr+inpf;
iqne=qr*inr<1 AND qr+inr==1;
opres=iqne*(IIf(inr,1,-1));
Plot(ipres,"",2,1);
//Plot(opres,"",3,1); //only one plot at a time
--- nenapacwanfr <nenapacwanfr@xxxx> wrote:
> 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
>
>
> ------------------------ Yahoo! Groups Sponsor
>
>
>
> Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/
>
>
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
|