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

RE: [amibroker] Looping through "foreign" files (for Dingo)



PureBytes Links

Trading Reference Links




<FONT face=Arial color=#0000ff 
size=2>That'll be fine.
<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 
  6:26 PMTo: amibroker@xxxxxxxxxxxxxxxSubject: RE: 
  [amibroker] Looping through "foreign" files (for Dingo)
  <FONT face=Arial color=#0000ff 
  size=2>Ok... thanks for the help.
  <FONT face=Arial color=#0000ff 
  size=2> 
  <FONT face=Arial color=#0000ff 
  size=2>1.  I'm 16 hours ahead of you, but I don't 
  sleep.
  <FONT face=Arial color=#0000ff 
  size=2> 
  <FONT face=Arial color=#0000ff 
  size=2>2.  I'll let you know if I solve the problem 
  myself.
  <FONT face=Arial color=#0000ff 
  size=2> 
  <FONT face=Arial color=#0000ff 
  size=2>3.  The loop has to go from beginning to end for each stock, not 
  just the ones ahead of it.   I need to skip the current stock, of 
  course, but I can test for that in my loop.
  <FONT face=Arial color=#0000ff 
  size=2> 
  <FONT face=Arial color=#0000ff 
  size=2>4.   I see my loop passing a relative number (1 to n) to 
  the script and getting back a ticker symbol.   A null would come 
  back if I've gone past the end or I could put a unique symbol on the 
  end.  Is that along the lines of what you have in 
  mind?
  <FONT face=Arial color=#0000ff 
  size=2> 
  <FONT face=Arial color=#0000ff 
  size=2> 
  <BLOCKQUOTE 
  >
    <FONT face="Times New Roman" 
    size=2>-----Original Message-----From: dingo 
    [mailto:dingo@xxxxxxxxxx]Sent: Friday, May 02, 2003 5:28 
    PMTo: amibroker@xxxxxxxxxxxxxxxSubject: RE: 
    [amibroker] Looping through "foreign" files (for Dingo)
    <FONT face=Arial color=#0000ff 
    size=2>Ok, let me do some kludging tonite. How many hours are you ahead of 
    the US East coast?  I've been wondering about that for 
    awhile.
    <FONT face=Arial color=#0000ff 
    size=2> 
    If 
    you find a solution before I get back to you please give me head's 
    up..
    <FONT face=Arial color=#0000ff 
    size=2> 
    I 
    was sitting here thinking about it and as you traverse the watchlist you 
    don't have to start the compare  from the beginning you just need to 
    start with the symbol that's after the position you are in the traversal 
    'cause the current one has already been compared with its predecessors, 
    right?
    <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:22 PMTo: 
      amibroker@xxxxxxxxxxxxxxxSubject: RE: [amibroker] Looping 
      through "foreign" files (for Dingo)
      <FONT face=Arial color=#0000ff 
      size=2>I certainly am interested and I would really appreciate some 
      assistance.   I have to admit that "scripts" is the one 
      remaining thing that I haven't played with in AmiBroker.  As soon as 
      I saw your original reply, I knew today was the day for learning something 
      new.
      <FONT face=Arial color=#0000ff 
      size=2> 
      <FONT face=Arial color=#0000ff 
      size=2>Thanks
      <BLOCKQUOTE 
      >
        <FONT face="Times New Roman" 
        size=2>-----Original Message-----From: dingo 
        [mailto:dingo@xxxxxxxxxx]Sent: Friday, May 02, 2003 5:15 
        PMTo: amibroker@xxxxxxxxxxxxxxxSubject: RE: 
        [amibroker] Looping through "foreign" files
        <FONT face=Arial color=#0000ff 
        size=2>I'm sorta thinking out loud but you can prolly loop thru the 
        watch lists via the script without the external file. If you're 
        interested let me know and I'll try to work up something that'll get you 
        started.
        <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
          <FONT face=Arial color=#0000ff 
          size=2>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> 
          <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> 
            <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. 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. 
      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.