[R-SIG-Finance] Need help getting stop-loss and take-profit orders to work with indicators

Mark Knecht markknecht at gmail.com
Wed Aug 6 18:41:35 CEST 2014


On Wed, Aug 6, 2014 at 9:37 AM, Joshua Ulrich <josh.m.ulrich at gmail.com> wrote:
> On Wed, Aug 6, 2014 at 11:32 AM, Ilya Kipnis <ilya.kipnis at gmail.com> wrote:
>> Mark,
>>
>> Are you using an outdated version of TTR? Josh had the same problem
>> when he tried my demo.
>>
> It's not "outdated", it's just not the development version on R-Forge.
> Please choose your words more carefully.  Also, since you knew this
> was a requirement to replicate the error, you should have included
> that information in your initial email.
>
>> My error isn't a "stop, program won't run" error, but a runtime error
>> of my exit rules not working--that is, I only get a few entry orders
>> filled, and then no exits ever.

Ah, then that answers it. I'm not using the version Joshua is talking
about. I'm using 0.22-0 which is what's offered as the latest in RStudio.

- Mark



More information about the R-SIG-Finance mailing list