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

[amibroker] Organize your WatchLists in Daily basis



PureBytes Links

Trading Reference Links




The fresh 4.46.0, Oct22, 2003 gives some excellent 
possibilities to automatically organize your WatchLists.Example:Select 
some Watchlists not in use, say WL30, WL31, WL32 to be the stochastic O/B, 
CONGESTIVE, O/S respectively andWL33, WL34, WL35 to be the ADVISSUES, 
UNCISSUES and DECISSUES respectively.Right after the new EODs 
download,  Explore all stocks, n=1 last quotations with
 
// Some 4.46.0 applications// Remove 
symbols from WLsCategoryRemoveSymbol( Name(), categoryWatchlist, 30 ); 
CategoryRemoveSymbol( Name(), categoryWatchlist, 31 ); 
CategoryRemoveSymbol( Name(), categoryWatchlist, 32 ); 
CategoryRemoveSymbol( Name(), categoryWatchlist, 33 ); 
CategoryRemoveSymbol( Name(), categoryWatchlist, 34 ); 
CategoryRemoveSymbol( Name(), categoryWatchlist, 35 ); // 
Stochastic O/B, O/S 
criteriaOVERBOUGHT=StochD()>70;OVERSOLD=StochD()<30;WLNumber=IIf(OVERBOUGHT,30,IIf(OVERSOLD,32,31));z=StrToNum(NumToStr(WLNumber));// 
add symbols to the respective 
WLsCategoryAddSymbol(Name(),categoryWatchlist,z);// 
Adv, Dec 
criteriaAdv=C>Ref(C,-1);Dec=C<Ref(C,-1);WLNumber1=IIf(Adv,33,IIf(Dec,35,34));z1=StrToNum(NumToStr(WLNumber1));CategoryAddSymbol(Name(),categoryWatchlist,z1);Filter=1;AddColumn(C,"C");
 
then hit View->RefreshAll and all above  WatchLists 
will be automatically updated for further use.Through 
Symbol->Categories->WatchLists->EditName you may name the respective 
WatchLists.You may create now your own organization with various 
conditions.
Note1: the new function CategoryAddSymbol( 
symbol, category, number ) does not accept a variable inrut for 
"number", but the  
StrToNum(NumToStr(variable)) will overcome this 
obstacle.Dimitris Tsokakis






Yahoo! Groups Sponsor


  ADVERTISEMENT 









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 the Yahoo! Terms of Service.



Attachment:
organize.gif

Attachment: Description: "Description: GIF image"