Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
cloned algorithm

I ran a cloned algorithm, which worked especially fine in a downmarket. I do not know if someone can revise it somehow so that it also works well in a bull market. The problem is that when the market is bullish, it took the algorithm to catch the bull. I believe by adding RSI it may work.