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

[amibroker] Re: Import Data in Java Script


  • Date: Tue, 16 Feb 2010 08:21:28 -0000
  • From: "Fgdfgdfg" <dfgfdgdfg.fgdfgdfg@xxxxxxxx>
  • Subject: [amibroker] Re: Import Data in Java Script

PureBytes Links

Trading Reference Links

Hi
I'm sorry 2 ask help again but I still don't arrive 2 import data
If someone can correct my code I will appreciate it
rgds

--- In amibroker@xxxxxxxxxxxxxxx, "Fgdfgdfg" <dfgfdgdfg.fgdfgdfg@xxx> wrote:
>
> 
> *IntraDay.format 
> *4356.txt
> *Import Tip 10.js
> 
> are in the same folder
> 
> *****************
> 
> Hello Tomasz
> 
> I've read carefully the
> 2 Tip of the week: How to download and update quotes automatically
> 
> The tips on the site are Xcellent pedagogie and I enjoy 2 learn them
> 
> I've never seen such quality with any other software
> 
> So I'm now at this point = no errors but no import
> 
> Grrrrrrr
> 
> I am not used to make the others working for me
> 
> But Would you mind 2 correct my entire script 2 make it working ?
> 
> Regards
> 
> Kata
> 
> 
> *****************************************
> 
> AmiBroker = new ActiveXObject( "Broker.Application" );
> 
> Import( "4356.txt" );
> function Import( filename )
> {
> AmiBroker.Import( 0, filename, "IntraDay.format" );
> AmiBroker.RefreshAll();
> }
> 
> ********************************************************
> 
> IntraDay.format
> 
> # Format definition file generated automatically
> # by AmiBroker's ASCII Import Wizard
> $FORMAT Date_DMY, Time, Open, High, Low, Close, Volume
> $SKIPLINES 2
> $SEPARATOR "\t"
> $CONT 1
> $DEBUG 0
> 
> ***************************************************
> 
> 4356.txt
> 
> DATE  TIME OPEN HIGH LOW CLOSE VOLUME
> 
> 15/01/2010 13:45 37.25 37.25 37.25 37.25 430175
> 15/01/2010 13:55 37.22 37.25 37.175 37.215 6862
> 15/01/2010 14:00 37.25 37.29 37.25 37.25 9819
> 15/01/2010 14:05 37.29 37.315 37.29 37.315 1227
> 15/01/2010 14:10 37.345 37.365 37.27 37.27 2423
> 15/01/2010 14:15 37.3 37.3 37.3 37.3 246
> 15/01/2010 14:20 37.31 37.33 37.3 37.33 1671
> 15/01/2010 14:25 37.385 37.41 37.37 37.375 3109
> 15/01/2010 14:30 37.405 37.405 37.3 37.3 2059
> 
> ******************************************************
> 
> 
> --- In amibroker@xxxxxxxxxxxxxxx, Tomasz Janeczko <groups@> wrote:
> >
> > Hello,
> > 
> > It should be
> > AmiBroker.Import( 0, "filetoimport", "format defitiniton");
> > 
> > By the way, this is NOT Java. This is JavaScript.
> > Read this for more info:
> > http://www.amibroker.com/newsletter/02-2001.html
> > 
> > Best regards,
> > Tomasz Janeczko
> > amibroker.com
> >
>




------------------------------------

**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to 
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    amibroker-digest@xxxxxxxxxxxxxxx 
    amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/