Skip to content

MomGulfing is a simple momentum and candlestick pattern based trading strategy. Developed on TradingView with PineScript

License

Notifications You must be signed in to change notification settings

rasimandiran/momgulfing

Repository files navigation

MomGulfing

MomGulfing is a simple momentum and candlestick pattern based trading strategy. Developed on TradingView with PineScript

Trading Decisions

Opens a Long Position When;

  • RED -> GREEN,
  • Green close > previous red high,
  • Green candle volume > previous red candle volume

or

  • RED -> GREEN -> GREEN
  • First green close < previous red high,
  • Second green close > previous red high,
  • Second green candle volume > previous red candle volume

or

  • RED -> GREEN -> GREEN -> GREEN
  • First green close < previous red high,
  • Second green close < previous red high,
  • Third green close > previous red high,
  • Third green candle volume > previous red candle volume

Opens a Short Position When;

  • GREEN -> RED,
  • Red close < previous green low,
  • Red candle volume > previous green candle volume

or

  • GREEN -> RED -> RED
  • First red close > previous green low,
  • Second red close > previous green low,
  • Second red candle volume > previous green candle volume

or

  • GREEN -> RED -> RED -> RED
  • First red close > previous green low,
  • Second red close > previous green low,
  • Third red close < previous green low,
  • Third red candle volume > previous green candle volume

Risk Management

  • First candle's low (for long positions) or high (for short positions) is stop level
  • Take profit level based on Risk-reward: 2.5 (default setting)
  • Leverage is 80/stop_loss_percent. Strategy uses all risk amount for the position. (If risking 1% of portfolio, enter position with that amount)
  • Default pyramiding is 3
  • Update take profit/stop loss levels at each signal.

For more details check momgulfing.pine file

Backtests

Default parameters are used in all backtests, on daily charts. Backtest period: 2021-01-01 -> 2022-12-31

BTC-USDT

BTC-USDT

ETH-USDT

ETH-USDT

BNB-USDT

BNB-USDT

XRP-USDT

XRP-USDT

AVAX-USDT

AVAX-USDT

DOT-USDT

DOT-USDT

Usage (on TradingView)

MomGulfing Strategy

References

License

MIT