Returns the Stochastics specified period and %k.
| Visual Basic |
Public Function Stochastics ( _ period As Integer, _ percentK As Integer _ ) As RealCodeIndicatorCalculation
Returns a RealCodeIndicatorCalculation. Can be used to chain more function calls
Not used during manual loop calculations
Examples
Example: Plot the 5 bar moving average of the 12,3 Stochastics
CopyVB.NET
plot = price.Stochastics(12,3).AVG(5)