Credit to LazyBear and Kiasaki for code used in this indicator.
Squeeze Momentum indicator illustrates when a momentum squeeze is happening by calculating when Bollinger Bands are within a Keltner Channel.
This simple strategy is based on when the momentum is crossing positive or negative.
Green = Long
Red = Short
White = No Trade
Hey Guys, publishing this code so you can feel free to try out the squeeze momentum strategy for yourself!
If you guys think you can make any improvements on this yourself, or even code this exact version (using pipeline and everything) into quantopian, please let me know!!