Description Usage Arguments Details Value Author(s) References Examples
Look for inside days and outside days in a OHLC price series
1 2 | 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
1 2 3 4 5 6 | ## Not run:
getSymbols('YHOO',adjust=TRUE)
CSPInsideDay(YHOO)
CSPOutsideDay(YHOO)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.