title: MACD plot in python similar to tradingview figure
body: <p>Here is an example of MACD plot using python.</p>
  <p><a href="https://code.luasoftware.com/tutorials/algo-trading/python-mplfinance-plot-yfinance-candle-chart-moving-average-macd-and-volume/" rel="nofollow noreferrer">https://code.luasoftware.com/tutorials/algo-trading/python-mplfinance-plot-yfinance-candle-chart-moving-average-macd-and-volume/</a></p>
  <p>I'd like the result (including colors and crossover points, etc.) to be the same as that of tradingview.com</p>
  <p><a href="https://www.tradingview.com/script/NDH8bJow-MACD-Colors-Signals/" rel="nofollow noreferrer">https://www.tradingview.com/script/NDH8bJow-MACD-Colors-Signals/</a></p>
  <p>Could anybody show the python so that it is the same as that of tradingview.com?</p>