I have only had amibroker for a few days but am having a problem with realtime 
quotes...

I have eSignal data (FX only) and have setup the database per the Amibroker 
help files.  (1 minute as they suggested).

I have tried 1, 5, 15, hourly, daily charts and they all work great.

The problem I am having is with the exploration.  Using the following code....

**********
Nbars=Param("Num Bars",20,1,5000);

ticker = ParamStr( "Ticker", "EUR A0-FX" );

Filter = (Name()==ticker) AND (BarIndex()<=(Nbars-1));
AddColumn(C,"Close",1.4);
**************

I get the following results for the exploration (setting Nbars to 10):

Ticker  Date/Time       Close   
EUR A0-FX       5/25/2010 11:45:00 PM   1.2295  
EUR A0-FX       5/26/2010 11:45:00 PM   1.2224  
EUR A0-FX       5/27/2010 11:45:00 PM   1.2299  
EUR A0-FX       5/28/2010 6:00:00 PM    1.2281  
EUR A0-FX       5/30/2010 11:45:00 PM   1.2317  
EUR A0-FX       5/31/2010 11:45:00 PM   1.2255  
EUR A0-FX       6/1/2010 11:45:00 PM    1.2211  
EUR A0-FX       6/2/2010 11:45:00 PM    1.2292  
EUR A0-FX       6/3/2010 11:45:00 PM    1.2177  
EUR A0-FX       6/4/2010 6:00:00 PM     1.1966  

I was wanting to get 1 minute bars, but am getting daily bars.  

Any ideas about what I am doing wrong??

Thanks
Tom

Reply via email to