Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

stochastic

Stochastic


Description

Stochastic oscillator shows position of price in respect to its range over n past values.

Usage

stochastic(x, n, nFast, nSlow)

Arguments

x

high, low, close data.frame or numeric vector

n

window size

nFast

fast smooth

nSlow

slow smooth

Value

data.table with columns k_fast, d_fast, d_slow

See Also


QuantTools

Enhanced Quantitative Trading Modelling

v0.5.7.1
GPL-3
Authors
Stanislav Kovalevsky
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.