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

RE: [amibroker] 10/30 EMA cross short seller scan help



PureBytes Links

Trading Reference Links

mathisfield ,

The EMA cross can be read as follows: The number of periods since the EMA30 crossed above the EMA10 is less than or equal to 5. So you can change this to suit your requirements.
You can find some interesting reading on the timeframe function in the latest readme found by clicking: Help-->Readme in AmiBroker program.

EMACross = BarsSince( Cross( EMA( Close, 30 ), EMA( Close, 10 ) ) ) <= 5;
Price = C > 30;
AvgVol = MA(V,50) > 1000000;

TimeFrameSet( inWeekly );
Week52High = High == Ref( HHV( High, 52 ), -1 );
TimeFrameRestore();

Buy = EMACross AND Price AND AvgVol AND Week52High;

Regards,
William Peters
www.amitools.com



-----Original Message-----
From: mathisfield [mailto:nospam123@xxxxxxxxxxxx]
Sent: Tuesday November 18, 2003 9:55 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] 10/30 EMA cross short seller scan help


my below scan is not working

what i want is:

screen for $30+ stocks with 1,000,000+ shares volume whose 10 day EMA 
just crossed from above down thru the 30 day EMA, giving a possible 
short-sell signal

EMACross = Cross( EMA(C,30), EMA(C,10) );

Price = C > 30;

AvgVol = MA(V,50) >= 100000

Buy = EMACross AND Price AND AvgVol;



** however something is wrong, it is not working


NOTE:  Would also like to add a component that returns stocks at/near 
their 52 week high, however I am clueless how to do that.  I am 
looking for the typical classic short sell pattern, the stock that is 
recently peaked and is now turning back down.  Dont know how to do 
this but I think the Amibroker audience knows what I mean and maybe 
can help me out

thanks guys!






 





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 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 




------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/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 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/