Master Your Trades with the Breakeven Line Indicator for MT5

Mike 2025.01.29 23:59 23 0 0
Attachments

What is the Breakeven Line Indicator? The Breakeven Line Indicator is a handy tool for traders using MetaTrader 5 (MT5). It calculates your breakeven level based on all open positions and displays it right on your chart as a horizontal line. This powerful indicator also keeps track of the total number of trades, the cumulative lots, and the distance to the breakeven line in both points and profit/loss. Plus, it’s available for both MT4 and MT5, making it versatile for every trader's needs.

You can easily toggle the breakeven line on or off by using the Shift + B keyboard shortcut. The indicator comes packed with multiple input parameters that let you customize the calculations and the appearance of the line to suit your trading style.

Input Parameters

  • IgnoreLong (default = false) — When set to true, this option will have the indicator ignore long positions, calculating the breakeven line based only on short positions.
  • IgnoreShort (default = false) — If you set this to true, the indicator will disregard short positions and calculate the breakeven line based solely on long positions.
  • line_color_buy (default = clrTeal) — This sets the color of the breakeven line when your total cumulative position is long.
  • line_color_sell (default = clrPink) — This defines the color of the breakeven line when your total cumulative position is short.
  • line_color_neutral (default = clrSlateGray) — This sets the color of the breakeven line when your total cumulative position is neutral.
  • line_style (default = STYLE_SOLID) — Choose the style for your breakeven line.
  • line_width (default = 1) — Adjust the width of the breakeven line to your preference.
  • font_color (default = clrSlateGray) — Set the color of the text displayed with the breakeven line.
  • font_size (default = 12) — Specify the size of the text.
  • font_face (default = "Courier") — Choose the font style for the text.
  • ObjectPrefix (default = "BEL") — This is the prefix for names of the chart objects, helping to avoid any conflicts with other chart tools you might be using.

List
Comments 0