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

Re: [amibroker] AFL Runtime error - Frustrating



PureBytes Links

Trading Reference Links

Thomasz,

Here is the problem code ...

The way I see the error is that it appears in the interpretation window.

This code is designed to generate trade signals and send them to broker via
NinjaTrader.
It uaes a Ninja Simulator when Autotest =0, so Ninja Tradeer is not
necessary.

>From the parameter box, the backtest and Autotest parms should be left on
"0"

The reset should be activated each time you start testing a series of dates.

The error is reproducible when the trade closes an existing position.

I am testing with NQ1600 from from 5/19/04 to 6/04/04. Trade goes nong on
5/20 and closes position on 6/04.

Problem shows on 6/04.... as an error 11 (too many arguments) message in
Interpretation window.  No other hint.

Should be reporducible with any price data.

The trigger for signals is a simple stochastic, displayed on prices.

Title line display trade status

Thanks

Ara


----- Original Message ----- 
From: "Tomasz Janeczko" <amibroker@xxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Wednesday, September 08, 2004 11:06 AM
Subject: Re: [amibroker] AFL Runtime error - Frustrating


> Hello,
>
> Too many arguments means exactly this: that you have provided too many
arguments in the function call.
> The cursor should mark the function where you made such mistake.
> In case of further problems please send the formula for checking.
>
> Best regards,
> Tomasz Janeczko
> amibroker.com
> ----- Original Message ----- 
> From: "Ara Kaloustian" <ara1@xxxxxxxxxx>
> To: "AB-Main" <amibroker@xxxxxxxxxxxxxxx>
> Sent: Wednesday, September 08, 2004 7:55 PM
> Subject: [amibroker] AFL Runtime error - Frustrating
>
>
> >
> > I am getting an error during normal running of the code... even though
the code was accepted OK when I pressed "Apply".
> >
> >
> > Error 11
> > Too many arguments
> >
> > and AB points to the end of the code
> >
> >
> > With this information it's very difficult to debug and find problems
> >
> > Is there a way to get better definition of where the problem is?
> >
> > Ara
> >
> > [Non-text portions of this message have been removed]
> >
> >
> >
> >
> > Check AmiBroker web page at:
> > http://www.amibroker.com/
> >
> > Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
> >
>
>
>
> Check AmiBroker web page at:
> http://www.amibroker.com/
>
> Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> Yahoo! Groups Links
>
>
>
>
>
>


[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.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/