CSPInside {candlesticks} | R Documentation |
Look for inside days and outside days in a OHLC price series
CSPInsideDay(TS) CSPOutsideDay(TS)
TS |
xts Time Series containing OHLC prices |
Number of candle lines: 2
Inside Day:
In an inside day, the bar remains within the previous day's bar high and low.
Outside Day:
In an outside day, the bar's high is higher than the previous day's bar high and the low lower than the previous day's low.
A xts object containing the column:
InsideDay |
TRUE if current candle is a inside day |
OutsideDay |
TRUE if current candle is a outside day |
Andreas Voellenklee
The following site(s) were used to code/document this indicator:
http://www.investopedia.com/terms/i/inside_day.asp#axzz1jWelu1cm
http://www.investopedia.com/terms/o/outside-days.asp#axzz1jWelu1cm
## Not run: getSymbols('YHOO',adjust=TRUE) CSPInsideDay(YHOO) CSPOutsideDay(YHOO) ## End(Not run)