Type/to search

Momentum Breakout Strategy Based on Cycle Judgment with Moving Averages

Common strategy
Created: 2024-01-23 14:51:27
Last modified: 3 years ago
1
Follow
1802
Followers

img

Overview

This strategy calculates EMA lines of different periods to determine the current cycle stage of the market, and uses ATR to generate momentum breakout signals for high-probability trend-following trades.

Strategy Logic

  1. Calculate 3 EMA lines - 5-day, 20-day and 40-day
  2. Compare the EMA lines to determine which of the 6 cycle stages the market is currently at
    • 5-day > 20-day > 40-day is Cycle 1
    • 20-day > 5-day > 40-day is Cycle 2
      ......
  3. After cycle determination, calculate ATR indicator and set ATR multiples as breakout criteria
  4. A buy signal is generated when price breaks above the ATR trailing stop of previous bar
  5. A sell signal is generated when price drops below the ATR trailing stop of previous bar
  6. Through this combination of judgments, high-probability trend-following trades can be achieved

Advantages

  1. Cycle judgment increases signal reliability

    By judging the relative positions of different EMA lines, the current cycle stage of the market can be effectively determined, avoiding wrong signals in unsuitable cycles.

  2. ATR breakout filters false signals

    ATR can effectively express the volatility of the market. Setting ATR multiples as breakout criteria can filter out many false breakout signals.

  3. Combined judgment forms high-probability trading opportunities

    The organic combination of cycle judgment and ATR breakout creates signals with much higher probability, thus also increasing the profitability of trades.

Risks

  1. Difficult parameter optimization

    With multiple parameters, optimization difficulty is high. Improper parameter settings may affect strategy performance.

  2. Lagging exists

    In fast changing markets, both EMA and ATR have certain degree of lagging, which may generate wrong signals or miss opportunities.

  3. Strict stop loss needed

    No technical indicators can completely avoid wrong signals. Strict stop loss is required to control risks.

Optimization Directions

  1. Further parameter optimization

    Find optimal parameter combinations through more extensive historical data.

  2. Increase adaptivity

    Consider automatically adjusting ATR parameters based on market volatility to improve adaptivity.

  3. Incorporate other indicators

    Try incorporating other indicators like volatility and volume to assist judgment and improve signal quality.

Conclusion

This strategy determines cycles with EMA and sets momentum breakout criteria with ATR to achieve high-probability trend-following trades. It has advantages like cycle judgment, false signal filtering and signal quality improvement. But risks like difficult parameter optimization and lagging exist. Further optimization on parameters, adaptivity etc. can improve the strategy.

Source
Pine
/*backtest
start: 2024-01-15 00:00:00
end: 2024-01-22 00:00:00
period: 15m
basePeriod: 5m
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/
// © kgynofomo

//@version=5
Strategy parameters
Strategy parameters
Key Vaule. 'This changes the sensitivity'
ATR Period
atr_length
Comment
All comments (0)
No data
No data
  • 1
Forums
PINE Language
Get the app
iPhone Download
© 2015 - ∞ INVENTOR PTE LTD (SG)