LacusTstopandBE
Download scriptThis script is a professional automated trading tool designed to manage active trade positions by dynamically adjusting safety limits, profit targets, and exit conditions. It acts as an intelligent "safety net" that monitors your trades in real-time to protect capital and lock in gains automatically.
Core Management Features
1. Dynamic Safety Limits (Stop Loss & Take Profit) The tool automatically calculates and applies Stop Loss (SL) and Take Profit (TP) levels for your positions. It is designed to be "broker-aware," meaning it automatically detects the specific price formatting (such as 3-digit or 5-digit pricing) of the asset you are trading to ensure that your safety limits are placed at the correct decimal accuracy.
2. Automated Break-Even Protection To safeguard your trades from turning into losses once they have moved in your favor, the script includes a "Break-Even" feature. Once the price reaches a specific profit milestone (Gain), the tool will automatically move your Stop Loss to a predetermined level where you can lock in a small profit or ensure you exit at zero loss.
3. Intelligent Trailing Stops For trades that are performing exceptionally well, the script utilizes a Trailing Stop logic. This allows the "safety net" to follow the price upward (in a buy) or downward (in a sell). It only activates once a certain profit threshold is met and maintains a fixed distance behind the current price, allowing you to capture as much of a trend as possible while preventing significant pullbacks from erasing your gains.
4. Global Profit & Balance Monitoring Beyond individual trade management, the script monitors your entire account status:
- Currency Targets: It can close all open positions if your total profit reaches a specific dollar/euro amount.
- Percentage Targets: It can automatically "sweep" all trades to lock in profits once your account balance increases by a specific percentage.
Operational Modes
- Standard Mode: The tool actively manages every aspect of the trade—moving stops, trailing prices, and checking profit targets based on the settings you provide.
- Stealth Mode: This is a specialized configuration where the tool performs "silent" monitoring. In this mode, it focuses primarily on closing the trades if your specific profit goals are met, without actively moving or modifying the stop levels on the chart.
Technical Reliability
- Order Integrity: The script includes built-in checks to ensure that the trade settings provided by the user are logical (for example, preventing a break-even point from being set higher than the required gain).
- Execution Accuracy: It verifies "filling types" with your broker to ensure that all orders are executed successfully according to your provider's requirements.
- Real-time Updates: The system constantly refreshes price data to ensure that every calculation for profit, loss, and trailing distances is based on the most current market information available.
ÿþ/ / + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
/ / | L a c u s T s t o p a n d B E . m q 5 |
/ / | C o p y r i g h t 2 0 1 8 , M e t a Q u o t e s S o f t w a r e C o r p . |
/ / | h t t p : / / w m u a . r u / s l e s a r / |
/ / + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
# p r o p e r t y c o p y r i g h t "