Type/to search

MACD Bollinger Turtle Trading Strategy

Cryptocurrency
Created: 2023-12-06 14:36:34
Last modified: 3 years ago
1
Follow
1779
Followers

img

Summary

The strategy combines the MACD indicator with Bollinger Bands and the Turtle Trading Rules to form a multi-layered judgement system, aiming to increase profitability while controlling risk.

Principle

  1. Determine potential trends using the MACD golden cross and dead cross, assisted by the upper and lower Bollinger Bands to identify overbought and oversold conditions as trading signals.

  2. Incorporate the N-value breakout for trailing stops from the Turtle Trading Rules to further lock in profits and control risk.

  3. Leverage the characteristics of Bollinger Bands to adjust initial position sizing, then utilize the pyramiding principles from the Turtle Trading Rules for staggered entries and exits to expand profit space.

Strengths Analysis

  1. MACD has strong trend identification capabilities and combining it with Bollinger Bands' overbought-oversold indicators forms an effective judgement system with improved accuracy.

  2. The trailing stop mechanism from the Turtle Rules works reasonably well to lock in profits and prevent excessive drawdowns.

  3. Staggered pyramiding with trailing stops strikes a balance between risk control and profit expansion.

Risks Analysis

  1. Improper Bollinger Bands parameter settings may lead to missed opportunities or increased false signals.

  2. The N-value from the Turtle Rules needs to be set judiciously as overly large or small values can impact strategy performance.

  3. Successive pyramiding should be implemented prudently to avoid chasing tops or killing bottoms.

Optimization

  1. Adjust Bollinger Bands parameters to optimize channel width for better profit opportunities.

  2. Test different N-values to find optimal stop loss placement.

  3. Optimize magnitude and frequency of pyramiding to improve risk-reward.

Conclusion

The strategy synthesizes three major quant tools - MACD, Bollinger Bands and Turtle Trading Rules by fine tuning parameters to achieve optimal synergy. This fully utilizes their respective strengths for mutual enhancement while lifting overall system performance. Strict stop losses and prudent pyramiding further ensures sound risk-reward profile. In summary, the strategy demonstrates consistent profitability with stability.

Source
Pine
/*backtest
start: 2022-11-29 00:00:00
end: 2023-12-05 00:00:00
period: 1d
basePeriod: 1h
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/

//@version=3
strategy("Tagmaniak MACD Algo", shorttitle="Tagmaniak MACD Algo", overlay=true, pyramiding = 0, default_qty_type = strategy.percent_of_equity, default_qty_value = 100, initial_capital=7000, calc_on_order_fills = true, commission_type=strategy.commission.percent, commission_value=0, currency = currency.USD)
//study("MFI Fresh", shorttitle="MFI Fresh", overlay=true)
Strategy parameters
Strategy parameters
Trailing Stop in cents
From Month
From Day
From Year
To Month
To Day
To Year
Enable Bar Color?
Enable Moving Averages?
Enable Background Color?
Enable Bolinger Bands?
Enable Keltner Channel?
R_length
%R Overbought
%R Oversold
RSI Length
RSI Overbought
RSI Oversold
cci_length
Source
MFI Length
MFI Overbought
MFI Oversold
Very slow SMA
MACD source
MACD Fast Length
MACD Fast Length #2
MACD Slow Length
MACD Slow Length #2
Signal Smoothing
Signal Smoothing
Signal Smoothing #2
Signal Smoothing #2
MACD % Threshold
bb_length
bb_mult
KC_useTrueRange
KC_length
KC_mult
Source
Resolution
Resolution
Resolution
Resolution
start
increment
maximum
v_input_48
v_input_49
v_input_50
v_input_51
v_input_52
Conversion Line Periods
Base Line Periods
Lagging Span 2 Periods
Displacement
Length
Source
v_input_59
v_input_60
v_input_61
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)