Step-by-Step Guide
This management template helps you protect profits automatically by moving your stop loss to recent candle highs or lows. Think of it as a “trailing stop” that follows the market’s natural structure instead of just a fixed pip distance.
Step 0: Access the Trading System Template [1 Min]
Click the button to load the management directly onto your canvas:
Your canvas should display 8 blocks as shown below. Check? Let's continue!
Step 1: Export the Trading System [1 Min]
Before diving into customization, export the trading system with the upper right 'DOWNLOAD' button.
Step 2: Upload to MetaTrader 5 [4 Min]
Don’t know how? Refer to our help article How to run your trading system live on your broker account.
Step 3: Understand the Logic [5 Min]
Here’s how it works:
Once every candle, the EA checks your running profit.
If profit ≥ your set threshold (default = 1% of account balance), it activates.
For buy trades, stop loss moves to the lowest low of the past X candles.
For sell trades, stop loss moves to the highest high of the past X candles.
Default = 5 candles back.
This check happens on every new candle, so your stop loss “trails” candle by candle.
Example:
You’re long EURUSD. Profit reaches +1%.
The EA shifts your stop loss to the lowest low of the past 5 candles.
Price moves further up → stop adjusts again each candle.
If price reverses → trade closes safely at the locked-in level.
Step 4: Make It Your Own [10 Min]
Experiment with these adjustments to match your style:
Change profit threshold (e.g. 0.5% or 2%).
Backtest it in Profectus to see how quickly protection kicks in.Adjust candles back (e.g. 3 for tighter stops, 10 for looser).
Backtest it in Profectus to see the effect on stop movement.Use timeframe filters (e.g. 1H vs 4H) to change how often the stop moves.
Combine with other management tools like fixed profit targets or equity-based stops.
Conclusion
The Candle High–Low Management template is a simple but powerful way to let your winners run while protecting gains. By tying your stop loss to natural price structure, it adapts to the market instead of relying on arbitrary numbers. Use the default, or tweak thresholds and lookback candles until it matches your trading style.
Now it's your turn—apply the template, tweak the logic, and make it yours. 🚀
Templates are for educational purposes only!

