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

[amibroker] Exploration for Quotes Plus Data users.



PureBytes Links

Trading Reference Links

The Exploration that I have included below is for anyone using Quotes 
Plus Data.  It is an attempt to replicate IBD's Stocks on the Move 
Scan.
I hope you find it useful.

Don Lindberg

-------- Begin Code -------------
// For users of Quotes Plus here is an Exploration that is similar to 
IBD's Stocks on the Move.
// I have set it up just for stocks with a positive change, but you 
could use it to find Shorts by making changes in the Filter Statement.
QER=GetExtraData("EPSRank");
QRS=GetExtraData("QRS");
Day1Pct=100*((C-Ref(C,-1) )/Ref(C,-1));
Vol1Pct=100*((V-Ref(V,-1))/Ref(V,-1));
TRUEVOL=100*V;
CHANGE = (C-Ref(C,-1));
Buy=0;
Sell=0;
Filter=QER>=75 AND QRS>=75 AND Day1Pct>=0.0001  AND C >= 5 AND 
TRUEVOL >= 100000;
AddTextColumn(FullName(),"Company Name",colorBlue,500.0);
AddColumn(C,"Close",2.2,colorDefault, IIf(C>=10 AND 
C<=75,colorBrightGreen,colorPink));
AddColumn(Ref(C,-1),"Previous Close",2.2,colorDefault, IIf(Ref(C,-1)
>10 AND Ref(C,-1)<75,colorBrightGreen,colorPink));
AddColumn (CHANGE, "$ Change",5.2);
AddColumn(Day1Pct,"1 Day % Price Change ",5.2,colorDefault, IIf
(Day1Pct>0 ,colorBrightGreen,colorPink));
AddColumn (TRUEVOL, "Volume",10.0);
AddColumn(Vol1Pct,"1 Day Volume % Change",8.2,colorDefault, IIf
(Vol1Pct>0 ,colorBrightGreen,colorPink));
AddColumn(QER,"EPS Rank",3.0);
AddColumn(QRS,"QRS Rank",3.0);
AddTextColumn( SectorID( 1 ), "Sector Name",30.0); 
AddTextColumn( IndustryID( 1 ), "Industry Name",10.0,6,5,300); 
SetSortColumns( -7 ); 

------- End Code ------------



Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> 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/