Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Squeeze momentum indicator with ADX indicator

According to https://www.tradingview.com/script/nqQ1DT5a-Squeeze-Momentum-Indicator-LazyBear/,
the two strategies Bollinger Brands and Keltner Channel are quite similar to each other, however, BB is more flexible than KK, when BB lines stand inside KK lines, it suggests that there would be a trend later, and I include ADX and +-DI to help deciding buy and sale.

2 responses

One of my tasks is to normalize the return respect to S&P500.
But I don't know how to set S&P500 as benchmark because it's a set of assets, so basically just choosed one of the companies'AAPL', and calculate beta as well

thank you Karl