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