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