TsangYouJun

Mean Reversion w/ Bollinger Bands

This is a more advanced version of my original mean reversion script.

It employs the famous Bollinger Bands .

This robot will buy when price falls below the lower Bollinger Band , and sell when price moves above the upper Bollinger Band .

I've only tested it on the S&P 500 , though you could try it out on other assets to see the backtest performance.

During the recent COVID-19 bear market drop, it produced several buy signals on the S&P which I followed, and made some nice gains so far.

I still think this would make a better investing strategy (buy undervalued / sell over-valued), rather than a trading strategy.

I use this robot for my long term portfolio.
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?