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

[amibroker] Re: Please confirm this !!! ???



PureBytes Links

Trading Reference Links

Hallo all !

Just a quick question.  I have created a backtest for some criteria.  
I am using the stopTypeProfit and stopTypeLoss to control trades.  
The SELL signal and COVER signals are:

Sell = TimeNum()==170000; 
Cover = TimeNum()==170000; 

Thus, if the trade is not stopped out vie a profit target or a 
stoploss and it is still open at 17H00 it will close the position and 
take what is on the table or in the rubish bin :-)

What I ahve noticed during the backtests is that there are many 
transactions that were not closed by any of the above criteria...it 
would appear as if the profit nor the loss has been met, and a new 
signal is given in the mean time, it would close the existing 
position.

Is the true or am I doing something wrong here ...

Kind regards and thanks in advance !

Louw Coetzer



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/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/