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

[amibroker] Re: Problem shorting in backtest



PureBytes Links

Trading Reference Links

Thanks Graham - simple & obvious!

Kevin


--- In amibroker@xxxxxxxxxxxxxxx, Graham <kavemanperth@xxxx> wrote:
>
> check to see if the AA settings are for short, and not just long
> 
> 
> --
> Cheers
> Graham
> AB-Write >< Professional AFL Writing Service
> Yes, I write AFL code to your requirements
> http://e-wire.net.au/~eb_kavan/ab_write.htm
> 
> 
> On 10/31/05, kevinoversby <kevinoversby@xxxx> wrote:
> > I have my entries and exits set up and they show up fine in a scan.
> > When I do a backtest it returns blank.
> >
> > Buy = 0;
> > Sell = 0;
> > Short = ExRemSpan(IIf(L < (C - ATR_mult * ATR(30)),short_cond,0),5);
> > Cover = Cross(H,(EMA(H,5) + ATR_mult * ATR(30)));
> >
> > If I move the entry and exit to Buy & Sell instead of Short & Cover it
> > works too.  Is there a switch I need to set to get shorts to work?
> > What am I doing wrong?  I have margin set at 50%.
> >
> > Thanks
> >
> > Kevin
> >
>






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