Skip to content
All library documents

Asian Range Sweep Signals and Bar-Based Performance Scoring

Article MQL5 code base

Summary

This indicator defines the Asian session range, then looks for a London or New York wick through one boundary followed by a close back inside. A signal requires a later close beyond the opposite end of the sweep bar within four bars. It enters at the next bar’s open, places a stop beyond the sweep wick, and targets twice the stop distance. The scorecard follows trades through the day and reports wins, profit factor, average R, and total R, with spread deducted. It treats a bar touching both stop and target as a stop, since intrabar order is unknown.

The document reports a historical test on four currency pairs and gold, with mixed outcomes: EURUSD was positive while the other three were near flat or negative. A trend filter did not make the reported gold results positive. These figures are specific to the stated broker data, period, timeframe, and default settings; they do not establish future performance. The author also notes that the bar-based results omit commissions and slippage, and may understate losses during news spikes. Closed-bar signals are described as non-repainting, with buffers available for Expert Advisors.

Key ideas

  • A sweep requires a wick beyond the Asian range and a close back inside, followed by confirmation within a limited number of bars.
  • The scorecard assumes next-bar entry, a stop beyond the sweep wick, and a target set at a fixed reward-to-risk multiple.
  • Spread is deducted, while a bar that reaches both stop and target is counted as a loss.
  • Reported results vary by instrument and should be treated as historical, broker-specific evidence.
  • Commissions, slippage, and the order of intrabar price moves are not captured fully.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.