MCPcopy Create free account
hub / github.com/TreborNamor/TradingView-Machine-Learning-GUI / stochastic

Function stochastic

strategy/indicators.py:90–106  ·  view source on GitHub ↗

Stochastic Oscillator. Returns ``(%K, %D)``.

(
    high: pd.Series,
    low: pd.Series,
    close: pd.Series,
    k_length: int = 14,
    k_smoothing: int = 3,
    d_smoothing: int = 3,
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

generate_signalsMethod · 0.85

Calls 3

_idxFunction · 0.85
to_numpyFunction · 0.85
wrapFunction · 0.85

Tested by

no test coverage detected