Bollinger Band Trend Chaser
Overview
The idea of this strategy is to be a low risk strategy on trending stocks (or any other trending market), aiming to achieve minimal drawdown (e.g. at time of writing AAPL only had ~1.36% draw down, FB ~1.93% draw down and the SPY was 0.80% draw down and all remained profitable).
Principle
The strategy utilizes the 200 day Moving Average, a Custom Bollinger Band, a TSI with 52 period weighted moving average and ADX strength.
Buy signal is given when trading above the 200 moving average + 5 candles have closed above the upper custom Bollinger + the TSI is positive + ADX is above 20.
Advantages
The advantages of this strategy are low drawdown and minimum risk. It is suitable for most trending stocks with low risk operation. According to the test data, the return is high and AAPL only had the maximum drawdown of 1.36% and FB had the maximum drawdown of 1.93% during the test period.
By combining multiple technical indicators such as Bollinger Bands, MA lines, TSI indicators, and using ADX to determine the strength of the trend, it buys when the trend goes up, trying to catch the mid-to-long term upside potential of the trending stocks. Compared with judging by a single indicator, this strategy uses multiple technical indicators for more accurate and reliable judgments and lower risks.
It also contains a stop loss strategy that locks in profits by stopping losses in a timely manner when the TSI indicator changes direction, effectively controlling risks.
Risk Analysis
The main risks faced by this strategy are two:
-
Black swan event risk. Some black swan events may cause stocks to plummet sharply and cannot be stopped loss.
-
Trend ending risk. When the stock moves from trending to consolidation, there may be greater drawdowns.
For risk 1, more strict stop loss mechanisms can be set, or manual intervention stops can be used. For risk 2, more judgment factors can be combined to detect the end of the trend, such as increasing the trading volume indicator.
Optimization Directions
The strategy can also be optimized in the following aspects:
-
Add a stop loss strategy to set more precise stop loss points to better control risks.
-
Optimize the moving average parameters to test the stability of different parameter combinations.
-
Increase momentum indicators to more accurately determine the beginning and end of trends.
-
Test longer time cycle parameters to suit longer term operations.
Conclusion
This strategy determines buying opportunities by using ADX to determine trend strength, TSI indicators to determine trend direction, Bollinger Bands to determine breakouts, and moving averages to determine long-term trends. The verification of multiple indicators can effectively control risks. This strategy is suitable for long-term tracking of trending stocks with low drawdowns and high returns. But it still needs to be optimized for risks to make the strategy more robust.
/*backtest
start: 2023-01-01 00:00:00
end: 2023-11-21 00:00:00
period: 1d
basePeriod: 1h
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © gary_trades
//This script has been designed to be used on trending stocks as a low risk trade with minimal drawdown, utilising 200 Moving Average, Custom Bollinger Band, TSI with weighted moving average and ADX strength.
//Backtest dates are set to 2010 - 2020 and all other filters (moving average, ADX, TSI , Bollinger Band) are not locked so they can be user amended if desired. - 1

