Generate a classical TXT point and figure plot.

Share:

Description

THIS FUNCTION IS STILL UNDER DEVELOPMENT, THEREFORE IT MIGHT BE SUBJECT TO CHANGE!

Usage

1
2
pnfplottxt(data, reversal = 3, boxsize = 1, log = FALSE, main = NULL,
  sub = NULL)

Arguments

data

a data frame object containing point and figure informations to be plotted

reversal

number of boxes used in pnfprocessor

boxsize

the boxsize used in pnfprocessor

log

are calculations done in logarithmic mode

main

a string used as a main title of the chart

sub

a string used as a sub title of the chart

References

http://rpnf.r-forge.r-project.org

See Also

pnfprocessor

pnfplot

Examples

1
2
3
4
5
6
7
8
9
library(rpnf) # Load rpnf library
data(DOW) # (Offline) Load free available sample data from https://www.quandl.com/data/WIKI/DOW
pnfdata <- pnfprocessor(
  high=DOW$High,
  low=DOW$Low,
  date=DOW$Date,
  boxsize=1L,
  log=FALSE)  
pnfplottxt(pnfdata,boxsize=1L,log=FALSE)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.