Description Usage Arguments Details Value Author(s) Examples
look for N consecutive higher/lower close prices
1 2 | CSPNHigherClose(TS, N)
CSPNLowerClose(TS, N)
|
TS |
xts Time Series containing Close prices |
N |
number of candles to test for higher/lower close series |
Only the close price is evaluated. The colors of the candles are ignored.
A xts object containing the column:
<N>HigherClose |
TRUE if current close is the |
<N>LowerClose |
TRUE if current close is the |
Andreas Voellenklee
1 2 3 4 5 6 | ## Not run:
getSymbols('YHOO',adjust=TRUE)
CSPNHigherClose(YHOO, N=3) # filter for 3 consecutive higher close
CSPNLowerClose(YHOO, N=4) # filter for 4 consecutive lower close
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.