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

[amibroker] Re: Strange behavior (Long(6): exit price a fraction)



PureBytes Links

Trading Reference Links

You get Long(6) when your sell statement evaluates to 6 ie sell = 6
check your sell statements.

--- In amibroker@xxxxxxxxxxxxxxx, "vlanschot" <vlanschot@xxx> wrote:
>
> Hi,
> 
> I seem to have a recurring problem in my optimization/backtest, whereby at some point the trade enters and exits on the same day and returns "Long(6)", with an exit price listed as decimals:
> 
> Trade   Date            Price   Ex.Date         Ex.Price
> Long(6) 26/08/2009      1181.75 26/08/2009      0.4727	
> 
> Looking at the chart, as well as in the quote monitor, the data seems OK.
> 
> Can somebody please enlighten me on what may cause this behavior? For all clarity my Buy rule is simply Buy = 1.
> 
> Thx,
> 
> PS
>




------------------------------------

**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to 
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

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/