<div dir="ltr"><div class="gmail_quote"><div dir="ltr"><div><div>Hi,<br><br>I have been experimenting with trailing stops in quantstrat.  I noticed in the order book that ocassionaly a replacement row for the trailing stop order chain occurs when no recent high price has been acheived, and appears to replaced with a "lower" high price.  I do not think this is suposed to occur (but I could be wrong as I do not fully understand the replacement rules)<br>
<br>My intuition tells me that a new chaining order in the order book should only occur when a new high price has been acheived.<br><br>You can see an example of the "lowered" high price in the attached jpg file near 4/16/14 and 4/17/14.  I have also attached a modified macd.R I used to create this chart. <br>
(Here's a pdf version of the chart that was too big for the mailing list: <a href="https://dl.dropboxusercontent.com/u/56008826/Macd-TrailingStop-Annotated.pdf">https://dl.dropboxusercontent.com/u/56008826/Macd-TrailingStop-Annotated.pdf</a>)<br>
<br>I would appreicate any comment regarding the lowering high price.<br><br></div><div>Thank you,<br></div><div><br>--<br>sm<span class=""><font color="#888888"><br>Stergios Marinopoulos</font></span></div></div></div>
</div><br></div>