Skip to content
All library documents

Impulse Trading from Range Expansion with Candle Direction

Article MQL5 code base

Summary

This expert-advisor description uses an unusually large current candle range as an impulse signal. It compares the current high-to-low range with the previous candle’s range multiplied by a configurable ratio, then opens a buy when the current candle closes above its open or a sell when it closes below. The author identifies four-hour and daily charts as the preferred timeframes and describes trailing stops as a way to follow an open position.

The shown settings include stop-loss, take-profit, trailing-stop, lot-size, and risk parameters; the accompanying prose advises a stop no larger than 20 points. The idea is to trade in the direction of a sudden price expansion, regardless of its cause. The document supplies no test results, market-specific rules, execution details, or evidence that the signal is profitable. It also leaves the meaning of points and the handling of gaps or repeated signals unspecified, so implementation and risk behavior may vary across instruments and platforms.

Key ideas

  • The entry signal compares the current candle’s range with the previous candle’s range scaled by a ratio.
  • Candle direction selects long or short exposure after the range expansion condition is met.
  • The post favors four-hour and daily charts and describes trailing stops for managing open trades.
  • It gives configurable risk and exit settings but reports no validation or performance evidence.
  • Point units and several execution details are left unspecified.

Tags

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