Trade Assistant Professional
- 유틸리티
- 버전: 1.0
- 활성화: 5
MQL5 Market Description (Ready to Paste)
Clean, simple language — optimized for Market validation & rating
🚀 Trade Smarter, Manage Risk, Scale Locally — All in One EA
TradeAssistantPro is a 3-in-1 professional tool for serious traders: a Visual Trade Panel with Smart Risk Calculator, a 7-Mode Trailing & Position Manager, and a Local Multi-Terminal Copier (Master/Client). No DLL. No WebRequest. No cloud. Pure MQL5, built for MT5 Market validation — works on Forex, Metals, Indices, Crypto, CFDs on both Hedging and Netting accounts.
You get precision entries, automatic profit protection, and instant account scaling — without leaving MT5.
Why TradeAssistantPro? Most EAs do one job. This one replaces 3 separate tools with one fast, validated solution that protects your capital every tick.
✨ KEY FEATURES AT A GLANCE
1. VISUAL TRADE PANEL + SMART RISK CALCULATOR
- Drag Entry (Blue) / SL (Red) / TP (Green) lines directly on the chart
- See Lots auto-calculated in real-time from your Risk%
- Live readouts: Lots, Risk %, SL/TP in points, Reward:Risk, Spread, Margin required
- Override with fixed Lot if you want — your choice
- BUY / SELL / CLOSE ALL in one click (optional confirmation popup)
- Validates StopsLevel, FreezeLevel, spread limit, margin before sending order
- Fully draggable + translucent panel (82% opacity) — candles stay visible underneath
2. 7-MODE TRAILING & POSITION MANAGER
Your trades are managed automatically, tick-by-tick. Choose the mode that fits your strategy:
- FIXED: Trail at fixed distance after fixed start + step control
- BREAKEVEN (BE): Move SL to entry + offset when profit trigger reached
- ATR: Dynamic trail based on ATR distance ( Period × Multiplier )
- PARABOLIC SAR: Follow SAR dots exactly
- MA PROTECT: Trail behind Moving Average
- HIGH/LOW: Trail behind last N-bar High/Low + buffer
- PARTIAL CLOSE + BE: Auto partial profit at 3 steps (e.g., 50% at 200pts) + optional move to BE
- Works for your manual trades (Magic 20260101) AND copied trades (Magic 20260102)
- Rate-limited (max 1 modify/second per position) + spreads/commission-aware BE
- Shows Managed: X positions | Cache: Y handles live
3. LOCAL MULTI-TERMINAL COPIER — MASTER / CLIENT
Copy trades instantly between MT5 terminals on the same PC/VPS via Common Files — no DLL, no signal service needed. Perfect for prop firms or managing family accounts.
- MASTER terminal publishes positions every 100ms (atomic file with CRC32 check)
- CLIENT terminals read, validate age/spread/slip, auto-calibrate feed offset, and copy
- Supports Investor (read-only) password on Master — still publishes!
- 10 client slots per channel (1-999), multiple channels possible
- Lot modes: Same as Master / Fixed Lot / Multiplier / Risk% per Copy
- Direction: NORMAL / REVERSE with symbol mapping (Prefix/Suffix, custom map e.g., EURUSD→EURUSD.a )
- Filters: Copy Buys/Sells separately, Min/Max Master lot, Max open trades, Profit filter, Symbol list
- SL/TP sources: From Master / Fixed points / ATR-based / No SLTP
- Sync: Close, Partial Close, SL/TP modify — or keep local control
- Protection: PricePointSlip , MaxSignalAge , MaxSpread , MaxSlippage , Auto feed offset calibration
💎 REAL BENEFITS YOU WILL FEEL
For Risk-Focused Traders:
Calculate exact lot size for 1% risk in 1 second — no more manual errors or over-risking. See margin before you click.
For Busy / Away-From-Screen Traders:
7 trailing modes lock in profit automatically. No need to stare at charts — your SL follows price intelligently.
For Prop Firm & Multi-Account Traders:
Scale one strategy to 10 accounts locally with zero monthly fee. Investor account can be Master safely. Change lot multiplier per Client instantly from the panel.
For All Traders:
One EA replaces 3 tools, saves chart space, runs fast (cached handles, no handle creation per tick), fully compliant with Market rules, works on every symbol class.
🎯 WHO IS IT FOR?
- Day traders & scalpers who need fast, precise risk calc
- Swing traders who need ATR/MA/HighLow trailing overnight
- Prop firm traders passing challenges on multiple accounts
- Signal providers copying locally without risky DLLs
- Anyone tired of manual SL management
⚙️ HOW IT WORKS — 3 SIMPLE STEPS
Step 1: Set Risk
Type Risk% (e.g., 1.0 ) in the TRADE tab. Or enter fixed Lot override.
Step 2: Place Lines & Trade
Drag green Entry/SL/TP lines to desired prices. Watch Lots: 0.12 | R:R 2.0 update live. Click BUY or SELL. Market order if close to price, pending if far.
Step 3: Let It Manage
In TRAILING tab, click Manual: FIXED → BE → ATR... to choose mode. Edit distances → APPLY ALL. Your SL will trail automatically. Use BE ALL OPEN to secure all at once.
To Copy Locally:
- Master PC: Set InpTapMode = Master , ChannelID = 1 on your main account.
- Client PC(s) (same VPS, different MT5 data folders): Set InpTapMode = Client , ChannelID = 1 , ClientSlot = 1..10 , choose LotMultiplier = 1.0 or Risk% . Click COPY ON. Done — copies in <300ms.
🛡️ TECHNICAL HIGHLIGHTS (Why It’s Market-Grade)
- 100% MQL5 — using CTrade + OrderCheck , no DLL/WebRequest — passes validation
- Hedging & Netting fully handled, all 5 symbol types tested
- Performance optimized: Indicator handles cached, reused, released on deinit; no per-tick creation
- Rate-limited logging: [TAP][LEVEL][Module] — debug without flooding
- Safety: Spread filter, margin check with auto lot reduction, Stops/Freeze validation
- Persistent: Panel position, lines, Copy ON/OFF, lot edits saved via GlobalVariables [ChartID]
- Tester Demo: Built-in synthetic 4-step copier sequence + risk self-test for Strategy Tester
🔧 INPUT PARAMETERS — FULL LIST WITH SIMPLE DESCRIPTIONS
=== TAP Mode ===
- InpTapMode — Operating mode: ASSISTANT (trade + trail only), MASTER (publisher), CLIENT (copier). Default: ASSISTANT.
- InpLogLevel — Logging level: NONE / ERROR / INFO / DEBUG . Use INFO normally.
=== Risk ===
- InpRiskPercent — % of balance/equity to risk per trade (e.g., 1.0 = 1%). 0 disables risk mode → use fixed Lot.
- InpFixedRiskCash — Fixed cash to risk (overrides %). 0 = off. Use one or the other.
- InpRiskBase — Base for % calc: BALANCE / EQUITY / FREE MARGIN .
- InpMaxTotalRiskPercent — Max combined risk of all open positions + new one (e.g., 6.0 = block if >6%). Protects overexposure.
=== Trade ===
- InpMagic — Magic number for your manual trades. Trail manager tracks this magic only. Must be >0.
- InpSlippage — Max deviation in points for order placement.
- InpTradeComment — Comment added to your orders for tracking.
=== Trailing (Manual Trades) ===
- InpTrailType — Trailing mode for your Magic: NONE/FIXED/BREAKEVEN/ATR/SAR/MA/HIGHLOW/PARTIAL.
- InpFixedDistancePts — (FIXED) Distance SL trails behind price, in points.
- InpFixedStartPts — (FIXED) Profit (points) before trailing starts.
- InpTrailStepPts — Minimum improvement (points) before modifying SL again.
- InpBETriggerPts — (BE) Profit (points) to trigger move to breakeven.
- InpBEOffsetPts — (BE) Extra points beyond entry when moving to BE (covers spread/commission).
- InpATRPeriod — (ATR) ATR period (1-500).
- InpATRMult — (ATR) Multiplier (e.g., 2.0). SL = price ± ATR×Mult.
- InpATRTimeframe — Timeframe for ATR calc (default CURRENT chart).
- InpSARStep / InpSARMax — (SAR) Parabolic SAR step (0.02) and max (0.2).
- InpMAPeriod / InpMAMethod / InpMAAppliedPrice / InpMATimeframe — (MA) Trail behind MA settings.
- InpHLBars / InpHLBufferPts — (HIGHLOW) Lookback bars (e.g., 5) and buffer points above/below.
- InpPartialTriggerPts / InpPartialPercent / InpPartialMoveToBE — (PARTIAL) Trigger points, % to close (e.g., 50%), and whether to move remainder to BE.
- InpPartialStep2/3TriggerPts / Percent — Second & third partial levels (0 = disabled).
=== Panel ===
- InpPanelCorner — Chart corner for panel (LEFT_UPPER etc.).
- InpPanelXOffset / InpPanelYOffset — Initial X/Y position in pixels. Draggable at runtime (saved per chart).
- InpPanelBackColor / BorderColor / TextColor / BuyColor / SellColor — Customize colors.
- InpPanelFontSize — Font size (8 default). DPI auto-scaling included.
=== Safety ===
- InpMaxSpreadPts — Block trades if spread > this (points). 0 = no limit.
- InpConfirmBeforeTrade — If true, popup OK/Cancel before every BUY/SELL.
=== Copier Common ===
- InpChannelID — Channel number (1-999). Master & Clients must match to copy.
- InpClientSlot — Slot 1-10 per channel (unique per Client). Master sees all slots.
- InpCopierMagic — Magic for copied trades (separate from manual Magic).
- InpMaxClientsDisplay — How many clients to show in panel.
=== Copier Master ===
- InpPublishIntervalMs — How often Master writes file (50-5000ms, default 100ms = fast).
- InpPublishPendingOrders — Also publish pending orders (in payload, not just positions).
- InpIncludeSymbolsFilter — Comma list to limit symbols published (empty = all).
=== Copier Client: Direction & Lots ===
- InpCopyDirection — NORMAL or REVERSE (buy becomes sell).
- InpCopyLotMode — How to size: SAME_AS_MASTER / FIXED / MULTIPLIER / RISK_PERCENT .
- InpFixedLot — Lots if mode = FIXED (e.g., 0.01).
- InpLotMultiplier — Multiplier if mode = MULTIPLIER (e.g., 2.0 = double Master lot).
- InpRiskPercentPerCopy — % risk if mode = RISK_PERCENT (uses same calc as manual).
- InpMinLotOverride / InpMaxLotOverride — Clamp final lot between min/max. 0 = no clamp.
- InpSkipIfMinLotExceedsRisk — If clamped min lot still exceeds risk, skip trade.
=== Copier Client: Filters ===
- InpCopyProfitFilter — Filter by Master profit: COPY_ALL / ONLY_PROFITABLE / ONLY_LOSING .
- InpProfitFilterThresholdPts — Profit in points to qualify for filter.
- InpSymbolFilterMode — ALL or ALLOW_LIST / DENY_LIST .
- InpSymbolList — Comma list of symbols for filter (e.g., EURUSD,GBPUSD ).
- InpCopyBuys / InpCopySells — Copy buys? Copy sells?
- InpMaxOpenCopiedTrades — Max copied positions at once ( 0 = unlimited).
- InpMinMasterLots / InpMaxMasterLots — Only copy if Master lot within range.
=== Copier Client: Symbol Mapping ===
- InpSymbolPrefix / Suffix — Add to Master symbol to get Client symbol (e.g., Master EURUSD → Client EURUSD.a via Suffix .a ).
- InpCustomSymbolMap — Advanced map: EURUSD=EURUSD.a,GBPUSD=GBPUSD.a .
=== Copier Client: Protection ===
- InpPricePointSlip — Max allowed slip between Master open price and Client price (points). Blocks bad copy.
- InpAllowBetterPrice — If Client gets better price than Master, allow even if slip > limit.
- InpMaxSignalAgeMs — Max age of Master signal before considered stale (ms, e.g., 3000 = 3s).
- InpMaxClientSpreadPts — Block copy if Client spread too high.
- InpMaxSlippage — Max slippage for copy orders.
- InpAutoCalibrateFeedOffset — Auto-learn price offset between brokers.
- InpRetryBlockedUntilAgeLimit — Retry blocked trades until age limit.
=== Copier Client: SL/TP ===
- InpCopySLTPMode — Source: FROM_MASTER / FIXED / ATR / NONE .
- InpFixedSLPts / InpFixedTPPts — Fixed SL/TP points if mode = FIXED.
- InpATRSLMult / InpATRTPMult / InpATRPeriodSLTP / InpATRTimeframeSLTP — ATR multipliers/period if mode = ATR.
- InpReverseSwapSLTP — Swap SL/TP for reverse direction.
=== Copier Client: Sync ===
- InpSyncClose — If Master closes, Client closes immediately.
- InpSyncPartialClose — If Master partial closes (volume decrease), Client mirrors %.
- InpSyncSLTPModify — If Master modifies SL/TP, Client updates.
- InpLocalOverridesMaster — If you manually change Client SL/TP, don’t overwrite next sync.
- InpCopyExistingOnStart — On start, copy already-open Master positions.
- InpCopyPendingOrders — Also copy pending orders.
=== Copier Client: Local Management ===
- InpClientTrailType — Trailing mode for copied trades (separate from manual). Set to NONE to disable trailing on copies, or choose FIXED/ATR etc. to trail copies locally even if Master doesn't.
💡 TIPS FOR BEST RESULTS
- Start in ASSISTANT mode to learn panel. Move to MASTER/CLIENT only when you need copying.
- For prop firms: Use LotMode = RISK_PERCENT + Risk% = 1.0 to auto-respect challenge risk on each Client, regardless of Master lot size.
- Use BE Trigger 200pts + Offset 10pts as safe default for most FX pairs (covers spread).
- Use ATR 14 × 2.0 for volatile pairs (Gold, Indices) — SL adapts to volatility.
- Always set InpMaxSpreadPts = 300-500 to avoid news-spike bad fills.
- Host Master + Clients on same VPS for <0.5s latency. Different PCs won't work (Common Files is local).
⚠️ IMPORTANT NOTES
- This is a tool, not a trading strategy. It does not generate signals — you decide entries. Past performance of trailing/copier does not guarantee profit.
- Master can be Investor password — publishing still works (read-only positions are readable). Clients must have trade allowed.
- Common Files folder must be writable ( C:\Users\...\AppData\Roaming\MetaQuotes\Terminal\Common\Files\ ). EA checks this on Init — if not writable, it blocks copier and logs error.
- Test copier in Strategy Tester — includes synthetic Master 4-step sequence (Open → Modify SL → Partial → Close) to verify without second terminal.
- Panel is chart-specific: position, lines, and Copy ON/OFF are saved per ChartID via GlobalVariables.
🆘 SUPPORT & UPDATES
- Free updates for Market buyers. Each stage was validated with 0 errors/warnings.
- Need help? Message seller with: InpLogLevel = DEBUG log + Journal tab screenshot. We respond within 24h.
- No DLL. No WebRequest. No subscription. One-time purchase, lifetime use on your activated terminals.
Get TradeAssistantPro today — calculate risk in one drag, protect profit automatically, and scale to every account you manage.
