
Lock balancer MT5 is an expert advisor that protects open positions with a pending counter order (a lock) placed at a level you choose, instead of a normal stop loss. It works with manual trades or positions opened by another EA.
Get one message the moment it launches, with its price.
Lock balancer MT5 is an expert advisor that handles the downside of an open position in a different way from a stop loss. You mark a level, and if price moves through it the robot opens an opposite position that freezes the loss, while the original trade stays open.
You draw an initial locking line where you would normally have placed a stop loss. While your main positions are open, the robot keeps a pending lock order at that line. If price travels against you and reaches it, the pending order becomes a market order. From that point the net exposure is flat, so further movement in the losing direction does not add to the loss.
If price later returns toward the profitable side, the robot can close the lock and let the main position carry on. The line and the orders can be adjusted by hand at any stage, so the setup can follow your own plan. When the main positions are closed by take profit or manually, the lock is closed too.
The logic is based on a price level, not on indicator signals, so it is not tied to a particular timeframe. It works on the symbol of the chart where it runs. Because it needs to hold opposite positions, use an account that supports hedging, and check your broker's rules on that and on minimum distances for pending orders.
The inputs below are the main ones. Check the actual input list in the terminal for default values, as they are not listed here.
| Input | Purpose |
|---|---|
| Language | Language of the robot messages (English or Russian) |
| Direction | Direction of the main trade, buy or sell |
| Mode of operation | Testing, or work with manual entries or a main robot |
| Lot | Volume used in the testing mode only |
| Take profit of the main order | Take profit in points for testing mode; 0 disables it |
| Magic of the main positions | 0 for manual positions, or the magic of the other robot |
| Magic of the lock | Magic number assigned to the lock; 0 means none |
| Unlock option | Unlock always, only at breakeven, or never |
| Initial stop loss of the lock | Stop in points set once the lock becomes a market order |
| Break even | Closes the active lock early when price returns toward profit |
| Activation for break even | Distance in points from the initial line that arms break even |
| Trailing the initial lock line | Trailing in points; 0 disables it |
Trading carries risk and past results do not predict future ones. A lock limits further loss but does not remove it, and costs such as spread, swaps and slippage still apply. Test on a demo account before using real funds.
| Product type | Expert Advisor |
|---|---|
| Platform | MetaTrader 5 |
| Strategy focus | General |
| Delivery | Download from your account after purchase |
| License key | Not needed |
| Status | Launching soon |
| Category | Expert advisor (position protection and management) |
| Trade style | Locking with a counter order around a manual level |
| Markets | Symbol of the chart it is attached to; check your broker |
| Timeframes | Level-based; no fixed timeframe required |
| Account type | Hedging account needed to hold opposite positions |
| Direction | Buy or sell, chosen in the inputs |
| Requirements | Main positions opened without a stop loss |
No reviews yet. Customers who own Lock balancer MT5 can review it here.
Its main job is to protect positions that already exist, either ones you open by hand or ones opened by another expert advisor. It also has a testing mode that opens a main position so you can see how the lock behaves, but the tool is designed as a protection layer, not a stand-alone entry system.
Yes. Set the magic number of the main positions to the same value the other robot uses. For positions you open manually, set it to 0. Remember that the main positions should not carry their own stop loss, because the lock takes that role.
A lock is an opposite position on the same symbol held alongside the main one, so the account must allow hedging. Netting accounts merge opposite trades, which defeats the idea. Confirm the account type with your broker before buying or running it live.
That depends on how much risk you accept. Unlocking always releases the lock as soon as price turns back, which can leave a small loss. Unlocking only at breakeven waits for a cleaner exit. Never unlocking keeps the lock in place. Try each on a demo account first.
Copy the file into the Experts folder of the MT5 data directory (File, Open Data Folder, MQL5, Experts), restart the terminal or refresh the Navigator, then drag it onto a chart and allow automated trading.
No. A lock limits further loss on the position, but slippage, spread, swaps, gaps and repeated lock and unlock cycles in ranging markets can still cost money. Trading carries risk and past results do not predict future ones.
Lock balancer MT5
Notify me at launchQuestions about this tool?
Ask us on Telegram Install guide for MT4 and MT5 Get a custom version builtFree, practical help with testing, sizing and running expert advisors.
Own Lock balancer MT5? Sign in to review it.