Trailingstop Breakeven Settings/Inputs Guide for MT4 & MT5

12 March 2026, 08:48
Biswarup Banerjee
0
13

Complete User Documentation — MT4 & MT5

1. OVERVIEW

The Ea TrailingStop BreakEven is an Expert Advisor designed to manage existing trades by automatically adjusting stop-loss levels. It moves the stop-loss to breakeven and implements a trailing stop to secure profits. This tool helps traders minimize losses and lock in gains without manual intervention.

Who Should Use It: This EA is ideal for retail forex traders who want to automate their trade management and reduce emotional decision-making.

Main Benefit: It allows traders to focus on strategy and market analysis while the EA handles risk management efficiently.


2. INPUT PARAMETERS & SETTINGS

This product shares a common set of general input settings with all Expert Advisor products in this series. The following sections are covered in the common guide: General Settings (lot size, SL/TP modes, magic number, trade direction), Breakeven Settings, Trailing Stop Settings, News Filter Settings and News Action Settings, Martingale Settings, Grid Settings, Hedge Settings, Risk Settings, Position Sizing, Alert Settings, Display Settings, Trade Time Settings, Trade Days Settings, Safeguard Settings, and Trend Filter Settings (MA Filter, ADX Filter, RSI Filter, MACD Filter, Parabolic SAR Filter — each with their own strategy options). All of these are fully documented in the Common General Input Settings for Expert Advisors. The sections below cover only the product-specific inputs unique to this product.

All configurable settings for this product are the common shared settings referenced above. There are no additional product-specific inputs.

General Settings

These settings allow you to configure the basic parameters for trade management.

Parameter Description Example
LOTS Defines the size of the trade in lots. Adjusting this affects the risk and potential profit of each trade. 0.01 - Use for small accounts or lower risk.
STOPLOSS Sets the stop-loss level in pips. A value of 0 disables this feature, allowing for more aggressive trading. 20 - Protects against significant losses.
TAKEPROFIT Defines the take-profit level in pips. Setting this helps lock in profits at a predetermined level. 30 - Secures profit before market reversals.
SHOW_LOGS Enables logging of actions taken by the EA, useful for debugging and performance tracking. true - Helpful for monitoring EA behavior.
MAGIC_NUMBER_INPUT A unique identifier for trades opened by this EA, preventing conflicts with manual trades. 20131111 - Distinguishes trades from other EAs.

Breakeven Settings

These settings control the breakeven functionality of the EA.

Parameter Description Example
USE_BREAKEVEN Enables the breakeven feature, allowing the EA to move the stop-loss to breakeven once the trade is in profit. true - Activates risk-free trading.
BREAKEVEN_ACTIVATION Sets the profit level in pips at which the EA will move the stop-loss to breakeven. 10 - Moves SL to breakeven after 10 pips profit.
BE_EXTRA_PIPS Adds extra pips to the breakeven stop-loss to ensure profitability even with slippage. 3 - Ensures SL is above breakeven.

3. HOW IT WORKS

Core Calculation & Logic

This Expert Advisor continuously monitors open positions and adjusts stop-loss levels based on the predefined parameters. It identifies favorable market conditions to secure profits while minimizing losses.

By calculating the current price movement and comparing it to the stop-loss settings, the EA determines when to move the stop-loss to breakeven or trail profits effectively, ensuring optimal trade management.

Entry Strategies Explained

This EA does not open trades but focuses on managing existing positions. The following strategies outline how it responds to market conditions:

Market Condition Monitoring

BUY Signal: The EA monitors upward price movements and adjusts stop-loss levels to secure profits when the market is bullish.

SELL Signal: In a bearish market, the EA will move stop-loss levels to protect profits as prices decline.

Best For: This EA is best used in trending markets where price movements are significant and consistent.

Step-by-Step Workflow

Step 1: Monitor Positions The EA continuously checks the status of open trades to determine if adjustments are necessary.

Step 2: Evaluate Market Conditions It assesses current price movements and volatility to decide on stop-loss adjustments.

Step 3: Adjust Stop-Loss If conditions are met, the EA will move the stop-loss to breakeven or trail it to lock in profits.

Step 4: Log Actions If enabled, the EA will log its actions for user review, providing transparency on its operations.


4. RISK MANAGEMENT FEATURES

This section outlines the key risk management features of the EA, designed to protect your capital while maximizing profit potential.

Feature Description
Breakeven Activation This feature moves the stop-loss to breakeven once a specified profit level is reached, protecting against losses.
Trailing Stop Automatically adjusts the stop-loss level as the market price moves in your favor, locking in profits.
Custom Lot Size Allows traders to set a specific lot size for trades, managing risk exposure according to their strategy.
Magic Number Enables the EA to identify trades it has opened, preventing interference with manual trades.
Logging Options Provides the option to log actions taken by the EA, enhancing transparency and allowing for performance review.

Quick Start Guide

Follow these steps to get started in under 5 minutes:

  1. Download the EA: Obtain the Trailing Stop & Breakeven EA from the official website.
  2. Install the EA: Place the EA file in the appropriate directory of your trading platform.
  3. Attach to Chart: Open a chart for the desired currency pair and attach the EA.
  4. Configure Settings: Adjust the input parameters according to your trading strategy and risk tolerance.
  5. Enable Auto Trading: Ensure that auto trading is enabled in your trading platform settings.
  6. Monitor Trades: Keep an eye on open positions to see how the EA manages your stop-loss levels.
  7. Review Logs: If logging is enabled, periodically check the logs to understand the EA's actions.

You may also be interested in these related products:


Installation Guide for MQL Products | Updating Purchased MQL Products on MT4/MT5 | General Troubleshooting Guide

Check all my products: https://www.mql5.com/en/users/biswait50/seller

Contact me for support: https://www.mql5.com/en/users/biswait50