This is the main PNF-Workhorse, which transforms a given time series into X and O's. Furthermore it provides already simple Buy/Sell signals, based on checking if the second last colum.
1 2 | xo.processor(high, low = high, date, reversal = 3L, boxsize = 1,
log = FALSE)
|
high |
Vector of high quotes |
low |
Vector of low quotes. If skipped, high are taken as low. |
date |
Vector of dates of the time series. |
reversal |
Number of boxes necessary for a reversal |
boxsize |
A single numeric value, indicating the boxsize to be considered. |
log |
TRUE, if logarithmic scales should be used. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.