PureBytes Links
Trading Reference Links
|
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@xxxxxxx]
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@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
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/
|