输入/搜索内容

The Bollinger Band Automated Trading Strategy

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

How it Works

The strategy combines a short and long period simple moving average (SMA) with Bollinger Bands to identify trading opportunities. When the price closes below the lower band, a long position is entered.

The initial trade size is fixed, but subsequent safety orders are scaled according to the user-defined percentage. Profit taking and stop loss levels trail the average entry price using target percentages.

Benefits

Key benefits of the strategy include:

Automated trading based on Bollinger Band breakouts
Flexible input parameters for optimization
Scales position size using safety orders
Implemented as a 3Commas trading bot
Risks

Potential risks to consider:

Breakout signals late when volatility expands
Increased exposure from pyramiding positions
Stop loss can lag behind in fast moving markets
The strategy aims to capitalize on trend continuations. Appropriate stop loss and risk management is required to limit downside.

策略源码
Pine
/*backtest
start: 2023-01-01 00:00:00
end: 2023-09-09 00:00:00
period: 10m
basePeriod: 1m
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/

//@version=4
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © tedwardd
策略参数
策略参数
Short MA Window
Long MA Window
Upper Band Offset
Lower Band Offset
Long Stop Loss (%)
Long Take Profit (%)
Initial SO Deviation (%)
Safety Order Vol Step (%)
Enable/Disable visual lines
3Commas Bot ID (选填)
Bot Email Token (选填)
3Commas Bot Trading Pair (选填)
Start Date
Start Month
Start Year
End Date
End Month
End Year
评论
全部评论 (0)
暂无数据
暂无数据
  • 1
社区
回测系统
APP 下载
iPhone 下载
© 2015 - ∞ INVENTOR PTE LTD (SG)