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

RE: [amibroker] Looping through "foreign" files



PureBytes Links

Trading Reference Links




Yes, 
you can do that in either of the scripts using the filesystem 
object.
<FONT face=Arial color=#0000ff 
size=2> 
<FONT face=Arial color=#0000ff 
size=2>d

  
  <FONT 
  face=Tahoma size=2>-----Original Message-----From: Chuck Rademacher 
  [mailto:chuck_rademacher@xxxxxxxxxx] Sent: Friday, May 02, 2003 
  5:05 PMTo: amibroker@xxxxxxxxxxxxxxxSubject: RE: 
  [amibroker] Looping through "foreign" files
  I'll 
  partially answer my own question by asking another.   Perhaps it 
  might give someone an idea for helping me.   
  <FONT face=Arial color=#0000ff 
  size=2> 
  Is 
  there some way to access a text file from within a loop?    The 
  text file could contain all of the tickers that I want to access in the 
  loop.   Or... do I need to write a dll to do 
  this?
  <FONT face=Arial color=#0000ff 
  size=2> 
  <FONT face=Arial color=#0000ff 
  size=2>Cheers
  <BLOCKQUOTE 
  >
    <FONT face="Times New Roman" 
    size=2>-----Original Message-----From: Chuck Rademacher 
    [mailto:chuck_rademacher@xxxxxxxxxx]Sent: Friday, May 02, 2003 
    4:52 PMTo: amibroker@xxxxxxxxxxxxxxxSubject: 
    [amibroker] Looping through "foreign" files
    <FONT face=Arial color=#0000ff 
    size=2>The time has come for me to find a better way of looping through 
    thousands of foreign files.
    <FONT face=Arial color=#0000ff 
    size=2> 
    <FONT face=Arial color=#0000ff 
    size=2>For each stock in my watchlist, I want to look at all of the other 
    stocks in that watchlist within a loop.   
    <FONT face=Arial color=#0000ff 
    size=2> 
    If 
    the "foreign" statement would accept a stockID number instead of a ticker, I 
    could probably make a decent loop to do the job.   But, alas, 
    that's not how it works.
    <FONT face=Arial color=#0000ff 
    size=2> 
    <FONT face=Arial color=#0000ff 
    size=2>Surely someone has been here before?
    <FONT face=Arial color=#0000ff 
    size=2> 
    <FONT face=Arial color=#0000ff 
    size=2>Any assistance would be 
    appreciated.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 
    Your use of Yahoo! Groups is subject to the <A 
    href="">Yahoo! Terms of Service. 
    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 
  Your use of Yahoo! Groups is subject to the <A 
  href="">Yahoo! Terms of Service. 







Yahoo! Groups Sponsor












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.