Type/to search

Morning Star Breakout Strategy

Cryptocurrency
Created: 2023-09-14 16:36:32
Last modified: 3 years ago
1
Follow
1781
Followers

Strategy Logic

This strategy trades bullish breakouts using the Morning Star candlestick pattern. Trading signals are generated when the Morning Star pattern breaks above the EMA60.

The logic is:

  1. Plot the 60-day exponential moving average EMA60

  2. Identify Morning Star patterns, consisting of a bearish candle, doji/spinning top, and bullish candle breaking the high of the first two candles

  3. Long signals are breakouts above EMA60 after Morning Star patterns

  4. Use either profit targets or trailing stops for exits

  5. Stop loss set at lowest low of last 100 candles

  6. Parameters like Morning Star tolerance configurable

The strategy capitalizes on the trend reversal nature of Morning Stars in the direction of the trend. Performs well in volatile markets.

Advantages

  • Morning Star effectively signals short-term reversals

  • Breakout entry and trailing stop follows through trends

  • Lookback window prevents excessive stop loss

Risks

  • Requires iterative testing and optimization

  • Stops too close may cause excessive stops

  • LONG only misses short opportunities

Summary

This strategy identifies Morning Star patterns and trades breakouts in alignment with the trend. Parameter tuning adapts it to varying market conditions. But LONG-only and stop loss needs prudent assessment.

Source
Pine
/*backtest
start: 2023-01-01 00:00:00
end: 2023-03-23 00:00:00
period: 45m
basePeriod: 5m
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/

// This source code is subject to the terms of the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0)
// © TheSocialCryptoClub
// Author: @devil_machine
Strategy parameters
Strategy parameters
DOJI SETTINGS
MDS Tolerance
DOJI Tolerance
EXIT LONG
Take Profit
SL type Lowest Low
Stop Length
SL type Percent
Stop Loss
Filter
Max Loss Filter
Max Loss %
TRAILING STOP
Trailing theshold
Trailing offset
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)