Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Pipeline: How to Calculate Previous Weeks MACD Signal Line

I'm trying to create a MACD signal line to compare histogram from today and five days ago. I've made a couple custom factors to aid in this but seem to have run into a dead end. I now know you cannot pass filters as inputs for other filters so I'm lost on how to continue. The attached notebook shows my current state. I'm very new to pipelines in general and may have went about this the wrong way.

In the end what I'm trying to accomplish is a pipeline of assets with a column labeled MACD_Wkly_Rising that is either True or False based on todays value vs. 5 days ago.

Thanks