Type/to search

MACD RSI Short Term Breakout Strategy

Cryptocurrency
Created: 2023-10-07 16:08:53
Last modified: 3 years ago
1
Follow
1781
Followers

Overview

This is a short-term breakout strategy based on the 1-minute MACD indicator and RSI indicator. It combines MACD to determine the trend and find breakout points, and RSI to judge overbought and oversold conditions, to find short-term breakout opportunities for long and short scalping.

Strategy Logic

The strategy first calculates the MACD histogram in the 1-minute timeframe, and plots Bollinger Bands to determine the histogram breakout situation. At the same time, it calculates the RSI indicator to determine the long and short momentum. Only when the Bollinger Bands, MACD and RSI indicators all meet the criteria at the same time, trading signals will be triggered.

Specifically, go long when the 1-minute MACD histogram is below the lower band and RSI is above 51, and go short when the MACD histogram is above the upper band and RSI is below 49. It also requires the 9-day, 50-day and 200-day moving averages to be in order before trading, to avoid unfavorable trend trading.

It takes fixed take profit and stop loss exits. Close the position when profit reaches 0.5% or loss reaches 0.3%.

Advantage Analysis

The strategy combines trend judgment and overbought/oversold judgment, which can effectively filter out false breakouts. The fixed TP/SL makes every trade have a certain profit expectation management.

The advantages are:

  1. MACD judges the trend direction and RSI judges the long/short momentum, which can effectively avoid trading against the trend.

  2. Combining Bollinger Bands to judge breakout signals can filter out false breakouts.

  3. Adopting fixed TP/SL, every trade has a certain profit expectation, which controls single trade loss.

  4. The trading frequency is high, suitable for short-term trading.

Risk Analysis

There are also some risks with this strategy:

  1. The fixed TP/SL cannot adjust based on market changes, which may lead to SL too small and TP too large.

  2. It relies on multiple filtered signals, which may lead to multiple SL trigged in range-bound markets.

  3. The high trading frequency leads to heavy commission fees.

  4. The MACD and RSI parameters need further optimization, the current parameters may not be optimal.

The following aspects can be further optimized:

  1. Adopt dynamic TP/SL, adjust ratios based on ATR etc.

  2. Widen Bollinger Bands to narrow the channel, lower the triggering frequency.

  3. Optimize MACD and RSI parameters to find the best combination.

  4. Filter based on higher timeframe trends to avoid trading against the trend.

Summary

Overall this strategy is a typical short-term breakout system, incorporating trend, momentum and overbought/oversold analysis, which can effectively discover short-term opportunities. But there are certain risks, requiring further testing and parameter optimization to lower risks and improve profitability. If tuned properly, this strategy can become an efficient short-term trading strategy.

Source
Pine
/*backtest
start: 2023-09-06 00:00:00
end: 2023-10-06 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/
// © pluckyCraft54926

//@version=5
Strategy parameters
Strategy parameters
Fast Length
Slow Length
Source
Signal Smoothing
Oscillator MA Type
Signal Line MA Type
Length
Source
Offset
Length
Source
Offset
Length
Source
Offset
LengthBB Long
LengthBB Short
StdDev
Offset
Rsi Length Long
Rsi Length Short
Take Profit %
Stop Loss %
MacdTick Low
MacdTick High
Color Settings
MACD Line  
Signal Line  
Histogram
Above   Grow
Fall
Below Grow
Fall
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)