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

[amibroker] Re: Problem loading custom data into OHLCVI array



PureBytes Links

Trading Reference Links

--- 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 Import 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 


------------------------ 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/