The Gunbot Bands Strategy
The Gunbot Bands strategy is a technical analysis algorithmic trading strategy that aims to ride trends and cut losses short. It uses Bollinger Bands as the main indicator to determine entries and exits.
How It Works
The strategy enters long positions when the price closes below the lower Bollinger Band and short positions when the price closes above the upper Bollinger Band. The bands provide dynamic support and resistance levels that adapt to market volatility.
The position size increases exponentially on consecutive long/short signals, implementing a martingale component. Profit targets and stop losses are set based on the entry price. Trailing stops and early exit calls further look to maximize profits and reduce losses.
Benefits
The key advantages of this strategy are:
- Rides strong trends using Bollinger Bands as dynamic support/resistance
- Pyramiding increases position size to benefit from momentum
- Various exit mechanisms try to lock in profits and limit losses
Risks
Potential risks to consider:
- Bollinger Bands are lagging and may signal late entries
- Exponential position sizing can lead to large losses if trends reverse
- Multiple exit signals can result in over-trading and high commissions
Overall, the Gunbot Bands strategy aims to capitalize on trend continuations but a highly volatile market can trigger stop outs. Proper tuning of the input parameters is required to match the strategy to current market conditions.
/*backtest
start: 2023-09-02 00:00:00
end: 2023-09-09 00:00:00
period: 3m
basePeriod: 1m
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/
//@version=3
// strategy("Gunbot - Bbands", shorttitle="Strategy", overlay=true, pyramiding=100, default_qty_value=100000000, precision=8)
/////////////// Component Code Start ///////////////- 1
