Aggregating Moving Averages in Python

Creating the Moving Average Ribbon

Sofien Kaabar, CFA

--

Detecting market regime is always a key concept in trading as it allows you to choose the right strategy. This article discusses and shows how to create the moving average ribbon using Python. Also, you will learn how to convert the ribbon to a heatmap for easier visual interpretation.

--

--