Skip to main content

'Momentum' Trading Bot

Capture trends with the Momentum Strategy: 450/650 MAs + engulfing candles, risk-managed entries, and easy tweaks for any market.

Updated over 2 months ago

Mastering the Momentum Strategy with Profectus.AI

The Momentum Strategy is designed to capture big market moves by combining long-term trend filters with precise candle-based entries. Originally built for GBP/USD on the 4H chart, this bot is flexible enough to adapt across pairs and timeframes.

Step 0: Access the Trading Bot Template [1 Min]

Click the button to load the trading bot directly onto your canvas:

Your canvas should display 20 blocks as shown below. Check? Let's continue!

Step 1: Export the Trading Bot [1 Min]

Before diving into customization, export the bot with the upper right export button to download the file.

Step 2: Upload to MetaTrader 5 [4 Min]

Don’t know how? Refer to our help article "Exporting Your First Strategy".

Step 3: Understand the Logic [5 Min]

The momentum strategy is built to follow the dominant trend on GBP/USD using two long-term Moving Averages: the 450-period and the 650-period.

  • Buy setup: If the price is above the 450 MA, the bot looks for a bullish engulfing candlestick on the 4H chart. That candle confirms momentum to the upside, and a buy trade is entered.

  • Sell setup: If the price is below the 650 MA, the bot looks for a bearish engulfing candlestick. That candle confirms downside momentum, and a sell trade is entered.

Every trade has:

  • Stop loss: 1% of the current price of the pair.

  • Take profit: Equal to the stop loss (1R).

  • Profit-lock management: If the trade reaches +0.4R, the stop loss is moved once to secure +0.1R profit, then the trade is left to play out.

Although designed for GBP/USD on the 4H timeframe, the same logic can be tested on other pairs and timeframes.

Step 4: Make It Your Own [10 Min]

The Momentum Strategy is a strong baseline, but its real power comes from experimenting with tweaks and optimizations. Here are a few ideas to try:

Change the Moving Averages (MAs).
Test shorter (e.g. 100 & 200) or longer (e.g. 500 & 700) periods to see how trade frequency and trend strength change.
EXPORT and see the differences.

Adjust the Stop Loss & Take Profit.
Swap the fixed 1% SL for an ATR-based stop loss that adapts to volatility. Try 1.5R or 2R take profit targets instead of 1R.
EXPORT and see the differences.

Refine the Engulfing Candle Filter.
Add volume or wick-size conditions so only “strong” engulfing patterns trigger trades.
EXPORT and see the differences.

Experiment with Timeframes.
The 4H GBP/USD setup is the base, but try the 1H or daily charts, or test on pairs like EUR/USD or USD/JPY.
EXPORT and see the differences.

Add Session Filters.
Restrict entries to London/New York overlap or exclude low-liquidity hours.
EXPORT and see the differences.

Experiment on different pairs and timeframes to match your personal trading style.

Conclusion

The Momentum Strategy is a simple yet effective way to ride the larger trend by combining long-term moving averages with engulfing candle confirmations. With strict risk management and flexible settings, it provides a solid foundation for trend-following systems. Use the baseline as-is, or tweak it with your own filters, timeframes, and risk models to build a version that fits your personal trading style.

Templates are for educational purposes only.

Now it's your turn—apply the template, tweak the logic, and make it yours. 🚀

Templates are for educational purposes only!

Did this answer your question?