importing ieods in ami via jscript - AmiBroker | futures trading

Go Back

> Futures Trading, News, Charts and Platforms > Platforms and Indicators > AmiBroker

importing ieods in ami via jscript
Started:October 15th, 2012 (12:35 AM) by sr114 Views / Replies:1,124 / 0
Last Reply:October 15th, 2012 (12:35 AM) Attachments:0

Welcome to

Welcome, Guest!

This forum was established to help traders (especially futures traders) by openly sharing indicators, strategies, methods, trading journals and discussing the psychology of trading.

We are fundamentally different than most other trading forums:
  • We work extremely hard to keep things positive on our forums.
  • We do not tolerate rude behavior, trolling, or vendor advertising in posts.
  • We firmly believe in openness and encourage sharing. The holy grail is within you, it is not something tangible you can download.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

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, and we will never resell your private information.

-- Big Mike

Thread Tools Search this Thread

importing ieods in ami via jscript

Old October 15th, 2012, 12:35 AM   #1 (permalink)
Trading Apprentice
Futures Experience: Intermediate
Platform: amibroker
Favorite Futures: index,gold
Posts: 27 since Aug 2012
Thanks: 10 given, 1 received

importing ieods in ami via jscript

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.Import( 0, "C:\\gold.csv.", "import.format" );

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


Reply With Quote

Reply > Futures Trading, News, Charts and Platforms > Platforms and Indicators > AmiBroker > importing ieods in ami via jscript

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Upcoming Webinars and Events (4:30PM ET unless noted)

NinjaTrader 8: Programming Profitable Trading Edges w/Scott Hodson

Elite only

Anthony Drager: Executing on Intermarket Correlations & Order Flow, Part 2

Elite only

Adam Grimes: Five critically important keys to professional trading

Elite only

Machine Learning Concepts w/FIO member NJAMC

Elite only

MarketDelta Cloud Platform: Announcing new mobile features

Dec 1

NinjaTrader 8: Features and Enhancements

Dec 6

Similar Threads
Thread Thread Starter Forum Replies Last Post
Importing Gom data in NT7 (?) ChrisNucleus NinjaTrader Programming 2 February 26th, 2012 11:47 PM
importing .Net into Ninja spinnybobo NinjaTrader 3 February 5th, 2012 05:00 PM
Help with importing program into NT7 kayaker NinjaTrader 3 January 3rd, 2012 05:17 PM
Importing Indicator to NinjaTrader Spudz NinjaTrader 2 April 29th, 2011 01:30 AM
Importing a ticker from yahoo fiki NinjaTrader 11 September 29th, 2009 12:29 PM

All times are GMT -4. The time now is 07:25 PM.

Copyright © 2016 by 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

Page generated 2016-10-26 in 0.08 seconds with 19 queries on phoenix via your IP