PureBytes Links
Trading Reference Links
|
hi,
I asked this before but did not get an answer yet (also not from the
helpdesk). Hope it is not an obvious mistake I make ...
I have the following simple setup
<FONT
color=#0000ff>ApplyStop(<FONT
color=#000000>stopTypeNBar,<FONT
color=#000000>stopModeBars,nb,ExitAtStop =
1,Volatile = <FONT
color=#000000>False, ReentryDelay =
1<FONT
size=2> ); <FONT
face="Courier New">ApplyStop<FONT
color=#000000>(stopTypeProfit<FONT
color=#000000>,stopModePoint<FONT
color=#000000>,mul1*ATR<FONT
color=#000000>(sp),ExitAtStop = 1<FONT
color=#000000>,Volatile = False<FONT
color=#000000>, ReentryDelay = <FONT
color=#ff00ff>1<FONT
color=#000000> ); SellPrice<FONT
color=#000000> = O<FONT
face="Courier New">; <FONT
color=#000000>CoverPrice = <FONT
color=#000000>O<FONT
size=2>;
<FONT
face="Courier New">
say nb is 1. Then the day after
purchase it should exit at the open due to the stopModeBars
stop. However in the case it sees a profitstop that
same day (on which it should exit at the open price) it will not exit at the
open but it will exit at the profit stop. This is wrong. There should be a
setting to avoid this. But how?
<FONT
face="Courier New">
thnx,
rgds,
Ed
Check AmiBroker web page at:
http://www.amibroker.com/
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Sponsor
ADVERTISEMENT
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.
|