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

[amibroker] Re: OLE Automation problem



PureBytes Links

Trading Reference Links

--- In amibroker@xxxxxxxxxxxxxxx, "angus_83210" <rduncan@xxxx> wrote:
> I can't get OLE Optimization to work. I open the database and close 
> all the documents and open a new document with the ticker(in this 
> case "A").  I set the active document to that document and open the 
> analysis.  I then load the formula and settings then clear the 
> filters.  I set applyto = 1, rangemode=0,showwindow = 1 and then 
> optimize = 1.  This is where I am having my problems.  I get a 
dialog 
> box to ok the number of opt. steps.  Need away to bypass the dialog 
> box when doing OLE.  The next problems is that I don't have any data 
> to optimize.  I have tried to run the windows scripts that are in the
> OLE automation but they don't run.  I get a windows script host 
> error "No jobs are defined in the file"  Any ideas on how to make 
OLE 
> work with 4.70? Also it would be nice to make the Broker.Application 
> Module have a visible field like Excel does so a developer can watch 
> what is going on.
> 
> Thanks


Also get this message when I stop broker:

The thing that bothers me is that when I call this stock up within 
Amibroker I have 1000 quotes.  But when I call it up using OLE I have 
0.


AmiBroker version 4.70.5.4271
 ( cooltool.dll 4.70.5,  mfc42.dll 6.2.4131,  msvcrt.dll 7.0.2600 )

Microsoft Windows XP version 5.1 (Build 2600)
Service Pack 2.0
Common Controls: 6.0

Unhandled exception
Type:	CSysException
Code:	c0000005
Description:	ACCESS VIOLATION
Address:	4a490a48


AFL Parser status:
Processing stage: NONE
Formula ID: 0 ()
Action 5 (BACKTEST)

Additional information:

Number of stock loaded: 189
Currently selected stock: ADRE
Number of quotes (current stock): 0

Workspace:
Data source = DTNI, Data local mode = 1, NumBars = 1000

Preferences:
Data source = (local), Data local mode = 1, NumBars = 1000

Command history:

Cache manager stats:
Number of list elements: 188







Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html

 
Yahoo! Groups Links

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

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