输入/搜索内容

The Gunbot Bands Strategy

通用策略
创建日期: 2023-09-10 21:31:29
最后修改: 3 年前
复制: 9
点击次数: 815
1
关注
1830
关注者

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.

策略源码
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 ///////////////
策略参数
策略参数
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
评论
全部评论 (0)
暂无数据
暂无数据
  • 1
社区
回测系统
APP 下载
iPhone 下载
© 2015 - ∞ INVENTOR PTE LTD (SG)