PureBytes Links
Trading Reference Links
|
Hello,
In JScript use:
AB = new ActiveXObject("Broker.Application");
AB.Import( "Full path to file to import", "full path to format definition file");
More info in several newsletters
http://www.amibroker.com/newsletter/
Hope this helps.
Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
From: "au99991" <auttley@xxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Monday, August 25, 2003 10:59 AM
Subject: [amibroker] Re: Problem loading custom data into OHLCVI array
> Tony,
>
> Thanks for your reply. Unfortunately, I can't use the Import wizard
> as the files I'm importing from are not in a simple ticker, DMY,
> QuoteData format. Rather, I use a jscript to process the file to
> create both stock level and quote level data.
>
> However, the fact that the Import wizard will accept negative numbers
> leads me to believe there must be a way to import negatives using
> JScript in OHLC
>
> Can anyone help?
>
> Andy.
>
>
>
> --- In amibroker@xxxxxxxxxxxxxxx, "aew_o" <awenos@xxxx> wrote:
> > --- In amibroker@xxxxxxxxxxxxxxx, "au99991" <auttley@xxxx> wrote:
> > > I'm trying to load some custom data into the OHLCVI array from
> file
> > > using jscript.
> >
> > Andy,
> >
> > Try using a csv file and importing into AB using the Im port Wizard.
> > It has tick boxes that allow no quote checking and negative numbers.
> >
> > I use this successfully to get my trade data (Bot price, stop loss,
> > # shares, etc.) into AB and then use indicator panes to report the
> > data along with the chart.
> >
> > I place the data in the first bar and access it using:
> > SharesBot = Open[0];
> > BotPrice = High[0];
> > etc.
> >
> > I guess there would be no reason why you could not use multiple
> > bars, just watch so that your indicators do not require those
> > bars for any calculations.
> >
> > Regards,
> >
> > Tony
>
>
>
> Send BUG REPORTS to bugs@xxxxxxxxxxxxx
> Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
> -----------------------------------------
> Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
> (Web page: http://groups.yahoo.com/group/amiquote/messages/)
> --------------------------------------------
> Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for Your HP, Epson, Canon or Lexmark
Printer at Myinks.com. Free s/h on orders $50 or more to the US & Canada. http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/l.m7sD/LIdGAA/qnsNAA/GHeqlB/TM
---------------------------------------------------------------------~->
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
|