Aggregating Moving Averages in Python
Creating the Moving Average Ribbon
6 min readMay 26, 2022
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.