Skip to content
Prev 13729 / 15274 Next

Trailing stop not working in R (Luxor example)

Hi Peter,

I had submitted a problem with the trailing stop in quantstrat 2 weeks
ago. I have looked at the code in the orders.R and ruleproc.R and
still have not discovered the problem. It does not update on every
higher high, or lower low. But in a more jumpy fashion, especially if
you use prefer= anything other than close. Although diving in to that
code, the logic seemed correct. I just have not found that the
trailingstop is reliable at this time in quantstrat.

-Derek

On Mon, Mar 7, 2016 at 12:47 AM, Peter Neumaier
<peter.neumaier at gmail.com> wrote: