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

[amibroker] Testing Spreads



PureBytes Links

Trading Reference Links




<SPAN 
class=734120219-15022004>I Forgot to mention you should then run your backtester 
on a combined watchlist containing all stocks :-)
<SPAN 
class=734120219-15022004> 
<SPAN 
class=734120219-15022004>herman.
<SPAN 
class=734120219-15022004>


<FONT face=Arial 
size=2> 
You could make the 
signals conditional on the presence of the symbol in list1 or 
list2.
<FONT face=Arial 
size=2> 
You would create 
list1 and list2 with something like:

List1 = 
GetCategorySymbols( categoryMarket, WatchListNumber<SPAN 
class=546445218-15022004>1);List<SPAN 
class=546445218-15022004>2 = GetCategorySymbols( categoryMarket, 
WatchListNumber2);
and create the 
qualifiers with something like:
Q1 = StrFind( List1, 
name()) ;<FONT face=Arial 
size=2>Buy = Buy AND Q1; // if the current ticker is not in list1 you get no 
Buy.
This may be faster 
because the lists are created only once.
<FONT face=Arial 
size=2>herman.
<FONT face=Arial 
size=2> 

  <FONT face=Tahoma 
  size=2>-----Original Message-----From: lhoward121@xxxxxxxxxxxxx 
  [mailto:lhoward121@xxxxxxxxxxxxx]Sent: Sunday, February 15, 2004 
  1:40 PMTo: AMI GroupSubject: [amibroker] Changing Watch 
  Lists W/in AFL Program
  I want to my BUY selections from one watch list and the 
  SHORT selections from another.  
   
  I'm aware of the "inwatchlist" function but that is a 
  very slow process.  Can watch lists be changed within the AFL 
  code?
   
  Thanks -
  lou howardSend BUG REPORTS to 
  bugs@xxxxxxxxxxxxxSend SUGGESTIONS to 
  suggest@xxxxxxxxxxxxx-----------------------------------------Post 
  AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A 
  href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check 
  group FAQ at: <A 
  href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
  Send BUG REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS 
  to suggest@xxxxxxxxxxxxx-----------------------------------------Post 
  AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A 
  href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check 
  group FAQ at: <A 
  href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
  


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