Type/to search

Moving Average Bollinger Bands Breakout Strategy

Cryptocurrency
Created: 2023-12-08 12:11:15
Last modified: 3 years ago
1
Follow
1778
Followers

img

Overview

This strategy combines moving average, Bollinger bands and UT Bot Alerts indicators to implement a simple breakout trading strategy. It goes long when price breaks above Bollinger upper band and goes short when price breaks below Bollinger lower band.

Strategy Logic

  1. The 200-period EMA serves as the baseline for the trend. Price above EMA signifies uptrend and price below EMA signifies downtrend.
  2. The UT Bot Alerts indicator generates buy and sell signals in combination with ATR. It triggers long signal when price and fast EMA cross above Bollinger upper band. And it triggers short signal when price and fast EMA cross below Bollinger lower band.
  3. The ATR stop loss indicator sets the stop loss points. The stop loss distance is 1.5 times the ATR value.
  4. After entry, stop loss, take profit and break even levels are determined by risk reward ratio.

Advantage Analysis

  1. Using Bollinger bands to identify appropriate long and short opportunities can improve profitability.
  2. The UT Bot Alerts indicator can generate comparatively accurate signals.
  3. By adopting risk reward ratio for stop loss and take profit, risk can be effectively controlled.

Risk Analysis

  1. Bollinger bands tend to produce false signals during ranging periods.
  2. ATR has lagging effect. At the beginning of a trend, the stop loss distance may be too wide.
  3. Improper risk reward ratio settings can also lead to over-aggressiveness or over-conservativeness.

Optimization Guidelines

  1. Try using other indicators to replace the UT Bot Alerts indicator.
  2. Optimize the period and multiplier parameters of ATR to find more suitable stop loss distance.
  3. Test different risk reward ratios to find the optimal parameters.

Conclusion

This strategy integrates the strengths of multiple indicators and has considerable practicality. Through parameter optimization, it can become a steady and reliable breakout system. But the risks arising from indicator failure and improper parameters should also be watched out for.

Source
Pine
/*backtest
start: 2023-11-07 00:00:00
end: 2023-12-07 00:00:00
period: 1h
basePeriod: 15m
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/
//@version=5
//Developed by StrategiesForEveryone
Strategy parameters
Strategy parameters
Date background
Session background
Calculate position
Enter initial/current capital
Use leverage ?
Position amount calculator
% account risk per trade
Time filter
Initial date
Final date
Time session
Trend
Ema length
Appearance
Show ema ?
Show atr from ut bot alerts ?
Show ema from ut bot alerts ?
Show signals ?
Paint candles ?
Show Atr stop loss ?
Draw position on chart ?
Draw first take profit/breakeven price on chart ?
UT BOT ALERTS
Key Vaule
ATR Period
Signals from Heikin Ashi Candles
Atr stop loss
Source
Period
Atr multiplier
Risk management for trades
Source of stoploss
% Account risk per trade for backtesting
Use leverage for backtesting ?
Risk/reward for breakeven long
Risk/reward for take profit long
Risk/reward for break even short
Risk/reward for take profit short
% of trade for first take profit
Positions management
Long positions ?
Short positions ?
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)