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

[EquisMetaStock Group] Re: Please Help - Exploration NOT working correctly, 4 Jose



PureBytes Links

Trading Reference Links

Lynn, it's very unlikely that an exploration will find the first event 
of a common occurrence happening today, unless you load a small number 
of exploration bars such as 100 or so.

In any case, just put the whole formula in the exploration filter.

---8<-------------------------

pds1:=10;
pds2:=20;

Normal:=Cross(Mov(MACD(),pds1,E),Mov(MACD(),pds2,E));
firstNormal:=Normal AND Cum(Normal)=1;

Reverse:=Cross(Mov(MACD(),pds2,E),Mov(MACD(),pds1,E));
firstReverse:=Reverse AND Cum(Reverse)=1;

firstNormal OR firstReverse

---8<-------------------------

jose '-)



--- In equismetastock@xxxxxxxxxxxxxxx, "lynn14344" <darisr@xxxx> 
wrote:
> Thanks, Jose for the reply.
> Can you help me to find a formula for the first time crossover for 
> exploration purposes. I don't want it on the chart because I scan it 
> on NYSE stocks and there are about 3000 stocks. So I need to do an 
> exploration to shorten my daily homework. The previous formula of 
> mine shows also when the crossover turns down and I only want one 
> formula when the criteria turns up. 
> 
> Is there a possibility of helping me here. maybe you could look at 
> my initial formula and sewhat I really mean. 
> 
> Thank you very much. Please let me know if you don't understand what 
> I'm actually looking for.
> 
> 
> 
> 
> 
> 
> --- In equismetastock@xxxxxxxxxxxxxxx, "Jose" <josesilva22@xxxx> 
> wrote:
> > 
> > > Jose- Firstly I just wondering why is your method or formula 
> written 
> > > in a lengthy format.
> > 
> > If you mean the pds1/pds2 variables, that's done for flexibility 
> > purposes.
> > If you mean the lengthy variable names, that's done for clarity 
> > purposes.
> > If you mean lengthy code, I can't see how it can be abbreviated 
> > further than this:
> > 
> > ---8<-------------------------
> > 
> > pds1:=10;
> > pds2:=20;
> > 
> > Normal:=Cross(Mov(MACD(),pds1,E),Mov(MACD(),pds2,E));
> > firstNormal:=Normal AND Cum(Normal)=1;
> > 
> > Reverse:=Cross(Mov(MACD(),pds2,E),Mov(MACD(),pds1,E));
> > firstReverse:=Reverse AND Cum(Reverse)=1;
> > 
> > firstNormal-firstReverse
> > 
> > ---8<-------------------------
> > 
> > 
> > > Secondly, I still have symbols turning up which is in the 
> opposite 
> > > value that is to say when the 20 day crosses the 10 day. So it 
> looks 
> > > like its pointing down. What I really want is the 10 day crosses 
> the 
> > > 20 day and it looks like pointing up.
> > 
> > In your original post you asked for both bullish AND bearish 
> patterns:
> > 
> > "I'm looking at the FIRST time crossover( when moving ave
> > for 10 days is greater than the 20 days) based on the formula 
below
> > but it also shows results based on the reverse form( moving ave 20
> > days greater than 10 days)."
> > 
> > If you wish to find just the FIRST bullish pattern, use the code 
> above 
> > - it plots +1 for the FIRST bullish pattern, and -1 for the FIRST 
> > bearish one.  Plot it as an indicator first, so you can understand 
> how 
> > it works.  This code won't work in an exploration because of the 
> > nature of your request (FIRST events).
> > 
> > 
> > jose '-)
> > 
> > 
> > --- In equismetastock@xxxxxxxxxxxxxxx, "lynn14344" <darisr@xxxx> 
> > wrote:
> > > 
> > > 
> > > Thank you guys for the reply.
> > > Harry- I tried what you mentioned but its troublesome to look at 
> the 
> > > chart individually because once I have that first cross over on 
> the 
> > > daily or 60 minutes than I would like to use the same last 
> explored 
> > > values to do for the weekly.
> > > So your suggestion doesn't help. Is there another way to just 
> look 
> > > at the first crossover.
> > > 
> > > Jose- Firstly I just wondering why is your method or formula 
> written 
> > > in a lengthy format.
> > > 
> > > Secondly, I still have symbols turning up which is in the 
> opposite 
> > > value that is to say when the 20 day crosses the 10 day. So it 
> looks 
> > > like its pointing down. What I really want is the 10 day crosses 
> the 
> > > 20 day and it looks like pointing up.
> > > 
> > > Is there a way for me solve this problem because I'm back where 
> I 
> > > started with my initial exploration formula.
> > > 
> > > Thank you very much for you time in looking at this. I really 
> hope 
> > > someone can help me out.
> > > Thank you again



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/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/