ScalpPanel v1
- Experts
- Versione: 1.51
- Aggiornato: 31 ottobre 2026
- Attivazioni: 20
ScalpPanel v1 — manual trading panel for scalping and position management
Short description
ScalpPanel v1 is a compact on-chart trading panel for MetaTrader 5: market and pending entries with risk-based lot sizing, SL/TP in points, breakeven, trailing stop, partial close and quick access to favourite symbols. Three UI languages (EN / UA / RU), three themes, scalable layout, settings persisted between sessions.
Full description
ScalpPanel v1 is an Expert Advisor panel for MetaTrader 5 that combines manual trading with automated position management. It has no trading strategy of its own: the trader makes the decisions, and the panel executes them quickly with risk control.
1. Risk-based position sizing. Three modes: risk percent of balance, fixed amount in deposit currency, and fixed lot. Volume is normalized to the broker's minimum, maximum and step, and verified with OrderCalcMargin against free margin, so an entry is not sent when margin is insufficient. The panel shows the calculated lot, risk in money and percent, and the R:R ratio.
2. Trading. BUY and SELL buttons, Reverse (close and open in the opposite direction), Close All, Close + (close profitable positions), Close − (close losing positions). Every operation is filtered by symbol and magic number, so the panel never touches positions of other experts or other symbols.
3. Pending orders. Buy Limit, Sell Limit, Buy Stop and Sell Stop. Two price modes: an offset in points from the market, or an exact price typed in the field. The minimum distance to the market is respected automatically (Stops Level plus buffer), and SL and TP are validated by side, digits and tick size. A dedicated button deletes all pending orders placed by the panel.
4. Position management. Breakeven moves the stop to breakeven at a given profit in points. The trailing stop works in three modes: fixed distance, moving average, and previous candle; the stop is modified only when it actually improves protection. Partial close can run automatically at a profit target or manually by a specified percent or volume. The Reset button restores the parameters defined in the inputs.
5. Favourite symbols. A quick symbol bar with tabs and lists (up to four groups) plus a dedicated symbol page with columns. Data and settings are stored per symbol, while interface settings (scale, theme, language) are shared per account.
6. Interface. Three themes: Dark, Light and Grey. Three languages: English, Українська and Русский. Panel scale from 0.7 to 1.8, collapse to the header, drag anywhere on the chart, and hover tooltips. Caption font size is fitted automatically to the button width, so labels are never clipped in any language or at any scale. State is saved to a file per account and symbol, so the panel keeps its place when the timeframe changes.
7. Extras. Visual SL and TP lines on the chart with price, profit and risk-percent labels; SL and TP values can be taken directly from those lines. The Strategy Tester includes a self-test that performs a few demo trades with the minimum lot so MQL5 validation registers trading operations. The result of every operation (return code and description) is written to the journal and to the panel status.
Inputs
Panel:
- InpShowPanel — show the panel.
- InpPanelX, InpPanelY — panel position on the chart.
- InpPanelScale — panel scale, 0.7 to 1.8.
- InpTheme — theme: Dark, Light, Grey.
- InpLang — interface language: EN, UA, RU.
- InpStartCollapsed — start collapsed.
- InpShowTips — hover tooltips.
- InpFontName — panel font.
Risk and volume:
- InpRiskMode — lot mode: percent of balance, amount in currency, fixed lot.
- InpRiskPercent — risk as a percent of balance.
- InpRiskMoney — risk as an amount in deposit currency.
- InpFixedLot — fixed lot size.
- InpSLPoints — stop loss in points.
- InpTPPoints — take profit in points.
Trading:
- InpMagic — expert magic number.
- InpDeviation — allowed slippage in points.
- InpPendingOffset — pending order offset in points.
- InpStopsBuffer — extra buffer added to Stops Level.
Position management:
- InpAutoBE — automatic breakeven.
- InpBEStartPts — profit threshold for breakeven, in points.
- InpAutoTrail — automatic trailing stop.
- InpTrailMode — trailing mode: Fixed, MA, Candle.
- InpTrailStartPts — profit after which trailing starts.
- InpTrailStepPts — trailing step in points.
- InpTrailMAPeriod — moving average period for trailing.
- InpAutoPartial — automatic partial close.
- InpPartialPct — share of the position to close, in percent.
- InpPartialAtPts — profit in points that triggers the partial close.
Visual lines:
- InpShowLines — show SL and TP lines.
- InpUseLines — take SL and TP from the lines.
- InpColorSL — SL line colour.
- InpColorTP — TP line colour.
- InpFillColor — fill colour between the lines.
- InpFillAlpha — fill opacity, 0 to 100 percent.
Strategy Tester:
- InpSelfTest — run demo self-test trades in the tester.
- InpSelfTestBars — number of bars to hold a demo trade.
- InpSelfTestCycles — number of self-test cycles.
How to use
Attach the Expert Advisor to a chart and allow algorithmic trading. Set a magic number that is unique for each chart and choose the lot mode. Validate the panel on a demo account and in the Strategy Tester: it is a trading tool, not a strategy, and it does not guarantee profit.
Important
The panel never trades on its own — orders are sent only when you click. If you switch the SL toggle off, orders are sent without a stop loss, which is an explicit user choice with increased risk. Trading decisions and their outcome are the user's responsibility; past results do not guarantee future performance.
- For MQL5 Market validation, the EA can run small demo self-test trades in the Strategy Tester; this can be disabled in the inputs.
