Description Usage Arguments Details Value Author(s) See Also Examples
relative and absolute length of a price candle
1 2 | CandleLength(TS)
CandleBodyLength(TS)
|
TS |
xts Time Series containing High and Low Prices for CandleLength |
Both a relative candle length (Hi-Lo)/(Hi+Lo)/2
and the absolute length (Hi-Lo)
is calculated.
A xts object containing the columns:
relCandleLength |
candle length / midpoint of candle |
absCandleLength |
candle length from low to high |
Andreas Voellenklee
1 2 3 4 5 6 | ## Not run:
getSymbols('YHOO',adjust=TRUE)
CandleLength(YHOO)
CandleBodyLength(YHOO)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.