Guide
How does the Mean Reversion w/ Bollinger Bands strategy work ?
The Mean Reversion w/ Bollinger Bands strategy is designed for potential long-term investment benefits, utilizing the concept that prices tend to revert back to the mean. Specifically, this script:
- Purchases when the price drops below the lower Bollinger Band, suggesting the asset is potentially undervalued.
- Sells when the price rises above the upper Bollinger Band, indicating the asset might be overvalued.
- Employs a combination of simple moving averages (SMA) to define the trading bands, with a general focus on the S&P 500 index. Though, the script allows for experimentation with other assets.
- Incorporates the Relative Strength Index (RSI) as a filter, where a buy signal is confirmed if RSI is below 50, implying bearish momentum.
- Defines the quantity to purchase based on current equity, ensuring proportional positioning relative to the account size.
- Operates with a view that long-term trend signals may yield better results in an investing context versus short-term trading.
This approach has demonstrated efficacy during market downturns, like the COVID-19 bear market, where it signaled multiple buying opportunities.