TechnicalAnalysisRoutinesCalculateStochasticOscillatorValues Method |
LightningChart .NET Help
Calculate Stochastic Oscillator values using given number of time periods (n)
Namespace:
Arction.CustomControls.Trader.WPF.Routines
Assembly:
Arction.Wpf.TradingCharts (in Arction.Wpf.TradingCharts.dll) Version: 10.3.1
Syntaxpublic static void CalculateStochasticOscillatorValues(
double[] closeValues,
double[] highValues,
double[] lowValues,
int n,
out double[] soValues,
out double[] maValues
)
Public Shared Sub CalculateStochasticOscillatorValues (
closeValues As Double(),
highValues As Double(),
lowValues As Double(),
n As Integer,
<OutAttribute> ByRef soValues As Double(),
<OutAttribute> ByRef maValues As Double()
)
public:
static void CalculateStochasticOscillatorValues(
array<double>^ closeValues,
array<double>^ highValues,
array<double>^ lowValues,
int n,
[OutAttribute] array<double>^% soValues,
[OutAttribute] array<double>^% maValues
)
Parameters
- closeValues
- Type: SystemDouble
OHLC close values - highValues
- Type: SystemDouble
OHLC high values - lowValues
- Type: SystemDouble
OHLC low values - n
- Type: SystemInt32
Period count - soValues
- Type: SystemDouble
Stochastic oscillator values - maValues
- Type: SystemDouble
3 day moving average values based on stochastic oscillator values
See Also