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

[amibroker] Showing Watchlists - new functions



PureBytes Links

Trading Reference Links

I maintain various watchlists of different "good" stocks and created
an indicator a while back which lists the names of all watchlists the
stock is on in the lower corner of my pricechart (you could list in a
seperate pane).  This way if I have one list which is showing unusual
volume, another list showing stocks w/ high earnings, another showing
stocks on the IBD 100 list, I can see which lists the stock is on when
I look at the chart.

Anyway, with the new graphing functions and the new watchlist
functions I updated the code tonight.   Thought it was worthwhile so I
figured I'd post up here.

Mike

--------------------------------------

alerttext = "  WL: ";
wln = CategoryFind("Titans", categoryWatchlist ); 
alerttext = WriteIf(InWatchList(wln),alerttext + " Titans ",alerttext);
wln = CategoryFind("Zweig", categoryWatchlist ); 
alerttext = WriteIf(InWatchList(wln),alerttext + " Zweig ",alerttext);
wln = CategoryFind("50daymovers", categoryWatchlist ); 
alerttext = WriteIf(InWatchList(wln),alerttext + "
50daymovers",alerttext);
wln = CategoryFind("Unusualvol", categoryWatchlist ); 
alerttext = WriteIf(InWatchList(wln),alerttext + " UnusualVol",alerttext);
wln = CategoryFind("Earn", categoryWatchlist ); 
alerttext = WriteIf(InWatchList(wln),alerttext + " Earn",alerttext);
GfxSelectFont( "arial",8,5700 );
GfxSetTextColor( colorRed ); 
Lft = Status("pxwidth") - 400;
rgt = Status("pxwidth") - 50;
tp = Status("pxheight") - 40;
bt = Status("pxheight") - 10;
GfxDrawText( alerttext,  Lft, tp, rgt,bt, format = 0 );



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/