A Time-Window Breakout Expert Advisor Using Prior Highs and Lows
Summary
This expert advisor trades within a configured time interval and uses the highest and lowest prices observed over a chosen number of bars as breakout levels. According to the description, a break below the low triggers a buy, while a break above the high triggers a sell. Before opening a position in either direction, it closes existing positions in the opposite direction. The EA also includes a safeguard intended to handle insufficient funds when placing trades.
The description identifies the original idea's author and the MQL5 code author, but provides no performance results, detailed parameters, or rationale for buying on a downside break and selling on an upside break. It does not explain exits, position sizing, spread or slippage handling, or how the time window and bar count should be chosen. Those omissions make it a high-level description of an automated range-break rule rather than a validated trading system.
Key ideas
- The EA defines breakout levels from the highs and lows across a chosen number of bars.
- A break below the low opens a buy, while a break above the high opens a sell.
- It closes positions in the opposite direction before opening a new position.
- A safeguard addresses insufficient-funds errors when placing trades.
- The description provides no performance data or detailed risk and exit rules.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.