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

Re: [amibroker] backtest - multiple buys



PureBytes Links

Trading Reference Links

you will need to load the latest Beta version


On Mon, 21 Feb 2005 21:13:05 -0000, mikelaurataylor
<mikelaurataylor@xxxxxxxxx> wrote:
> 
> 
> I think I'm doing something dumb or have a setting set that I'd like
> to change.
> 
> If I back test a system and the buy signal is triggered 4 times
> before a sell signal, my system currently only buys the first time.
> 
> How can I change this so it buys even if there is no sell signal to
> close out the first one.
> 
> I set up a simple test just to make sure it wasn't something dumb in
> my code.  For instance, I'm looking at a stock that is < 42 and > 40
> for a few hours.
> 
> If I'm working in 15 minute increments and use the following code:
> 
> Buy = Open < 42;
> Sell = Open > 45;
> Short = Open > 50;
> Cover = Open < 35;
> 
> I should get a bunch of buy signals, but I"m only getting one.
> 
> THanks; sorry since I think this should be simple.
> 
> 
> 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
> 
> 
> 
> 
> 


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


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Has someone you know been affected by illness or disease?
Network for Good is THE place to support health awareness efforts!
http://us.click.yahoo.com/Rcy2bD/UOnJAA/cosFAA/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/