[R-SIG-Finance] Donchian Channel in TTR

Andreas Voellenklee wotuzu17 at gmail.com
Sun Apr 8 09:05:52 CEST 2012


Ok, so the other implementation of Donchian Channel, where the current
price is not included in calculation would be:

> getSymbols("YHOO", adjust=TRUE)
> head(cbind((YHOO), lag(DonchianChannel(cbind(Hi(YHOO),Lo(YHOO)),n=5)),k=1),n=10)

Andreas



More information about the R-SIG-Finance mailing list