[R-SIG-Finance] price channel

R. Michael Weylandt michael.weylandt at gmail.com
Sat Jan 14 02:37:43 CET 2012


Perhaps runMax() and runMin() in TTR would let you code this up easily.

Michael

On Fri, Jan 13, 2012 at 2:30 PM, Michael <comtech.usa at gmail.com> wrote:
> Hi all,
>
> I am looking for the command/functions for defining price channel:
>
> A price channel is defined by the highest high and lowest low over some
> past number of bars. A trade is signaled when the market breaks out above
> or below the channel.
>
> Could you please point me to the right places?
>
> Thanks a lot!
>
>        [[alternative HTML version deleted]]
>
> _______________________________________________
> R-SIG-Finance at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-finance
> -- Subscriber-posting only. If you want to post, subscribe first.
> -- Also note that this is not the r-help list where general R questions should go.



More information about the R-SIG-Finance mailing list