Quantum Queen EA - Mt4 Version
On Sale
$10.00
$10.00
How it works:
Quantum Queen EA (MT4)
here is how the automated trading robot works under the hood:
1. Strategy & Trade Execution Logic
- Automated Buying: The EA executes its core strategy continuously on every tick via the RunQuantumQueenLogic() function.
- Position Check: It first scans open orders to ensure no duplicate positions are active for its specific Magic Number (Magic_Quantum = 10004).
- Execution: If no matching open positions are found, it places a safe market BUY order using a standardized lot size (FixedLot_Standard = 0.01), paired with predefined Stop Loss (Quantum_SL_Points = 500) and Take Profit (Quantum_TP_Points = 500) levels.
- Broker Safety Filter: Before sending any order to the market, the ExecuteSafeTrade wrapper checks your broker's minimum stop-level requirements to prevent execution rejections.
2. Global Risk & Equity Governor (Circuit Breaker)
- Drawdown Protection: The EA constantly monitors your account's health via CheckGlobalEquityProtection() by comparing current account equity against your initial starting balance.
- Emergency Close: If your total equity drawdown breaches the safety threshold (InpMaxEquityDrawdown = 15.0%), the EA automatically force-closes all active trades for that symbol and halts further trading to protect your remaining capital.
3. Visual Dashboard & UI Analytics
- On-Screen Panel: When enabled (ShowDashboard = true), the EA constructs a custom graphical panel directly on your MetaTrader 4 chart using label objects (OBJ_RECTANGLE_LABEL and OBJ_LABEL).
- Real-Time Calculations: It loops through active trades and historical order data to dynamically calculate and display real-time statistics—including win/loss counts, open Profit/Loss (PnL), and net closed PnL.
How to Install Your EA in MetaTrader 4
Follow these quick steps to set up and run your .mq4 Expert Advisor on MT4:
Step 1: Place the File in the Experts Folder
- Open your MetaTrader 4 terminal.
- In the top-left menu, click on File $\rightarrow$ Open Data Folder.
- In the window that pops up, double-click on the MQL4 folder, then open the Experts folder.
- Place your converted EA code file (QuantumQueenEA.mq4) directly inside this Experts folder.
Step 2: Compile the EA
- Go back to MetaTrader 4 and press F4 on your keyboard to launch the MetaEditor development environment.
- In the Navigator window on the left, expand the Experts folder and click on your QuantumQueenEA.mq4 file to open it.
- Click the Compile button in the top toolbar (or press F7).
- Look at the "Errors/Warnings" window at the bottom and ensure it compiles successfully with 0 errors.
Step 3: Attach the EA to a Chart
- Return to your main MetaTrader 4 trading terminal window.
- Open the Navigator panel on the left (press Ctrl + N if you don't see it).
- Find Expert Advisors, locate QuantumQueenEA, and drag-and-drop it onto any currency chart (e.g., EURUSD) with your preferred timeframe.
- When the settings window appears:
- Go to the Common tab and check the box for "Allow live trading".
- Adjust any inputs (like lot size or drawdown limits) if necessary.
- Click OK.
Step 4: Verify Live Operation
- Make sure the AutoTrading button in the top main toolbar of MT4 is turned ON (it should show a green play icon).
- You will see the custom Quantum Queen dashboard panel render directly on your chart, displaying your real-time trades, PnL metrics, and system status!