PureBytes Links
Trading Reference Links
|
Lynn, plot these two *indicators* in their own window below your
charts:
---8<------------------
{ Variables }
pdsK:=3;
pdsSlow:=14;
pdsD:=3;
threshold:=50;
{ Stochastic }
Stch:=Stoch(pdsK,pdsSlow);
signal:=Mov(Stch,pdsD,S);
{ Signal, Stochastic plot }
threshold-10;threshold+10;signal;Stch
---8<------------------
The first indicator plots a 3/14 Stochastic, 3EMA signal line, as well
as the 60 and 40 threshold lines as per your suggestion.
It's absolutely essential to keep a visual tab on our system logic
with the aid of indicators, rather than take stabs in the dark with
explorations alone.
---8<------------------
{ Variables }
pdsK:=3;
pdsSlow:=14;
pdsD:=3;
threshold:=50;
{ Stochastic }
Stch:=Stoch(pdsK,pdsSlow);
signal:=Mov(Stch,pdsD,S);
{ Signal condition }
Stch>signal
AND Stch>threshold-10
AND Stch<threshold+10
---8<------------------
The second indicator is identical to the exploration filter code.
It says:
Stochastic must be above its 3EMA signal line,
AND Stochastic must be greater than 40
AND Stochastic must be less than 60
And that, is precisely what it does.
It's in the nature of computing that there is no room for ambiguity.
At the same time, computers are unable to second-guess us or make
decisions for us. It cannot give us "good results" without our full
input.
The only possible efficiency improvement I can see here, has to
originate somewhere else outside the Metastock code. ;)
jose '-)
--- In equismetastock@xxxxxxxxxxxxxxx, "lynn14344" <darisr@xxxx>
wrote:
>
>
> Hi Jose
> This a list of stocks under the NYSE and if I do an exploration on
> the weekly chart based on the mentod you mentioned that is
>
> pdsK:=3;
> pdsSlow:=14;
> pdsD:=3;
> threshold:=50;
>
> { Stochastic }
> Stch:=Stoch(pdsK,pdsSlow);
> signal:=Mov(Stch,pdsD,S);
>
> { Signal condition }
> Stch>signal AND Stch>threshold-10 AND Stch<threshold+10
>
>
> After I did an exploartion based on the last thurs trading on NYSE
> 23/12/04, Only two out of all the stocks mentioned below meets the
> criteria and the last one WMT doesnt meet it infact its in opposite
> direction.
>
> So this is what I meant by it does not give a good results. Any way
> of improving it for better efficiency.
>
> Security Name
> AIG AIG
> AOT AOT
> BMY BMY
> C C
> CPN CPN
> HPQ HPQ
> JPM JPM
> KO KO
> MWD MWD
> OHP OHP
> ONE ONE
> RAD RAD
> SGP SGP
> WMT WMT
>
> Thank you very much for taking your valuable time in looking at my
> issue.
>
>
> --- In equismetastock@xxxxxxxxxxxxxxx, "Jose" <josesilva22@xxxx>
> wrote:
> >
> > "Stch>signal AND Stch<threshold"
> >
> > The above means that the exploration filter finds any instance of
> the
> > Stochastic above the signal (not just the crossover), and the
> > Stochastic is below 50%.
> >
> > "Stch>signal AND Stch>threshold-10 AND Stch<threshold+10"
> >
> > The above means that the exploration filter finds any instance of
> the
> > Stochastic above the signal (not just the crossover), and the
> > Stochastic is above 40% but below 50%.
> >
> >
> > jose '-)
> >
> >
> > --- In equismetastock@xxxxxxxxxxxxxxx, "lynn14344" <darisr@xxxx>
> > wrote:
> > >
> > > Hi Jose
> > >
> > > I managed to find a way to just search for the required
> criteria.
> > > But I notice that this formula catches the first cross over. How
> can
> > > I look for the stocks where the stochastic is already up,
> meaning
> > > the first cross over happened afew days ago and the K% is higher
> > > than the D% and the stochastic value is about 50%.
> > >
> > >
> > > Thank you very much and I hope I not troubling you very much.
> > >
> > >
> > > > --- In equismetastock@xxxxxxxxxxxxxxx, "Jose"
> <josesilva22@xxxx>
> > > > wrote:
> > > > >
> > > > > Try this:
> > > > >
> > > > > ---8<--------------
> > > > > { Variables }
> > > > > pdsK:=5;
> > > > > pdsSlow:=3;
> > > > > pdsD:=3;
> > > > > threshold:=50;
> > > > >
> > > > > { Stochastic }
> > > > > Stch:=Stoch(pdsK,pdsSlow);
> > > > > signal:=Mov(Stch,pdsD,S);
> > > > >
> > > > > { Signal condition }
> > > > > Stch>signal AND Stch<threshold
> > > > > ---8<--------------
> > > > >
> > > > > jose '-)
> > > > >
> > > > >
> > > > > --- In equismetastock@xxxxxxxxxxxxxxx, "lynn14344"
> <darisr@xxxx>
> > > > > wrote:
> > > > > >
> > > > > > Hi Everyone,
> > > > > >
> > > > > > I would like to do an exploration for stochastic. I want
> to do
> > > > an
> > > > > > exploration when the K% is greater than the D% and the
> > > > percenatge
> > > > > > values are less than 50%.
> > > > > >
> > > > > > Can someone please help me to write the exploarion
formula.
> > > > > >
> > > > > > Really hope someone can help me.
> > > > > >
> > > > > > Thank you very much
------------------------ Yahoo! Groups Sponsor --------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/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/
|