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

RE: [EquisMetaStock Group] Re: Code Transtation



PureBytes Links

Trading Reference Links

Title: Message
Preston,
 
You can read all about the charting method at:
 
 
You can even leave your email address and have them clutter up your Inbox for the next couple of years if you wish!!
 
Regards,
Mike
 
-----Original Message-----
From: pumrysh [mailto:no_reply@xxxxxxxxxxxxxxx]
Sent: Wednesday, 19 January 2005 11:27 AM
To: equismetastock@xxxxxxxxxxxxxxx
Subject: [EquisMetaStock Group] Re: Code Transtation


Jose',

I agree about its value. The original code was missing a couple of
less than greater than arguments. The {?} is where I included them.

I was really more intriqued by the charting methods that the code
allowed.

Preston



--- In equismetastock@xxxxxxxxxxxxxxx, "Jose" <josesilva22@xxxx>
wrote:
>
> Preston, the original code seems fine to me, but it's value is
> debatable - all it seems to do is mimic price action.
>
> ---8<--------------------
>
> 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)<Ref(L,-2),L,
>  If((Outside() OR Inside()) AND C>O,H,
>  If((Outside() OR Inside()) AND O>C,L,
>  If(H>Ref(H,-1),H,
>  If(L<Ref(L,-1),L,
>  If(Ref(H,-1)>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)
>
> ---8<--------------------
>
>
> Stan, converting MS code into plain English is one of the most
> wasteful pursuits known to mankind.
> To really find out what the code does, plot it below a chart and
> compare it to the prices above.
>
>
> jose '-)
>
>
> --- In equismetastock@xxxxxxxxxxxxxxx, pumrysh <no_reply@xxxx>
wrote:
> >
> > 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
> >
> >
> >
> > --- In equismetastock@xxxxxxxxxxxxxxx, "S Book" <sbook@xxxx>
wrote:
> >
> >
> > Can anyone translate this code into plain English statements???
> >
> > 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)
> > <Ref(L,-2),L,If((Outside() OR Inside()) AND C>O,H,If((Outside()
OR
> > Inside()) AND O>C,L,If(H>Ref(H,-1),H,If(L<Ref(L,-1),L,If(Ref(H,-1)
> > > 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);
> >
> > -Stan




El presente correo ha sido analizado por la plataforma Soluciones ADSL
y se encuentra libre de virus.



Yahoo! Groups Links