Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Setting stop loss using moving average.

How do we set the 50 daily moving average or any MA as the stop loss while working with pipeline to build long-short models?