Show Sidebar Hide Sidebar

Moving Average Convergence Divergence in Pandas

Moving average convergence divergence in Pandas and Cufflinks.

Moving Average Convergence Divergence in Cufflinks

MACD: A trend-following momentum indicator that shows the relationship between two moving averages of prices.

In [10]:
import cufflinks as cf
import pandas as pd

cf.set_config_file(world_readable=True,offline=False)

cf.datagen.lines(1,200).ta_plot(study='macd',fast_period=12,slow_period=26, signal_period=9)
Out[10]:
Still need help?
Contact Us

For guaranteed 24 hour response turnarounds, upgrade to a Developer Support Plan.