--- In [email protected], "Mark H" <[EMAIL PROTECTED]> wrote:
>
> Same day stop exit would be hard to back test using daily data
unless you use entry at open. If you don't, there is no way to know
whether your entry or the stop is hit *first* on a daily bar. I think
that's the reason why trailing stop doesn't support same day exit. If
you do use entry at open, you can certainly simulate the trailing stop
yourself using your own code instead of ApplyStop().


For my case i enter based on close but enter on next days open. My own
coded trailing stop seems ok, until i do real tight trail i.e. 0.1*ATR.

The trailing stop is hung form yesterdays high, so on some trade
entries i think the entire days O,H,L,C is already lower than the
exit. So somehow the trade is not entered.

would you happen to know coding for a "real" trailing stop?

regards.






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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

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/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to