# Python: How to Graph the Chaikin Money Flow Trading Indicator in Matplotlib | Summary and Q&A

1.6K views
November 27, 2013
by
sentdex
Python: How to Graph the Chaikin Money Flow Trading Indicator in Matplotlib

## TL;DR

Learn how to plot the Shoiken money flow and oscillator line using Python and Matplotlib.

## Key Insights

• 🤑 This video is part of a tutorial series on calculating and plotting the Shoiken money flow and oscillator line using Python.
• 🫵 Viewers are provided with sample data code to easily follow along.
• 🤑 The video covers steps to paste the code, fix indentation, and plot the Shoiken money flow using Matplotlib.
• 🫥 An issue with the oscillator line is addressed, and viewers are guided on how to fix it.
• 🤑 The Shoiken money flow reveals the flow of money entering or leaving a financial instrument.
• ⏳ The plotted line represents the change in the Shoiken money flow over time.
• 🤑 The oscillator line represents the difference between positive and negative money flow.
• 🫥 The use of fill_between function in Matplotlib allows for visual representation of the oscillator line.

## Transcript

what's going on guys welcome to the third part of the shoiken money flow tutorial video mini series uh where we left off we actually calculated the shocking mineflow now we actually want to chart it up so if you don't have the sample data code the link is in the description for that code and down here is the actual code so just do a nice highlight ... Read More

### Q: What is the purpose of this video tutorial series?

The purpose of this series is to teach viewers how to calculate and plot the Shoiken money flow and oscillator line using Python.

### Q: Where can viewers find the sample data code?

The sample data code can be found in the video description.

### Q: How can viewers plot the Shoiken money flow using Python?

Viewers can follow the instructions in the video to paste the provided code into an empty script, fix indentation, add variables, and use Matplotlib to plot the Shoiken money flow.

### Q: What should viewers do if they encounter an issue with the oscillator line?

If viewers encounter an issue with the oscillator line being too large, they should check the code where "y is less than the length of mfes" and make sure "x" variables are changed to "y" variables.

## Summary & Key Takeaways

• This video is the third part of the Shoiken Money Flow tutorial series, focusing on charting the calculated Shoiken money flow.

• Viewers are provided with sample data code in the video description to follow along.

• The video covers how to paste the code, fix indentation, add variables, plot the basic line, and add the oscillator line using fill_between from Matplotlib.