Trade Assistant v4
- Yardımcı programlar
- Alexander Vysoky
- Sürüm: 4.0
- Etkinleştirmeler: 5
OVERVIEW
This is a one-click trading panel EA designed specifically for XAUUSD (Gold) on MetaTrader 5. It attaches directly to your chart and displays a full control panel with buttons for opening trades, managing stop losses, closing positions, and protecting profits — all with a single click, no manual order entry needed.
1. Price Display
Shows live BID price, ASK price, and current spread in points. Updates on every tick.
2. LOT SIZE — ( − ) and ( + ) buttons
Adjusts your trade size in steps of 0.01 lot. The current lot size is always visible. Changes take effect on the next trade you open.
3. INSTANT STOP-LOSS — ( − ) and ( + ) buttons
Sets the stop loss in pips that will be placed automatically on every new BUY or SELL order. Default is 100 pips. You can increase or decrease it in steps of 10 pips before entering a trade. The exact price distance is shown under the BUY and SELL buttons so you always know where your SL will land before you click.
4. BREAK-EVEN — BUY BE and SELL BE buttons
Moves the stop loss of all open BUY or SELL positions to break-even plus a buffer. Each click adds 10 points above entry for BUY positions, or 10 points below entry for SELL positions. Clicking multiple times accumulates — first click sets SL to entry +10 pts, second click sets it to entry +20 pts, third to +30 pts, and so on. The counter below each button shows how many points are currently applied. Resets automatically when all positions on that side are closed.
5. RISK FREE button
One click moves the stop loss of every single open position — both BUY and SELL — to entry price plus 10 points in one shot. This locks in a small profit buffer on all trades simultaneously. Use this after the market has moved in your favor and you want to guarantee you cannot lose on any open trade. The BE counters sync automatically after clicking.
6. BUY and SELL buttons
Opens a market order instantly at the current ASK (for BUY) or BID (for SELL) with the lot size and stop loss shown on the panel. The entry price and SL distance are displayed beneath each button so you see exactly what will be placed before you click.
7. CLOSE PROFIT
Scans all open positions and closes only the ones that are currently in profit. Losing positions are left open.
8. CLOSE LOSS
Scans all open positions and closes only the ones that are currently at a loss. Profitable positions are left open.
9. HALF PROFIT
Partially closes all profitable positions by cutting their lot size in half. The trade stays open but with reduced exposure, locking in some profit while keeping the position running.
10. HALF LOSS
Partially closes all losing positions by cutting their lot size in half. Reduces your loss exposure without fully closing the trade.
11. CLOSE ALL
Immediately closes every open position on XAUUSD regardless of profit or loss. Also resets the break-even counters.
12. Position Summary bar
Shows a live count of open BUY positions, open SELL positions, total floating P&L in dollars, and total open lot size. The P&L turns green when in profit and red when at a loss.
13. Log line
Displays the timestamp and result of the last action taken — trade opened, SL moved, positions closed, etc. Also prints to the MT5 Experts log tab for full history.
INPUT PARAMETERS (set when attaching EA)
• InpLotSize — starting lot size, default 0.10
• InpSlippage — maximum slippage in points, default 3
• InpStopLossPip — default stop loss in pips, default 100
• InpPanelX / InpPanelY — position of the panel on the chart
IMPORTANT NOTES
The AutoTrading button in MT5 must be enabled (green robot icon in toolbar) otherwise no buttons will execute orders. Test on a demo account before using live.
