거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Telegram에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
Experts

MD Scalper – Trend / Reversal pending-stop scalper with trailing stop - MetaTrader 4용 expert

조회수:
401
게시됨:
업데이트됨:
MQL5 프리랜스 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

MD Scalper is a fast scalping Expert Advisor for MetaTrader 4. It uses a very short moving average channel to detect momentum and manages everything with pending stop orders and a tight trailing stop.

How it works

  1. Signal. Two 3-period smoothed moving averages are calculated, one on High and one on Low. If Bid breaks above the MA(High), the signal is UP. If Bid breaks below the MA(Low), the signal is DOWN. The current bar's range must also exceed the Filter value, which acts as a volatility filter.
  2. Mode. TradeMode decides which pending order is placed:
    • Trend: order in the direction of price. Price rising places a BUYSTOP just above price, and price falling places a SELLSTOP just below it.
    • Reversal: order behind price. Price rising places a SELLSTOP just below price, and price falling places a BUYSTOP just above it.
    • Both: places the Trend and Reversal order together. When one fills, the other is deleted. 
    md_scalper_img1
    • Pending order follows price. A BUYSTOP only moves down and a SELLSTOP only moves up, so the order always stays close to the market and triggers on a small move.
    • Trailing stop. After the fill, the stop loss trails the price at Distance points. Optional TrailStart and TrailStep settings control when and how often it moves.
    • Only one position is open at a time. When it closes, a new signal restarts the cycle.

    Broker and latency handling
    TEST on 1 min chart with low latency and near Zero SL level like IC Markets.
    Increas SL to 30points for avoid Stop hunt and some breath space.

    • Respects the broker's stop level and freeze level automatically ( AutoStopLevel ).
    • Modifications are throttled ( MinModifyMs ) with minimum step sizes, to avoid flooding the server with requests.
    • Retries on requote, busy and off-quotes errors, then pauses briefly after a failed send.
    • Measures average order latency, displays it, and can block entries when it is too high.
    • ExtraLatencyPoints adds a cushion to the order offset and trail distance.
    • Stale pending orders are deleted by age, outside the trading session, or when the spread is too wide.

    Other features

    • Spread filter: average spread, current spread and commission (auto-detected or manual).
    • Lot modes: fixed lots, % of balance risked at the stop loss, or the original leverage-based formula. A free-margin check is included.
    • Optional protections: max trades per day, daily loss limit, cooldown after a close, Friday cutoff, and a time filter that works across midnight.
    • On-chart panel showing signal, spread, latency, today's result and why entries are blocked.

    Main inputs

    Input Meaning
    TradeMode Trend / Reversal / Both
    MAPeriod, MAMethod MA settings (default 3, Smoothed)
    Filter Minimum current-bar range in points
    Limit Pending order offset from price in points
    StopLoss, TakeProfit Initial SL / TP in points (0 = none)
    Distance Trailing distance in points (negative = off)
    MaxSpreadPlusCommission Maximum allowed spread plus commission in points
    LotMode, FixedLots, RiskPercent Position sizing
    MagicNumber Order identifier

    md_scalper_img2_lifecycle

    Recommendations

    • The defaults (Limit 2, StopLoss 10, Distance 2) are very tight. They suit low-spread accounts with a small stop level.
    • On other accounts, AutoStopLevel widens the distances automatically.
    • Always test on a demo account first. Latency and broker execution effects cannot be fully reproduced in the Strategy Tester.
    • Scalping results depend heavily on spread, execution speed and the broker.

    Risk warning: trading leveraged products involves substantial risk. Past or simulated results do not guarantee future performance.


    Semi-HFT Grid Bot  Two-sided seed-bump-martingale grid with basket take profit Semi-HFT Grid Bot Two-sided seed-bump-martingale grid with basket take profit

    A two-sided grid EA that lays a small symmetric ladder of pending stop orders around the current price, then escalates in two stages as fills accumulate: first a single opposite-side lot "bump," then a full martingale doubling sequence with two extra grid levels added. The whole basket is watched as one unit and closed the moment its combined floating profit reaches a target, after which a fresh grid re-arms automatically. Built with separate, auto-selected input profiles for XAUUSD and NAS100/US100, since the two symbols need very different lot sizes, grid spacing, and broker minimum-distance handling.

    APB Channel EA — Heikin-Ashi reversal with channel confirmation and swing-structure stops APB Channel EA — Heikin-Ashi reversal with channel confirmation and swing-structure stops

    A complete, self-contained trend-reversal Expert Advisor for gold and silver. It waits for an averaged-bar colour flip to mark a possible reversal, then requires price to close back inside a volatility channel before committing to a trade. Stops are placed at real swing structure, position size is derived from your chosen risk, and the trade is closed early whenever the market prints an opposite-direction signal. No external indicators are required — all signal logic is built into the EA. Nothing repaints: every decision is made on closed bars only.

    Session Sweep Boxes MT4 Session Sweep Boxes MT4

    Draws Asian, London and New York session range boxes and marks liquidity sweeps: a closed bar that wicks beyond a completed session's high or low and closes back inside. Non-repainting arrows, extended session levels, alerts and iCustom-ready buffers.

    Volatility Regime Shader MT4 Volatility Regime Shader MT4

    Shades the chart background by volatility regime (Compression, Normal, Expansion) based on the percentile rank of the current ATR. Shows the current regime on the chart, alerts on regime changes and exposes buffers for Expert Advisors.