Description Arguments Details Usage Public Members and Methods See Also
C++ class documentation
InputType |
|
n |
indicator period |
nFast |
fast smooth |
nSlow |
slow smooth |
R function stochastic.
Stochastic< InputType >( int n, int nFast, int nSlow )
| Name | Return Type | Description |
Add( InputType value ) | void | update indicator |
Reset() | void | reset to initial state |
IsFormed() | bool | is indicator value valid? |
GetValue() | StochasticValue | has members double kFast, dFast, dSlow |
GetKFastnHistory() | std::vector< double > | return k fast history |
GetDFastHistory() | std::vector< double > | return d fast history |
GetDSlowHistory() | std::vector< double > | return d slow history |
GetHistory() | List | return values history data.table with columns k_fast, d_fast, d_slow
|
Other C++ indicators: BBands,
Crossover, Ema,
Indicator, RollLinReg,
RollPercentRank, RollRange,
RollSd, RollVolumeProfile,
Rsi, Sma
Other C++ classes: BBands,
Candle, Cost,
Crossover, Ema,
Indicator, Order,
Processor, RollLinReg,
RollPercentRank, RollRange,
RollSd, RollVolumeProfile,
Rsi, Sma, Tick
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.