Guide
From installation to your first trade — everything you need to know in 5 minutes.
After purchasing from the MQL5 Marketplace, the EA is automatically downloaded to your MetaTrader 5. You can also manually place the files:
Copy all 4 files to your MT5 Experts folder:
TradePilot.mq5
TradePilot_Panel.mqh
TradePilot_Risk.mqh
TradePilot_Trade.mqh
Open MetaEditor and press F7 to compile. Then in MT5, drag TradePilot from the Navigator panel onto any chart.
The panel opens with 1% risk selected by default. Use the preset buttons to switch:
| Button | Action |
|---|---|
| 0.5% / 1% / 2% / 3% | Set risk percentage per trade |
| SL − / + | Adjust stop loss in 5-pip increments (min 5 pips) |
| TP − / + | Adjust take profit in 5-pip increments (min 5 pips) |
| PIPS / $ | Toggle SL/TP between pips mode and dollar risk mode |
The Auto Lot box updates live — showing the calculated lot size, dollar risk amount, and your current Risk:Reward ratio.
Dollar Risk Mode ($): Click the PIPS button to switch to $ mode. Now SL shows your dollar risk amount (e.g., "$50"). The lot auto-sizes so that your SL = exactly that dollar amount. Great for traders who want a fixed dollar risk per trade regardless of equity.
Per-Symbol Memory: TradePilot remembers your SL, TP, and risk % for each symbol. Switch from EURUSD to XAUUSD and back — your settings auto-restore. No manual re-entry needed.
TradePilot has two execution modes, controlled by the CONF ON/OFF toggle:
Click BUY or SELL. The trade fires immediately with your pre-set risk %, SL pips, and TP pips. No confirmation dialog. Fastest possible execution.
The MANAGE section gives you one-click control over all open positions:
| Button | What It Does |
|---|---|
| Break Even | Move SL to entry price + 2 pip buffer on all positions |
| Trail ON/OFF | Enable trailing stop on all positions (adjustable pip distance with −/+ buttons) |
| Trail Trigger | Set a price level on chart; trailing only starts when price reaches it. Drag the blue line to your activation point. |
| Close Profit | Close all positions currently in profit |
| Close Loss | Close all positions currently in loss |
| Close Buy | Close all BUY positions |
| Close Sell | Close all SELL positions |
| Wins Half | Partial close 50% volume on all winning positions |
| Losses Half | Partial close 50% volume on all losing positions |
| Partial 50% | Partial close 50% volume on all positions |
| Cancel Pend | Cancel all pending orders placed by TradePilot |
| CLOSE ALL | Close everything (requires double-click confirmation within 3 seconds) |
The PROP FIRM GUARD section has toggleable safety nets:
| Toggle | Default | Behavior |
|---|---|---|
| Daily DD Limit (5%) | ON | When daily equity drawdown hits 5%, all positions auto-close and BUY/SELL lock until the next trading day. Prevents revenge trading. |
| Max Loss Brake (10%) | OFF | When total drawdown from session start hits 10%, all positions close and trading locks permanently. You must remove and re-attach the EA to unlock. This is the last line of defense. |
| News Filter | — | Coming in v1.2. Will auto-disable trading around high-impact news events. |
The DD Progress Bar below shows your current drawdown visually: green = Safe, gold = Caution, red = Danger.
TradePilot includes quality-of-life features to keep your chart clean and informative:
| Feature | Control | Description |
|---|---|---|
| Chart Theme | TM button in header | Cycle through Midnight (dark), Slate (light), or your original colors |
| Trade Annotations | ANN ON/OFF | Show/hide live P/L, SL loss, and TP gain labels at each trade level on the chart |
| Candle Timer | Automatic (with ANN ON) | Countdown timer above current candle, color shifts as candle nears close |
| Minimize Panel | _ button in header | Collapse to header bar. Annotations keep running. Click + to expand. |
| Close Panel | x button in header | Remove panel from chart entirely. Re-attach EA to bring it back. |
These are set when you attach the EA to a chart (right-click EA → Properties → Inputs):
| Parameter | Default | Description |
|---|---|---|
| Default Risk % | 1.0 | Starting risk percentage |
| Default SL (pips) | 50 | Starting stop loss distance |
| Default TP (pips) | 100 | Starting take profit distance |
| Min Lot | 0.01 | Minimum allowed lot size |
| Max Lot | 10.0 | Maximum allowed lot size |
| Enable Daily DD | true | Daily drawdown protection on/off |
| Max Daily DD % | 5.0 | Daily drawdown threshold |
| Enable Max Loss Brake | false | Total DD kill switch on/off |
| Max Total DD % | 10.0 | Total drawdown threshold |
| Panel X / Y | 20 / 20 | Panel position on chart |
| BUY Color | DodgerBlue | BUY button color |
| SELL Color | Crimson | SELL button color |
Not sure where to start? These are tested starting points for common trading instruments:
| Asset | SL (pips) | TP (pips) | Trail (pips) | Risk % |
|---|---|---|---|---|
| Forex Majors EURUSD, GBPUSD, USDJPY |
20–30 | 40–60 | 15–20 | 1% |
| Gold (XAUUSD) | 50–80 | 100–160 | 50–80 | 0.5–1% |
| Indices US30, NAS100, SPX500 |
30–50 | 60–100 | 30–50 | 0.5–1% |
| Crypto BTCUSD, ETHUSD |
100–200 | 200–400 | 100–150 | 0.5% |
Break Even timing: A good rule of thumb is to activate Break Even once the trade is at 50–70% of your TP target. Example: TP = 40 pips → set Break Even when trade is +25 pips in profit.
Trail Trigger tip: Instead of trailing immediately from entry, use the Trail Trigger button to set an activation level. Example on EURUSD: set trigger 20 pips above entry, trail at 15 pips. This lets the trade breathe early then locks profits once it moves.
Stop calculating lots manually. Stop blowing prop firm challenges. Start trading with discipline.