RealCode API
Stochastics Method (period, percentK)
RealCode APIWBI.CommonBlocksRealCodeIndicatorStochastics(Int32, Int32)
Returns the Stochastics specified period and %k.
Declaration Syntax
Visual Basic
Public Function Stochastics ( _
	period As Integer, _
	percentK As Integer _
) As RealCodeIndicatorCalculation
period (Int32)
The number of bars to perform the average
percentK (Int32)
The %K parameter for the Stochastics
Return Value
Returns a RealCodeIndicatorCalculation. Can be used to chain more function calls
Not used during manual loop calculations
Example: Plot the 5 bar moving average of the 12,3 Stochastics
plot = price.Stochastics(12,3).AVG(5)
See Also

Assembly: WBI.CommonBlocks (Module: WBI.CommonBlocks) Version: (