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

[amibroker] Re: JScript Question



PureBytes Links

Trading Reference Links

Thanks for the quick response!  That worked.  Clearly I'm no mental
giant when it comes to JScript!  I'm just learning, and trying to
interpret the Help files with AmiBroker.

eman



--- In amibroker@xxxxxxxxxxxxxxx, "dingo" <dingo@xxxx> wrote:
>
> I'm no Java expert but I think you're trying to use methods wrongly.
>  
> Try it in 2 steps:
>  
> AB.Analysis.Optimize(0);
>  
> and
>  
> AB.Analysis.Export("File.csv");
>  
> d
> 
> 
>   _____  
> 
> From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx]
On Behalf
> Of eman197
> Sent: Saturday, October 29, 2005 3:44 PM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: [amibroker] JScript Question
> 
> 
> I am writing a script to save Optimization results.  I am having a
> problem with the AB.Analysis.Optimize.Export line below. The error I
> get is "Wrong number of arguments or invalid property assignment". I
> believe I have incorrect syntax with the file name and have tried many
> different combinations, but I have not solved this.  When I comment
> out this line, the rest of the script works fine.  Any help will be
> greatly appreciated.
> 
> eman
> 
> AB = new ActiveXObject ("Broker.Application");
> 
> ...rest of script...
> 
> AB.Analysis.Optimize.Export("file.csv");
> 
> 
> 
> 
> 
> 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
> 
> 
> 
> 
> 
> 
> SPONSORED LINKS 
> Investment
>
<http://groups.yahoo.com/gads?t=ms&k=Investment+management+software&w1=Inves
>
tment+management+software&w2=Real+estate+investment+software&w3=Investment+p
>
roperty+software&w4=Software+support&w5=Real+estate+investment+analysis+soft
>
ware&w6=Investment+analysis+software&c=6&s=209&.sig=7eLbIobNLPiaCdUon6xw5w>
> management software 	Real
>
<http://groups.yahoo.com/gads?t=ms&k=Real+estate+investment+software&w1=Inve
>
stment+management+software&w2=Real+estate+investment+software&w3=Investment+
>
property+software&w4=Software+support&w5=Real+estate+investment+analysis+sof
>
tware&w6=Investment+analysis+software&c=6&s=209&.sig=qVIy7aeMM52465dBhias7w>
> estate investment software 	Investment
>
<http://groups.yahoo.com/gads?t=ms&k=Investment+property+software&w1=Investm
>
ent+management+software&w2=Real+estate+investment+software&w3=Investment+pro
>
perty+software&w4=Software+support&w5=Real+estate+investment+analysis+softwa
>
re&w6=Investment+analysis+software&c=6&s=209&.sig=lHCxQveBvqqJN_C2-8J8yw>
> property software 	
> Software
>
<http://groups.yahoo.com/gads?t=ms&k=Software+support&w1=Investment+manageme
>
nt+software&w2=Real+estate+investment+software&w3=Investment+property+softwa
>
re&w4=Software+support&w5=Real+estate+investment+analysis+software&w6=Invest
> ment+analysis+software&c=6&s=209&.sig=-fzwVY_vCOoY7G2TwUPN7w>
support 	Real
>
<http://groups.yahoo.com/gads?t=ms&k=Real+estate+investment+analysis+softwar
>
e&w1=Investment+management+software&w2=Real+estate+investment+software&w3=In
>
vestment+property+software&w4=Software+support&w5=Real+estate+investment+ana
>
lysis+software&w6=Investment+analysis+software&c=6&s=209&.sig=2hBKzxWX871GuN
> wCwK7E_Q> estate investment analysis software 	Investment
>
<http://groups.yahoo.com/gads?t=ms&k=Investment+analysis+software&w1=Investm
>
ent+management+software&w2=Real+estate+investment+software&w3=Investment+pro
>
perty+software&w4=Software+support&w5=Real+estate+investment+analysis+softwa
>
re&w6=Investment+analysis+software&c=6&s=209&.sig=tdsnvsyEa54tWePPTX538Q>
> analysis software 	
> 
>   _____  
> 
> YAHOO! GROUPS LINKS 
> 
> 
> 	
> *	 Visit your group "amibroker
> <http://groups.yahoo.com/group/amibroker> " on the web.
>   
> 
> *	 To unsubscribe from this group, send an email to:
>  amibroker-unsubscribe@xxxxxxxxxxxxxxx
> <mailto:amibroker-unsubscribe@xxxxxxxxxxxxxxx?subject=Unsubscribe> 
>   
> 
> *	 Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
> <http://docs.yahoo.com/info/terms/> . 
> 
> 
>   _____
>





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Try Online Currency Trading with GFT. Free 50K Demo. Trade 
24 Hours. Commission-Free. 
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

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/