A Candle-Range Directional EA with Loss-Based Position Increases
Summary
This expert-advisor description combines a historical candle-range comparison with a loss-responsive position size. It examines bullish and bearish bars over a configurable number of past days; if the summed size of bullish bars exceeds that of bearish bars, it opens a buy, and if the comparison is reversed, it opens a sell. A minimum candle-height filter can be enabled, and the EA includes a stop-loss input. Positions are forcibly closed when a new bar begins, with analysis keyed to bars sharing the current bar’s opening hour and minute.
Position sizing resets to the initial lot after a profitable exit and increases after a losing exit, with the update handled when the platform reports a market exit. The document gives no backtest, return, or risk statistics. Loss-based size increases can compound exposure during losing sequences, while the brief description does not specify the increase schedule or provide enough detail to assess execution assumptions and safeguards.
Key ideas
- The EA compares cumulative bullish and bearish candle sizes over a configurable history window to choose direction.
- It can filter out candles below a minimum height and uses a configurable stop loss.
- Positions close at the start of a new bar, and the analysis uses matching opening times.
- Position size resets after a profitable exit and increases after a losing exit.
- No performance evidence or full sizing schedule is provided.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.