Functions and data to construct technical trading rules with R.