QCL Trade Assistant
- Utilità
-
Shujah Amin
My journey into algorithmic trading was born from the same frustration many traders face: the battle against emotions and the risks of human error. Determined to master the markets, I transitioned from manual trading to deep-level MQL5 development, focusing on the volatility of Gold (XAUUSD). - Versione: 1.0
- Attivazioni: 10
QCL Trade Assistant is a trade panel and risk manager for MetaTrader 5. It lets you plan every trade directly on the chart with a visual Risk : Reward box, calculates the correct lot size from your risk percentage, and opens the trade with one click. After entry, it manages the position for you with split take-profit, automatic breakeven and five trailing stop modes.
The utility does not open trades on its own. You decide every entry; the assistant handles the calculations and the management.
ON-CHART RISK : REWARD PLANNER
- A clear Risk : Reward box is drawn on the chart: red zone from entry to stop loss, green zones to TP1 and TP2.
- Drag the SL, TP1 and TP2 lines with the mouse. Lot size, money at risk, reward and R:R update instantly.
- Every line shows its price, the amount in account currency and the R-multiple.
- Transparent zones: several trades on the same area blend together and stay readable.
- Executed trades stay on the chart as a faded box showing live profit, "SL to breakeven" and "TP1 hit", and are removed automatically when the trade closes.
- Local time with seconds and a countdown to the candle close are pinned next to the current price.
- Live spread monitor, colour-coded against your stop loss distance.
ONE-CLICK EXECUTION AND AUTO-FLIP
- Large BUY and SELL buttons with live Bid and Ask and the planned lot size.
- Switch direction without extra buttons: drag the stop loss above the price for a SELL plan, below the price for a BUY plan. TP1 and TP2 mirror automatically.
- FLIP and RESET buttons on the chart.
- Clicking the opposite button can mirror the plan and execute at once, or flip the plan first and wait for a second click (selected in the inputs).
- Market and pending orders. The pending type (Limit or Stop) is chosen automatically from the entry position.
- Optional hotkeys: B for Buy, S for Sell.
AUTOMATIC LOT SIZE CALCULATION
- Risk presets (0.5%, 1%, 2%) or any custom percentage, based on balance or equity.
- Reward presets (1:2, 1:3, 1:5) or any custom ratio.
- Stop loss by ATR, fixed points or the last swing high / low.
- Lot size uses the broker's own contract values and respects minimum, maximum and step volume.
- Works on Forex, metals, indices and crypto, including cent accounts.
SPLIT TAKE-PROFIT AND BREAKEVEN
- One click can open two positions with the same stop loss: one closes at TP1, the other runs to TP2.
- The share closed at TP1 is adjustable (default 50%).
- When TP1 is reached, the stop loss of the remaining position moves to breakeven plus a small offset.
TRAILING STOP (5 MODES)
- Off: the stop loss stays where you placed it.
- Breakeven: moves the stop to entry after the chosen profit.
- Step: moves the stop 1R for every 1R of profit.
- Lock %: keeps a chosen percentage of open profit.
- ATR: follows the price at a volatility-based distance.
- Trailing starts after a profit you choose (in R) and is measured from the original risk of each trade.
- Also manages trades opened manually or from the mobile terminal on the same symbol (optional).
POSITION MANAGEMENT
- List of open positions on the symbol with live profit, plus close half and close buttons on each row.
- Total volume and average breakeven price.
- Quick actions: Close All, Close 50%, Stop Loss to Breakeven, Reverse, Close Profitable, Delete Pending.
ACCOUNT PROTECTION
- Maximum trades per day.
- Maximum risk per trade.
- Daily loss limit based on equity: when reached, new trades are locked until the next day (optional: close all positions).
- Daily profit target alert.
- Spread filter: blocks a new trade when the spread is too large compared to the stop loss distance.
- Clear messages explain why a trade was blocked, including broker responses such as close-only symbols.
STATISTICS
- Today's result in money and percent, number of trades, wins and losses.
- Progress towards the daily target and the daily loss limit.
- Win rate and a discipline score based on your own rules.
- Monthly performance calendar with the result of each trading day.
PANEL
- Compact panel with four tabs: Trade, Manage, Setup, Stats.
- Can be dragged anywhere on the chart and minimized to a small bar that still trades.
- Optional dark chart theme. Your original chart colours are restored when the utility is removed.
- Scales correctly on high-resolution screens.
MAIN INPUT PARAMETERS
- Risk button 1 / 2 / 3 (%) and default risk button
- Risk calculated from: Balance or Equity
- R:R button 1 / 2 / 3 and default R:R button
- TP1 distance as fraction of TP2 distance, volume closed at TP1 (%)
- Default stop loss method, ATR period and multiplier, fixed SL points, swing lookback
- Magic number, maximum slippage
- Clicking the opposite side of the plan: execute instantly or confirm first
- Split TP1 / TP2 by default, move SL to breakeven at TP1
- Also manage manual / phone trades
- Keyboard hotkeys
- Trailing mode, start after (R), lock %, ATR multiplier, breakeven offset
- Spread filter and maximum spread (% of SL)
- Maximum trades per day, maximum risk per trade, daily loss limit, close all on loss limit, daily profit target
- Panel scale, chart theme, zone width, zone colours and opacity, clock on chart
STRATEGY TESTER
Buttons cannot be clicked in the Strategy Tester. To show how trades are managed, the utility opens small demonstration trades in the tester only. This never happens on a live or demo chart.
NOTES
- One chart, one symbol: attach the utility to every chart you want to trade.
- Enable Algo Trading in the terminal.
- Trading involves risk. The assistant helps you control risk; it does not predict the market or guarantee results.
For questions or suggestions, please use the comments section or send a private message on MQL5.
The utility does not open trades on its own. You decide every entry; the assistant handles the calculations and the management.
ON-CHART RISK : REWARD PLANNER
- A clear Risk : Reward box is drawn on the chart: red zone from entry to stop loss, green zones to TP1 and TP2.
- Drag the SL, TP1 and TP2 lines with the mouse. Lot size, money at risk, reward and R:R update instantly.
- Every line shows its price, the amount in account currency and the R-multiple.
- Transparent zones: several trades on the same area blend together and stay readable.
- Executed trades stay on the chart as a faded box showing live profit, "SL to breakeven" and "TP1 hit", and are removed automatically when the trade closes.
- Local time with seconds and a countdown to the candle close are pinned next to the current price.
- Live spread monitor, colour-coded against your stop loss distance.
ONE-CLICK EXECUTION AND AUTO-FLIP
- Large BUY and SELL buttons with live Bid and Ask and the planned lot size.
- Switch direction without extra buttons: drag the stop loss above the price for a SELL plan, below the price for a BUY plan. TP1 and TP2 mirror automatically.
- FLIP and RESET buttons on the chart.
- Clicking the opposite button can mirror the plan and execute at once, or flip the plan first and wait for a second click (selected in the inputs).
- Market and pending orders. The pending type (Limit or Stop) is chosen automatically from the entry position.
- Optional hotkeys: B for Buy, S for Sell.
AUTOMATIC LOT SIZE CALCULATION
- Risk presets (0.5%, 1%, 2%) or any custom percentage, based on balance or equity.
- Reward presets (1:2, 1:3, 1:5) or any custom ratio.
- Stop loss by ATR, fixed points or the last swing high / low.
- Lot size uses the broker's own contract values and respects minimum, maximum and step volume.
- Works on Forex, metals, indices and crypto, including cent accounts.
SPLIT TAKE-PROFIT AND BREAKEVEN
- One click can open two positions with the same stop loss: one closes at TP1, the other runs to TP2.
- The share closed at TP1 is adjustable (default 50%).
- When TP1 is reached, the stop loss of the remaining position moves to breakeven plus a small offset.
TRAILING STOP (5 MODES)
- Off: the stop loss stays where you placed it.
- Breakeven: moves the stop to entry after the chosen profit.
- Step: moves the stop 1R for every 1R of profit.
- Lock %: keeps a chosen percentage of open profit.
- ATR: follows the price at a volatility-based distance.
- Trailing starts after a profit you choose (in R) and is measured from the original risk of each trade.
- Also manages trades opened manually or from the mobile terminal on the same symbol (optional).
POSITION MANAGEMENT
- List of open positions on the symbol with live profit, plus close half and close buttons on each row.
- Total volume and average breakeven price.
- Quick actions: Close All, Close 50%, Stop Loss to Breakeven, Reverse, Close Profitable, Delete Pending.
ACCOUNT PROTECTION
- Maximum trades per day.
- Maximum risk per trade.
- Daily loss limit based on equity: when reached, new trades are locked until the next day (optional: close all positions).
- Daily profit target alert.
- Spread filter: blocks a new trade when the spread is too large compared to the stop loss distance.
- Clear messages explain why a trade was blocked, including broker responses such as close-only symbols.
STATISTICS
- Today's result in money and percent, number of trades, wins and losses.
- Progress towards the daily target and the daily loss limit.
- Win rate and a discipline score based on your own rules.
- Monthly performance calendar with the result of each trading day.
PANEL
- Compact panel with four tabs: Trade, Manage, Setup, Stats.
- Can be dragged anywhere on the chart and minimized to a small bar that still trades.
- Optional dark chart theme. Your original chart colours are restored when the utility is removed.
- Scales correctly on high-resolution screens.
MAIN INPUT PARAMETERS
- Risk button 1 / 2 / 3 (%) and default risk button
- Risk calculated from: Balance or Equity
- R:R button 1 / 2 / 3 and default R:R button
- TP1 distance as fraction of TP2 distance, volume closed at TP1 (%)
- Default stop loss method, ATR period and multiplier, fixed SL points, swing lookback
- Magic number, maximum slippage
- Clicking the opposite side of the plan: execute instantly or confirm first
- Split TP1 / TP2 by default, move SL to breakeven at TP1
- Also manage manual / phone trades
- Keyboard hotkeys
- Trailing mode, start after (R), lock %, ATR multiplier, breakeven offset
- Spread filter and maximum spread (% of SL)
- Maximum trades per day, maximum risk per trade, daily loss limit, close all on loss limit, daily profit target
- Panel scale, chart theme, zone width, zone colours and opacity, clock on chart
STRATEGY TESTER
Buttons cannot be clicked in the Strategy Tester. To show how trades are managed, the utility opens small demonstration trades in the tester only. This never happens on a live or demo chart.
NOTES
- One chart, one symbol: attach the utility to every chart you want to trade.
- Enable Algo Trading in the terminal.
- Trading involves risk. The assistant helps you control risk; it does not predict the market or guarantee results.
For questions or suggestions, please use the comments section or send a private message on MQL5.

