Aurora Gold Engine
- Utilità
- Twin Fitersya
- Versione: 1.0
- Attivazioni: 20
Utility Description: Auto TP & SL Manager for XAUUSD
Overview
The Auto TP & SL Utility is an automated Expert Advisor (EA) designed specifically for MetaTrader 5 (MT5). Its primary function is to monitor your open positions in real-time and automatically apply Stop Loss (SL) and Take Profit (TP) levels if they are missing. This is particularly crucial for volatile assets like XAUUSD (Gold), where price swings occur rapidly.
Key Features
-
Instant Protection: Automatically detects any manual or EA-generated trade that lacks a TP or SL and applies them instantly.
-
Pips-Based Calculation: Define your risk and reward levels in Pips (e.g., 200 pips = $2.00 price movement on Gold).
-
Zero-Conflict Logic: It only modifies trades that have 0.0 as their TP or SL value, ensuring it doesn't overwrite your existing manual adjustments.
-
Magic Number Filter: Can be configured to manage only manual trades (Magic 0) or specific trades from other Expert Advisors.
Input Parameters
| Parameter | Description |
| InpStopLoss | The distance from the opening price to set the Stop Loss (in Pips). |
| InpTakeProfit | The distance from the opening price to set the Take Profit (in Pips). |
| InpMagicNum | Set to 0 to manage manual trades. Enter a specific number to manage trades from another EA. |
How to Use
-
Installation: Copy the source code into your MetaEditor, compile it ($F7$), and ensure it appears in your MT5 Navigator under Experts .
-
Deployment: Drag and drop the utility onto an active XAUUSD chart.
-
Activation: Ensure the "Algo Trading" button in the MT5 top toolbar is green.
-
Execution: Whenever you open a "New Order" (Buy or Sell) without setting limits, the utility will automatically fill the SL and TP fields based on your predefined settings.
Risk Warning
Note: Trading Gold involves high volatility. It is recommended to test this utility on a Demo Account first to ensure the Pip-to-Price conversion matches your broker's decimal precision (digits).
