PureBytes Links
Trading Reference Links
|
hi,
If I set a ApplyStop for types stopTypeProfit and stopTypeLoss and I
use ExitAtStop = 1 what happens if both the stopLoss and the
stopProfit are hit intraday? Will the backtest take the loss or take
the profit (since one does not know from the o-h-l-c data which one
is hit first).
ApplyStop(stopTypeProfit,stopModePercent,p_stopProf,ExitAtStop =
1,Volatile = False, ReentryDelay = 1 );
ApplyStop(stopTypeLoss,stopModePercent,p_stopLoss,ExitAtStop =
1,Volatile = False, ReentryDelay = 1 );
rgds, Ed
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/GHeqlB/TM
---------------------------------------------------------------------~->
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
|