importing ieods in ami via jscript - futures io
futures io futures trading



importing ieods in ami via jscript


Discussion in Platforms and Indicators

Updated
    1. trending_up 2,132 views
    2. thumb_up 0 thanks given
    3. group 1 followers
    1. forum 0 posts
    2. attach_file 0 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 125,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

(If you already have an account, login at the top of the page)

 
Search this Thread
 

importing ieods in ami via jscript

(login for full post details)
  #1 (permalink)
Kolkata+India
 
 
Posts: 27 since Aug 2012
Thanks: 10 given, 1 received

trying to use the jscript for importing ioeds into amibroker but failed every time

the ieod data format is : Date_DMY, time(HH:mm:ss), Open, High, Low, Close, Volume and a respective format file has been prepared (import.format)

the code i am using is the following

/*
** AmiBroker/Win32 scripting
**
** File: ImportQuotes.js
** Created:
** Purpose: Import quotes from a text file into a AmiBroker DataBase
** Language: JScript
*/

/* Create AmiBroker object */
AB = new ActiveXObject("Broker.Application");

AB.LoadDatabase("C:\\ABDataBase\\");
AB.Import( 0, "C:\\gold.csv.", "import.format" );
AB.RefreshAll();
AB.SaveDataBase();
AB.Quit();

WScript.Echo("Create DataBase finished" );


the problem is that the database is created with blank or no scrip

the data format are

Date_DMY,Time,Open ,High ,Low ,Close , Vol
13/10/2012,10:01:00 ,31250.00,31263.00,31242.00,31263.00,40
12/10/2012,10:02:00 ,31263.00,31267.00,31261.00,31262.00,11
12/10/2012,10:03:00 ,31262.00,31267.00,31262.00,31267.00,30
12/10/2012,10:04:00 ,31267.00,31272.00,31265.00,31272.00,20
12/10/2012,10:05:00 ,31272.00,31275.00,31272.00,31274.00,13
12/10/2012,10:06:00 ,31274.00,31278.00,31274.00,31277.00,18

please help me

sr

Reply With Quote


futures io Trading Community Platforms and Indicators > importing ieods in ami via jscript


Last Updated on October 15, 2012


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
 

Journal Challenge w/$1500 prizes from Topstep!

February
 

Battlestations! Show us your trading desk - $1,500 in prizes!

March
 

Call Option Buying: The New Pain Trade? w/Carley Garner

Elite only
     



Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts