MMLineTradePanel
- Utilities
- Version: 1.85
- Activations: 5
This is NOT an automated trading EA. It is a manual trade execution panel.
MM_LineTradePanel is a trading utility that automatically calculates your position size based on a stop-loss line you drag on the chart, then lets you place the order with a single click.
You no longer need to open a separate lot calculator before every entry. Keep your risk consistent and execute faster.
SL Line Trade Manager
A trade manager panel built around one simple idea: drag your stop loss line, and everything else is calculated for you.
Most position size calculators require you to type numbers into input fields. SL Line Trade Manager works differently. You drag a horizontal line to where your stop loss belongs, and the panel instantly shows the correct lot size for your risk percentage.
This is a manual trading utility. It does not generate signals and does not trade automatically. It executes your decisions with accurate position sizing.
Automatic Lot Size Calculation
Drag the SL line to your stop loss level. The panel calculates position size in real time based on your selected risk percentage.
Position sizing uses OrderCalcProfit(), which means the result is always correct in your account currency. Works with forex, gold (XAUUSD), indices, commodities, and crypto without any configuration.
The panel also displays the exact money at risk for both BUY and SELL, so you know your downside before you click.
One Click Order Execution
Two modes, switched with a single button.
MARKET mode Click BUY or SELL for instant market execution with your calculated lot size and stop loss already attached.
PENDING mode Place the entry line on your chart. The panel automatically determines whether you need a Stop or Limit order:
- BUY: entry above ASK → Buy Stop, entry below ASK → Buy Limit
- SELL: entry below BID → Sell Stop, entry above BID → Sell Limit
No dropdown menus. No order type selection. The panel reads your intent from the line position.
Risk Percentage Cycle Button
Tap the Risk% button to cycle through preset risk levels:
0.30% → 0.50% → 1.00% → 1.50% → 2.00%
Adjust your risk mid session without opening the parameter window. Useful when market conditions change or when you want to size down after a loss.
Live Information Display
The chart comment area shows everything you need at a glance:
- Current mode (MARKET or PENDING)
- Active risk percentage and calculation base
- Stop loss line price and entry line price
- Calculated lot size for BUY and for SELL
- Money at risk if stop loss is hit, for BUY and for SELL
Flexible Panel Placement
Position the panel in any corner of your chart with pixel level X and Y offsets. Keep it out of the way of your price action.
Who This Is For
- Manual traders who want consistent risk management
- Scalpers who need fast execution without calculation delays
- Prop firm traders working within strict drawdown rules
- Anyone tired of switching between a lot calculator and their chart
How To Use
- Attach to any chart
- Drag the SL line to your stop loss level
- Tap Risk% to select your risk
- Choose MARKET or PENDING with the MODE button
- Click BUY or SELL
Parameters
| Parameter | Description |
|---|---|
| InpRiskPercent | Starting risk percentage |
| InpUseEquity | Calculate from Equity (true) or Balance (false) |
| InpSlippagePts | Allowed slippage in points |
| InpFloorToStep | Round lot size down to volume step |
| InpMagic | Magic number for order identification |
| InpPanelCorner | Panel corner position |
| InpPanelX / InpPanelY | Panel offset in pixels |
| InpColorSLLine | Stop loss line color |
| InpColorEntryLine | Entry line color |
Requirements
- MetaTrader 5 (not compatible with MT4)
- All symbols supported: forex, gold, silver, indices, commodities, crypto
- All timeframes
- Netting and hedging accounts both supported
- No additional files or DLLs required
Important
This utility assists manual order execution. It does not analyze the market, generate signals, or trade on its own. All trading decisions remain yours.
Test on a demo account before live trading. Trading involves risk of loss.
