Cool Break Even & Trade Management EA for MT4

Break Even EA

Hello, traders, I found a cool trade management EA.  It’s a break even Expert Advisor for the free MetaTrader 4 Forex trading platform. This EA allows you to set an amount, in pips, to trigger the EA to move your stop loss to break even, which helps with money management.

I use this break even Expert Advisor all the time, so I thought you guys might find it useful.

Unlike any other break even EA that I tried, this one allows you to set a custom break even point (lock in pips). You can lock in positive or negative pips.

This is useful because most break even expert advisors don’t allow you to factor in the spread cost. With this EA, you could lock in +3 pips, for example, to cover your spread and/or commission costs.

In the picture below, I have the EA set to move my stop loss 2 pips into profit once the “trigger” or 40 pips of profit is reached.

Break Even Expert Advisor

LockInPipsAt – This is the amount of pips you want price to move into profit before the EA moves your stop loss to break even.

LockInPips – This is the setting that I spoke of that allows you to lock in your desired amount of pips once the break even action has been triggered.

Note: As I mentioned earlier, you can also lock in negative pips. For instance, you could set this EA to lock in -4 pips once break even event has been triggered.


I don’t personally do this, but I know of other traders that sometimes adjust their stop losses, while not quite bringing them to break even. The idea is to leave the trade more room to move while taking some of the risk off of the table.

Trades – With this setting, you can scale out of your trade. A setting of 1 means that your stop loss will be moved to break even only. A setting of 2 will close half of your position when the stop loss is moved to break even, and the other half when your “LockInPipsAt” value is reached again. You can adjust this value up to 3 at the most.

Example: You set “LockInPipsAt” to 40 and “Trades” to 3. If price moves 40 pips in your favor, the break even event is triggered and half of your positions is closed. If price moves an additional 40 pips (80 pips in total) in your favor, half of the remaining position is closed. If price moves an additional 40 pips in your favor (120 pips in total) the remaining position is closed out.

A text message with your chosen trigger, profit lock, and (if activated) scale out values is displayed at the top of the chart. The FontSize and FontColour values control the visibility of the message.

Before anyone asks, I’m not entirely sure what ModifyTrades and ModifyTrade3 do. I’ve tried adjusting these both before, but I haven’t noticed any difference in how this break even Expert Advisor works.

I only use this break even EA to move my stop loss to break even (+2-3 pips), according to the rules of my trading system. I never use it to scale out, so you may have to experiment a bit to fully understand all of its features.

Break Even EA for MT4

In order for the BreakEven_v2 EA to alter your trades automatically, you must make sure that “Allow live trading” and “Allow DLL imports” are checked under the Common tab of the break even EA (see the image above).

You can check these settings when you drag the indicator onto your charts, or you can pull up your EA “Properties” (Right-Click > Expert Advisors > Properties or F7) if the break even Expert Advisor is already attached to your chart.

To make sure these setting are always checked by default when you add any new EA, go to your MT4 “Options” (Tools > Options or Ctrl+O). Make sure “Allow automated trading” and “Allow DLL imports . . .” are checked.

Trade Management EA Options

Finally, make sure the “AutoTrading” button is activated (Ctrl+E) at the top of the platform. If everything is working correctly, you should see a smiley face next to the name of the EA in the top-right corner of your chart.

Installation Instructions:

  1. Download and extract the BreakEven_v2 EA.
  2. Place it in your “Experts” folder (File > Open Data FolderMQL4 > Experts).
  3. Restart MT4.
  4. Open your “Navigator” window, if it’s not already open (Ctrl+N).
  5. Drag the break even EA onto your chart.
  6. Adjust the settings (see the instructions above) and colors, if needed, and hit the “OK” button.
  7. Make sure Auto Trading is enabled (Ctrl+E).

The beauty of this break even EA is that you can apply it to your chart and walk away. If you’ve been reading for a while, you know I hate to sit in front of my charts for too long. That is one of the reasons I switched my main trading system to Day Trading Forex Live this year.

No matter what timeframe you trade on, this break even Expert Advisor can help save you time and effort while keeping your trading system as accurate and mechanical as possible. I hope you guys find this free break even and trade management EA as useful as I have over the years. Please share and comment!

This article was originally published on November 28th, 2011.

Still looking for a profitable trading system? I've tested 10+ systems. Only 3 were profitable! Learn more about my #1 recommended trading system, Day Trading Forex Live.


  1. Jan Petersen February 29, 2012
  2. Chris March 1, 2012
  3. Libalamps June 3, 2012
  4. Chris June 8, 2012
  5. Greg January 27, 2013
    • Chris January 29, 2013
  6. Hynqul March 8, 2013
    • Chris March 9, 2013
      • John April 15, 2013
  7. Rob May 11, 2013
    • Chris May 30, 2013
  8. ian July 3, 2013
    • Chris July 5, 2013
      • Chris July 8, 2013
  9. Alan July 17, 2013
    • Chris July 23, 2013
  10. william clegg April 4, 2014
    • Chris April 14, 2014
  11. william clegg April 7, 2014
  12. VersaTrader May 14, 2014
    • Chris June 5, 2014
  13. Duarte May 15, 2014
    • Chris June 5, 2014
  14. komang October 20, 2014
    • Chris October 26, 2014
  15. Jp March 5, 2015
    • Chris March 6, 2015
  16. Madaforex March 30, 2015
    • Chris March 30, 2015
  17. Ra April 17, 2015
    • Chris April 17, 2015
  18. Paolo April 30, 2015
  19. Paolo April 30, 2015
    • Chris May 1, 2015
  20. Fabio July 6, 2015
    • Chris July 11, 2015
  21. Frank November 25, 2015
    • Chris December 8, 2015
  22. dane February 1, 2016
    • Chris February 13, 2016
    • Chris February 21, 2016
  23. Paolo February 16, 2016
    • Chris February 17, 2016
  24. Glads December 20, 2016
    • Chris December 20, 2016
  25. Cody December 31, 2016
    • Chris December 31, 2016
  26. Ian January 19, 2017
    • Chris January 19, 2017
  27. Brian Mwau February 5, 2017
    • Chris February 5, 2017
  28. Genesis February 6, 2017
    • Chris February 6, 2017
  29. Dimas February 19, 2017
    • Chris February 19, 2017
  30. Joaquim May 16, 2017
    • Chris August 28, 2017
  31. sola August 25, 2017
    • Chris August 28, 2017
  32. hei-gauseb September 19, 2017
    • Chris September 19, 2017
  33. Nathie October 19, 2017
    • Chris October 22, 2017
  34. Davi October 24, 2017
    • Chris October 27, 2017
  35. Victor November 27, 2017
    • Chris November 27, 2017
  36. Elliot June 12, 2018
    • Chris June 20, 2018

Add Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.