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

RE: [amibroker] Backtesting: Buy Signal No Earlier Than 4 Days After Last Sell Signal.



PureBytes Links

Trading Reference Links

Graham,
This works the same as the BarsSince(Sell) I used. I am still getting entries the day after the exit.
Is there any way to use BarsSince(Ex.Date) ?
Scott
-----Original Message-----
From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx]On Behalf Of Graham
Sent: Tuesday, May 17, 2005 6:37 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker] Backtesting: Buy Signal No Earlier Than 4 Days After Last Sell Signal.

you may need to do this in 2 steps

Buysig = buyconditions;
Sellsig = sellconditions;
buy = busig and barssince(sellsig)>=5;
sell = sellsig;

hope this helps



On 5/18/05, Scooter <mariani@xxxxxxxxxx> wrote:
> I now have to wait until my stock sale has settled before I can put in
> another trade.

> I have been trying to use "AND BarsSince(Sell)>=4" in my Buy formula but it
> doesn't seem to work. I am still getting Buy signals the day after the Sell
> was executed in the backtester.

> Anyway to handle this Buy delay?

> Thanks, Scott
>
> 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 the Yahoo! Terms of Service.


--
Cheers
Graham
http://e-wire.net.au/~eb_kavan/


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





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