class_docstr: The regular (or slow version) adds an additional moving average layer and
  thus:
  
    - The percD line of the StochasticFast becomes the percK line
    - percD becomes a  moving average of period_dslow of the original percD
  
  Formula:
    - k = k
    - d = d
    - d = MovingAverage(d, period_dslow)
  
  See:
    - http://en.wikipedia.org/wiki/Stochastic_oscillator
class_docstr_tok: ["The","regular","(","or","slow","version",")","adds","an","additional","moving","average","layer","and","thus",":","-","The","percD","line","of","the","StochasticFast","becomes","the","percK","line","-","percD","becomes","a","moving","average","of","period_dslow","of","the","original","percD","Formula",":","-","k","=","k","-","d","=","d","-","d","=","MovingAverage","(","d",",","period_dslow",")","See",":","-","http",":","\/\/en.wikipedia.org\/wiki\/Stochastic_oscillator"]
code: def __init__(self):
      super(Stochastic, self).__init__()
      self.lines.percK = self.d
      self.l.percD = self.p.movav(
          self.l.percK, period=self.p.period_dslow
      )
  
file_path: backtrader/backtrader/indicators/stochastic.py
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  from .None import Indicator, Max, MovAv, Highest, Lowest, DivByZero
label_desc: Use image node_id 2 to create a new Stochastic object from inherited base classes: _StochasticBase with example: obj = Stochastic()