Public FunctionStochasticOScillator(PeriodK As Integer, SlowingK As Integer, PeriodD As Integer, Ma As ENUM_MA_METHOD) As String
The Stochastic Oscillator is a popular indicator that shows where a securitys price has closed in proportion to its closing price range over a specified period of time.
The Stochastic Oscillator has two components: %K and %D. %K is most often displayed as a solid line and %D is often shown as a dotted line.
The most widely used method for interpreting the Stochastic Oscillator is to buy when either component raises above 80 or sell when either component falls below 20.
Another way to interpret the Stochastic Oscillator is to buy when %K raises above %D, and conversely, sell when %K falls below %D.
|PeriodK||Period % k
|SlowingK||Slowing % k|
|PeriodD||Period % D
|MA||The value can be one of the ENUM_MA_METHOD|
Returns the handles of a technical indicator, in case of failure returns an empty string.
Leave A Comment