Type/to search

The Gunbot Bands Strategy

Cryptocurrency
Created: 2023-09-10 21:31:29
Last modified: 3 years ago
1
Follow
1781
Followers

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.

Source
Pine
/*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 ///////////////
Strategy parameters
Strategy parameters
Backtest Start Year
Backtest Start Month
Backtest Start Day
Backtest Stop Year
Backtest Stop Month
Backtest Stop Day
length
Source
mult
LOW_BB
HIGH_BB
Activate TS
Trailing Stop
Take Profit
Stop Loss
Pyramiding <
Pyramiding =
Pyramiding >
WIP Feature
Leverage
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)