PureBytes Links
Trading Reference Links
|
<FONT face=Arial color=#0000ff
size=2>Martin,
<FONT face=Arial color=#0000ff
size=2>
I've
taken what Preston suggested and built two indicators in the custom indicator
section as follows:
<FONT face=Arial color=#0000ff
size=2>
<FONT face=Arial color=#0000ff
size=2>-----------------------------------------
<FONT face=Arial color=#0000ff
size=2>
<FONT
face=Arial color=#0000ff size=2>{This identifies the candle pattern on which to
go long}
<FONT face=Arial color=#0000ff
size=2>CandLong:=If(Hammer() OR BullHaramiCross() OR LongLowerShadow() OR
RisingWindow()OR 3WhiteSoldiers() OR
EngulfingBull(),1,0);
<FONT face=Arial color=#0000ff
size=2>CandLong;
<FONT face=Arial color=#0000ff
size=2>
<FONT face=Arial color=#0000ff
size=2>-----------------------------------------
<FONT face=Arial color=#0000ff
size=2>
{This
identifies the setup that you are looking for when the CandLong signal is
generated}
<FONT face=Arial color=#0000ff
size=2>Setup:=If(CLOSE < Mov(C,20,E)ANDCLOSE >
Mov(C,70,E)ANDMov(C,20,E) >
Mov(C,50,E)ANDRSI(21)<50ANDCCI(7)<100,1,0);
<FONT face=Arial color=#0000ff
size=2>Setup;
<FONT face=Arial color=#0000ff
size=2>
<FONT face=Arial color=#0000ff
size=2>---------------------------------------
<FONT face=Arial color=#0000ff
size=2>
Plot
these two indicators on your chart separately (you could do them together but
this seemed more useful). Plot them as histograms. When they are
both showing 1's, you have a valid long signal. This seems to be working
since I only have one entry signal for the SPY (see chart attached) since about
mid-2000.
<FONT face=Arial color=#0000ff
size=2>
You
can easily convert these into signals within the system tester, the
explorer or create an expert for it. As always, make sure you are
loading enough data to fuel the computations
accurately.
Good
Trading,
Joe
J.
<FONT face=Arial color=#0000ff
size=2>
<FONT face=Arial color=#0000ff
size=2>
<FONT face=Arial color=#0000ff
size=2>
<FONT face=Tahoma
size=2>-----Original Message-----From: Martin Blain
[mailto:martin@xxxxxxxxxxxxxxx]Sent: Tuesday, March 16, 2004 1:42
PMTo: Metastockusers@xxxxxxxxxxxxxxxSubject: Re:
[Metastockusers] Re: Weekend Analysis 07 Mar
04PrestonI have spent so much time on this I
think I have developed carpel tunnelsyndrome.I really am at a loss. I
know what I want to see and I fully believe that Iam on the road to
creating an expert that will buy the dips in an uptrend.I faxed the basic
structure to Metastock. For a 30 buck minimum they willprovide a formula.
In the mean time I will keep trying different ideas asthey come
up.Martin BlainBurlington Ontario----- Original
Message ----- From: "P Umrysh" <pumrysh@xxxxxxxxx>To:
<Metastockusers@xxxxxxxxxxxxxxx>Sent: Tuesday, March 16, 2004 11:00
AMSubject: [Metastockusers] Re: Weekend Analysis 07 Mar 04>
Martin,>> I tried your code and can see where the bad signals
occur. The best> way that I know to test the code and correct the
erroneous signals is> to create a binary buy signal indicator and plot
it on a chart.> Like this:>> {BUY}>
RSI(21)<50> AND> CCI(7)<100> AND>
C>Mov(c,70,e)> AND> C<Mov(c,20,e)> AND>
(Mov(C,20,E) >Mov(C,50,E))> and> (Hammer() or
BullHaramiCross() or LongLowerShadow() OR RisingWindow()> OR
3WhiteSoldiers() OR EngulfingBull())>> This will produce a 1
when the condition is true. Next add the RSI> and CCI to the chart.
Plot your MA's on the price. Next open up the> binary and bracket out
{} the different sections one at a time. I> think the candles are okay.
I would focus on the timeframes. Just off> the top of my head I see a
short-term CCI with a intermediate-term> RSI. Hope this
helps.>>> Preston>>>>>
--- In Metastockusers@xxxxxxxxxxxxxxx, "Martin Blain"
<martin@xxxx>> wrote:> > Dusant> > The code
seems to work well when it works. It just that it picks up> the wrong
signals sometimes. I realize I could just ignore bad> signals. My
biggest problem lies with the and(s) and or(s)> > Martin
Blain> > Burlington Ontario> > ----- Original
Message ----- > > From: Dusant> >
To: Metastockusers@xxxxxxxxxxxxxxx> > Sent: Tuesday,
March 16, 2004 6:53 AM> > Subject: Re: [Metastockusers]
Weekend Analysis 07 Mar 04> >> >> >
Martin,> >> > Would love to test it out, but
unfortunately, I cannot do an> extensive. My website is taking more of
my time. What I can suggest> is that you create an expert, with
signals, so that you can scroll> thru a number of stocks in a very
short while. It will give you> a "gut feel" of the system.>
>> > Dusant> > Chief
Architect> > http//www.candlestrength.com/>
> ----- Original Message ----- >
> From: Martin Blain>
> To: Metastockusers@xxxxxxxxxxxxxxx>
> Sent: Monday, March 15, 2004 5:41 PM>
> Subject: Re: [Metastockusers] Weekend Analysis 07
Mar 04> >> >> >
Dusant> > Could you help with a little code
I am working on. Any help> would be appreciated.>
> I am trying to say that the stock is below 20dma
but above> 70dma. The 20dma is above the 50dma. This last part doesn't
seem to> work all the time. Same for the Candlesticks. Sometimes I get
false> signals.> >> >
BUY> > RSI(21)<50 AND CCI(7)<100 AND
C>Mov(c,70,e) AND C<Mov(c,20,e)> AND (Mov(C,20,E)
>Mov(C,50,E)) and (Hammer() or BullHaramiCross()> or
LongLowerShadow() OR RisingWindow() OR 3WhiteSoldiers() OR>
EngulfingBull())> >> >
SELL> > C<Mov(c,75,e) AND
C<Mov(c,50,e)> >> >>
> Martin Blain> >
Burlington Ontario>
>>>>>>> Yahoo! Groups
Links>>>>>>
Yahoo! Groups Links
To visit your group on the web, go to:http://groups.yahoo.com/group/Metastockusers/
To unsubscribe from this group, send an email to:Metastockusers-unsubscribe@xxxxxxxxxxxxxxx
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Attachment:
Example for MS.gif
Attachment:
Description: "Description: Example for MS.gif"
|