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

[amibroker] A question on ApplyStops



PureBytes Links

Trading Reference Links

Could someone who understands ApplyStops answer this question?
In my trade list results, I have some trades exiting at 15 bars, with 
the "Trade" column showing "Long(n-bar)". This is because I have in my 
code:
ApplyStop( stopTypeNBar, stopModeBars, ExitDays, True ); 
(ExitDays=14).
However, the next line in the trade list shows in the "Trade" column 
as "Long", and exiting at 21 bars.
Why didn't the ApplyStop work in that case?
P.S. My "settings" window shows everything as "disabled", and I have 
the following statement in my code: SetTradeDelays( 1, 1, 1, 1 ); 





------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a href="http://us.ard.yahoo.com/SIG=12hiti3ls/M=362131.6882500.7825259.1493532/D=groups/S=1705632198:TM/Y=YAHOO/EXP=1123623172/A=2889190/R=0/SIG=10r90krvo/*http://www.thebeehive.org
">Put more honey in your pocket. (money matters made easy) Welcome to the Sweet Life - brought to you by One Economy</a>.</font>
--------------------------------------------------------------------~-> 

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.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/