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

Function macd

strategy/indicators.py:73–87  ·  view source on GitHub ↗

MACD. Returns ``(macd_line, signal_line, histogram)``.

(
    values: pd.Series,
    fast_length: int = 12,
    slow_length: int = 26,
    signal_length: int = 9,
)

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