PureBytes Links
Trading Reference Links
|
Try using Cross( timenum(), 170000 );
If there is no trade at exactly 170000, then the signal may not be
triggered.
Cheers,
Graham
http://e-wire.net.au/~eb_kavan/
-----Original Message-----
From: louwcoetzer [mailto:lcoetzer@xxxxxxxxxxxx]
Sent: Wednesday, July 07, 2004 12:29 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Please confirm this !!!
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
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
------------------------ 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/
|