BasicHiLoLimit - how to apply trailing stop loss
Author: slin68
Creation Date: 6/3/2010 6:35 PM
profile picture

slin68

#1
Specifically, I saw code includes trailing stop loss (#region Trailing Stop). However, I am not sure how to apply it. Is there a UI that I can set trailing stop loss? If not, how can I apply trailing stop loss to this strategy? Using parameter?

In general, if I want to add trailing stop loss (or any other kind, e.g. stop loss, stop limit loss, trailing stop limit) to any strategy, what is right way to do it? any way from UI? Otherwise, I think I can use same code as in BasicHiLoLimit, then same as above question, how can I apply trailing stop loss to the strategy? Additionally, do we have function sell at trailing stop limit?

Thanks,
profile picture

Eugene

#2
FYI: whenever you want to discuss a published strategy, please go to "Strategies and Trading", find that strategy, and click on "x Topics" - this will lead you to the discussion forum:

BasicHiLoLimit
profile picture

slin68

#3
Thanks. I got it. This is what I was looking for: http://www2.wealth-lab.com/WL5Wiki/kbAutoStops.ashx
profile picture

Eugene

#4
Since this code is already included in Community.Components, it might make your Strategy code more manageable and concise if you employ this code instead:

Community Components > AutoStops
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).