Safety First Trade Manager
- Utilities
- Version: 1.1
- Updated: 14 September 2026
- Activations: 10
Safety First Trade Manager
Safety First Trade Manager is a manual trade planning and position management utility for MetaTrader 5.
It helps you define Entry, Stop Loss, Take Profit and risk before sending an order, while keeping every execution decision under your direct control.
It does not generate trading signals and does not trade automatically.
Quick Start
- Install Safety First Trade Manager from MetaTrader Market and attach it to the chart you want to trade.
- Enable Algo Trading in MetaTrader 5.
- In the utility inputs, set InpEnableExecution=true when you are ready to allow trading actions. Execution is disabled by default.
- Select BUY or SELL, then MARKET, LIMIT or STOP.
- Select Balance %, Equity % or Cash and enter the desired risk amount.
- Position Entry, Stop Loss and optional Take Profit on the chart.
- Review the calculated volume, estimated risk, margin and risk-to-reward ratio.
- Send the order only when the panel shows READY.
Trade planning
Select BUY or SELL and prepare MARKET, LIMIT or STOP orders directly from the panel.
During planning, Entry, Stop Loss and Take Profit levels are displayed on the chart and can be adjusted visually. The trade plan is automatically recalculated after a level is moved.
For MARKET orders, Entry follows the current market price. For pending orders, Entry represents the requested order price.
Risk-based position sizing
Position size is calculated from the selected risk method:
- Balance percentage
- Equity percentage
- Fixed amount in the account currency
The panel displays the calculated volume, estimated monetary risk, margin information and risk-to-reward ratio before execution.
Estimated monetary risk, margin values and position profit/loss are expressed in the account currency.
The sizing process takes the broker volume grid into account. If the requested risk would require a volume below the broker minimum, the plan is rejected instead of automatically increasing the volume and risk.
Broker-aware preflight checks
Before an order or management action can be sent, Safety First Trade Manager performs fresh checks using the current broker and symbol information.
Relevant checks include:
- Minimum and maximum volume
- Volume step
- Supported trading and order conditions
- Stop-level constraints
- Margin availability
- Final trade-request validation
The panel displays READY when the current plan passes the required checks. Invalid or unsupported conditions are shown as REJECT or WARN with a diagnostic message.
Position management
After a supported position is opened, the management panel provides:
- Partial close with an adjustable percentage
- Breakeven when the position becomes eligible
- Full position close
- Current volume and remaining volume
- Current profit/loss information
- Broker-authoritative Entry, Stop Loss and Take Profit levels
Entry remains read-only after the position is opened.
Stop Loss and Take Profit can be edited explicitly through EDIT SL/TP. Changes are prepared locally first and are not sent to the broker while levels are being dragged.
A valid draft can be sent with APPLY CHANGES. If a Stop Loss modification increases the risk distance, an additional CONFIRM CHANGES step is required before the request can be sent.
When no effective modification is pending, DONE exits edit mode without sending a broker request.
Take Profit can be enabled, moved or removed during editing. When a position has no Take Profit, the utility can propose a local TP draft based on the current Entry and Stop Loss distance when the required information is available. The proposed level remains a local draft until APPLY CHANGES is used.
If the broker position changes externally while an SL/TP draft is open, the local draft is discarded and the current broker state becomes authoritative again.
Pending orders
LIMIT and STOP orders remain visible after they are placed.
The panel displays the broker order price, Stop Loss, Take Profit, volume and order type. The corresponding chart levels remain visible and become read-only while the pending order is active.
An active or recovered supported pending order can be cancelled directly from the panel.
Cancellation uses two explicit steps:
- CANCEL ORDER
- CONFIRM CANCEL
The first click does not cancel the order. The second confirmation is required while the same pending order and broker state remain valid.
While a supported pending order is being tracked, the creation of another trade from the same panel is blocked.
Restart and recovery
Local planning information can be restored after the utility is removed and attached again.
Existing supported positions and pending orders are reconciled with the current broker state. Broker information remains authoritative during recovery.
Recovered positions and pending orders are displayed using their current broker values.
An unapplied SL/TP draft is not restored after restart, and recovered broker exposure is never automatically modified, cancelled or re-sent.
Execution safety
Trading execution is disabled by default and must be explicitly enabled by the user.
Fresh broker-aware checks are performed before trading actions so that current broker information is used before a request is sent.
Safety First Trade Manager does not decide when the user should enter or exit the market. It is a trade execution and risk-management utility, not an automated trading strategy.
Current scope
An existing Stop Loss can be moved through the SFTM edit workflow, but removing an existing Stop Loss from the panel is not supported in version 1.01. Native MetaTrader 5 controls remain available for this operation.
Take Profit can be added, modified or removed from the SFTM panel.
Important
Always verify the calculated trade parameters and requested management changes before execution.
Broker specifications and available trading conditions vary by symbol, account and broker. A plan that is valid under one trading environment may be rejected under another.
Testing the utility on a demo account before live use is recommended.
