Hi Keith - If you are using QP, it might be easier to just use the tickers they 
supply for market internals - look under the indexes, find all the tickers that 
begin with !NY-xx, !NQ-xx and !AM-xx. You can use the Foreign() function to 
retrieve the tickers and then perform any math on them that you want.

Steve
  ----- Original Message ----- 
  From: Keith McCombs 
  To: [email protected] 
  Sent: Friday, January 02, 2009 5:46 PM
  Subject: Re: [amibroker] Re: ADLine() problem


  Mavirk --
  I followed those instructions as best I could, with no productive results.

  I am using QP2 data base, and am not quite sure how to set up 
"Symbol>Categories>Markets".  I've tried !DJI instead of ^DJI.  Perhaps the 
problem is with URLs profile -- I don't know what I should have there to work 
properly with the QP2 data base.

  Hopefully, someone who has actually made ADLine() work with QP2 (or maybe 
some other data base other than yahoo's) can give me some specifics on how they 
made it to work.

  Thank you.
  -- Keith

  MAVIRK wrote: 

    
http://www.amibroker.com/kb/2007/07/30/how-to-display-the-indicators-based-on-advancesdeclines/


    From: Keith McCombs 
    Sent: Saturday, January 03, 2009 12:06 AM
    To: [email protected] 
    Subject: [amibroker] Re: ADLine() problem


    Hi --
    I posted this over 12 hours ago, but I didn't see it displayed yet.  
Perhaps that is because the first posting had embedded pictures.  Therefore, I 
am removing the pictures and trying again.

    Keith McCombs wrote: 

      Hi --
      Using 5.20, I'm trying to plot the ADLine with the following but 
resulting graph is 'Empty':
      Plot(ADLine(), "A/D Line", colorRed, styleThick);

      In Symbol>Categories>Markets, I select NYSE and set all indexes to ^DJI 
and URLs profile is http://biz.yahoo.com/p/{t0}/{t}.html and Close.  (If I open 
Symbol>Categories>Markets again selected market reverts back to Undefined.)


      In Symbol>Calculate Composites, I select "Number of advancing/declining 
issues", Apply to All quotes, and This market to NYSE, then Calculate and Close.
        

      I included screen captures above.  Perhaps you can see them, perhaps not. 
 Just removed.
      Suggestions are greatly appreciated.
      -- Keith


   

Reply via email to