Return value of the Stochastic oscillator %K line over N periods of the selected price serie.

Syntax:

Calculation :

The first parameter is the number of days used to calculate %K, the second is the number of days to be considered for the moving average of %K (generally 1 for Fast Stochastic and 3 or 5 for Slow Stochastic), the third is the number of days to be considered for the moving average of %D.

“price1”, “price2” and “price3” are optional. By default the stochastic will be calculated with Close on the High/Low scale (same as the internal platform indicator). But you can adjust it with any other price or data series (e.g. Stochastic[N,K](close,close,close) or Stochastic[N,K](var1,var2,var3) )

Interpretation :

It is an overbought/oversold indicator depending on its position relative to the 0 level.

Is also gives good divergence signals.

A bullish divergence occurs when the stock price makes new lows while the stochastic fails to make new lows.

A bearish divergence occurs when the stock price makes new highs while the Stochastic fails to make new highs.

 

Example 1:

Example 2: (stochastic of RSI)

 

Related entries

Share this