PureBytes Links
Trading Reference Links
|
This was the first error I changed, replace with
EMA(C,10)>EMA(C,30)
Plus this typo
Filter=ThreeLowerHighs;
Cheers,
Graham
http://e-wire.net.au/~eb_kavan/
-----Original Message-----
From: traderix2003 [mailto:d.adam@xxxxxxx]
Sent: Sunday, May 09, 2004 4:39 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Re: EXPLORATION formula
Graham,
this is what I have now (but still with "error"):
FourConditions = EMA(C,10)>EMA(C,30)) AND C>Ref(C,-20) AND
Sum(V<MA(V,20),3)==3 AND CCI( 6 )<-100 ;
ThreeLowerHighs=Sum(H<Ref(H,-1),3)==3;
Filter=ThreeLoweHighs;
AddColumn(H,"High",5.2);
Buy = ThreeLowerHighs AND FourConditions;
Is there anything I dondīt understand?
Traderix
--- In amibroker@xxxxxxxxxxxxxxx, "Graham" <gkavanagh@xxxx> wrote:
> Ok, no it was different, just another error, often the error will
be pointed
> to in AB and this would help find it. I just type in the answers
into email
> Replace this
> Sum(V<MA(V,20),3)
>
> Cheers,
> Graham
> http://e-wire.net.au/~eb_kavan/
>
> -----Original Message-----
> From: traderix2003 [mailto:d.adam@x...]
> Sent: Sunday, May 09, 2004 4:10 PM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: [amibroker] Re: EXPLORATION formula
>
> Hi, Graham
>
> still have "error". Iīm afraid you sent me the same formula.
>
> Regards. Traderix
>
>
>
>
> --- In amibroker@xxxxxxxxxxxxxxx, "Graham" <gkavanagh@xxxx> wrote:
> > Had too many brackets
> > Try this
> >
> > FourConditions = EMA(C,10)>EMA(C,30)) and C>ref(C,-20) and
> > Sum(V<MA(V,20),-3)==3 and CCI( 6 )<-100 ;
> >
> > Cheers,
> > Graham
> > http://e-wire.net.au/~eb_kavan/
> >
> > -----Original Message-----
> > From: traderix2003 [mailto:d.adam@x...]
> > Sent: Sunday, May 09, 2004 3:34 PM
> > To: amibroker@xxxxxxxxxxxxxxx
> > Subject: [amibroker] Re: EXPLORATION formula
> >
> > Graham,
> > thank you, it was what I was looking for...But as I copied the
> > formula in the AA I get a "syntax error" .
> >
> > Regards Traderix
> >
> >
> > --- In amibroker@xxxxxxxxxxxxxxx, "Graham" <gkavanagh@xxxx>
wrote:
> > > Traderix
> > > The uptrend really depends on how you define a trend and for
> what
> > timeframe
> > > the trend is (3 days, 3 weeks, 3 months, 3 years ??), there
are
> so
> > many ways
> > > to do this. Some simple methods are MAshort>MAlong (eg EMA
(C,10)
> > >EMA(C,30)
> > > ), or MACD()>Signal() ) you get the picture
> > >
> > > Easiest for the price month ago would be to assume month to be
> 20
> > trading
> > > days
> > > C>ref(C,-20)
> > >
> > > Low volume maybe could be along the lines of your 3 lower high
> > > Sum(V<MA(V,20),-3)==3
> > >
> > > CCI( 6 )<-100
> > >
> > > Putting them all together
> > > FourConditions = EMA(C,10)>EMA(C,30) ) and C>ref(C,-20) and
> > > Sum(V<MA(V,20),-3)==3 and CCI( 6 )<-100 ;
> > > ThreeLowerHighs=Sum(H<Ref(H,-1),3)==3;
> > > Filter=ThreeLoweHighs;
> > > addcolumn(H,"High",5.2);
> > > Buy = ThreeLowerHighs and FourConditions;
> > >
> > > Hope this helps
> > >
> > > Cheers,
> > > Graham
> > > http://e-wire.net.au/~eb_kavan/
> > >
> > > -----Original Message-----
> > > From: traderix2003 [mailto:d.adam@x...]
> > > Sent: Sunday, May 09, 2004 2:30 PM
> > > To: amibroker@xxxxxxxxxxxxxxx
> > > Subject: [amibroker] EXPLORATION formula
> > >
> > > I try to write a formula for an exploration.
> > > I want to buy in a dip after the price has made 3 lower highs
> > > I got these: ThreeLowerHighs=Sum(H<Ref(H,-1),3)==3;
> > > Filter=ThreeLoweHighs;
> > > addcolumn(H,"High",5.2);
> > >
> > > How could I get the four following conditions:
> > > 1)-the stock must be in an UP TREND
> > > 2)-the price today must be higher than it was a month ago
> > > 3)-low volume on all three candles of the pullback
> > > 4)-cci(6) must be lower than -100
> > >
> > > If some trader use other conditions, new ideas are welcome.
> > >
> > > Thank you. Traderix.
> > >
> > >
> > >
> > >
> > >
> > > Send BUG REPORTS to bugs@xxxx
> > > Send SUGGESTIONS to suggest@xxxx
> > > -----------------------------------------
> > > Post AmiQuote-related messages ONLY to:
amiquote@xxxxxxxxxxxxxxx
> > > (Web page: http://groups.yahoo.com/group/amiquote/messages/)
> > > --------------------------------------------
> > > Check group FAQ at:
> > > http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> > > Yahoo! Groups Links
> >
> >
> >
> > Send BUG REPORTS to bugs@xxxx
> > Send SUGGESTIONS to suggest@xxxx
> > -----------------------------------------
> > Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
> > (Web page: http://groups.yahoo.com/group/amiquote/messages/)
> > --------------------------------------------
> > Check group FAQ at:
> > http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> > Yahoo! Groups Links
>
>
>
> Send BUG REPORTS to bugs@xxxx
> Send SUGGESTIONS to suggest@xxxx
> -----------------------------------------
> Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
> (Web page: http://groups.yahoo.com/group/amiquote/messages/)
> --------------------------------------------
> Check group FAQ at:
> http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> Yahoo! Groups Links
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Links
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/GHeqlB/TM
---------------------------------------------------------------------~->
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|