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

Re: [amibroker] AB crashes when i use AddToComposite with name() and atcFlagEnableInBacktest


  • To: <amibroker@xxxxxxxxxxxxxxx>
  • Subject: Re: [amibroker] AB crashes when i use AddToComposite with name() and atcFlagEnableInBacktest
  • From: "Ara Kaloustian" <ara1@xxxxxxxxxx>
  • Date: Mon, 23 Jul 2007 08:49:35 -0700

PureBytes Links

Trading Reference Links

Thomas

I ran your code against SP500 list and ran OK.

I do have problems with ATC with my code, that are different.

I have been using ATC for quite a while without problems, but recently I do 
several problems. Mostly ATCs do not write to disk even though they do go 
through the code.

Ara


----- Original Message ----- 
From: "Thomas Zmuck" <tzmuck@xxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Monday, July 23, 2007 3:43 AM
Subject: [amibroker] AB crashes when i use AddToComposite with name() and 
atcFlagEnableInBacktest


> Hello,
>
> AmiBroker crashes when i use name() and atcFlagEnableInBacktest in the
> AddToComposite function. Can someone confirm this ?
> Is there any reason for this behaviour and solution to prevent it ?
> Here is my code to reproduce. Please run it over all symbols, because
> it seems to depend on the symbol or any other factor.
>
> // long trades entry and exit rules:
> Buy = Cross( CCI(), 100 );
> Sell = Cross( 100, CCI() );
>
> // short trades entry and exit rules:
> Short = Cross( -100, CCI() );
> Cover = Cross( CCI(), -100 );
>
> CompName = Name();
> //CompName = "WithoutNameFunction"; //no crashes
> // Also no crashes if i use name() but not atcFlagEnableInBacktest
>
> AddToComposite(1, "TEST_" + CompName, "Open",
> atcFlagDefaults|atcFlagEnableInBacktest|atcFlagDeleteValues);
>
>
> -- 
> Kind regards
> Thomas
> www.PatternExplorer.com
>
>
> 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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> http://www.amibroker.com/devlog/
>
> For other support material please check also:
> http://www.amibroker.com/support.html
>
> Yahoo! Groups Links
>
>
>



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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

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/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

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