PureBytes Links
Trading Reference Links
|
Preston,
The attachment will give an example of the resulting indicator in another
charting package. It is an intermediate and short term momentum oscillator
(I think) used to filter trades. The code was given to me by a friend who
says he uses it with MetaStock to produce the oscillator.
For the "B" variable, I assume "Inside" and "Outside" refer to inside and
outside days. The {?}s look like missing values to me, and I can't see how
the expression might resolve into a value.
Any ideas?
Stan
----- Original Message -----
From: "pumrysh" <no_reply@xxxxxxxxxxxxxxx>
To: <equismetastock@xxxxxxxxxxxxxxx>
Sent: Tuesday, January 18, 2005 1:00 PM
Subject: Re: [EquisMetaStock Group] Code Transtation
>
>
> Stan,
>
> We can but the code isn't correct. What does EO stand for? Here's a
> workable code. Problem is in the "B" variable.
>
> {EO oscillator - Metastock:}
>
>
> Lg:=Input("Long Average:",5,240,35);
> St:=Input("Short Average:",1,200,5);
> A:=Input("Style AlphOmega=1 Aget=0",0,1,1);
> eoa:=Input("Display MA 8 bars:",0,1,0);
> B:=If(Outside() AND Ref(H,-1)>Ref(H,-2),H,
> If(Outside() AND Ref(L,-1) {?}> O,H,
> If((Outside() OR Inside()) AND O>C,L,
> If(H>Ref(H,-1),H,If(L {?}< Ref(H,-2),H,
> If(Ref(L,-1)<Ref(L,-2),L,C))))));
> Eo:=Mov(B,St,E)-Mov(B,Lg,E);
> Eot:=Mov(If(Eo>0,Eo,PREV),Lg,E);
> Eob:=Mov(If(Eo<0,Eo,PREV),Lg,E);
> Eo;If(A=0,Eot,0);If(A=0,Eob,0);If(eoa=1,Mov(EO,8,E),0);Eo
>
> Preston
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
------------------------ Yahoo! Groups Sponsor --------------------~-->
Has someone you know been affected by illness or disease?
Network for Good is THE place to support health awareness efforts!
http://us.click.yahoo.com/Rcy2bD/UOnJAA/cosFAA/BefplB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/equismetastock/
<*> To unsubscribe from this group, send an email to:
equismetastock-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
Attachment:
Sample EO.jpg
Description: JPEG image
|