A Doji-Candlestick Expert Advisor with Time and Risk Inputs
Summary
The document outlines an Expert Advisor that generates trade signals from Doji-like candlesticks. It evaluates the previous three completed bars when a new bar appears, excluding the still-forming current bar. A configurable maximum candle-body height determines which small-bodied candles qualify. The description also specifies one-position-at-a-time behavior: if multiple positions are open, the EA closes them. User inputs include trade volume, stop-loss and take-profit distances, a permitted trading-hour window, the maximum Doji height, and an identifier for the EA.
An example test is identified as EURUSD on the hourly timeframe, but the document gives no test results, entry direction rules, or explanation of how the pattern’s signal maps to a buy or sell. It therefore describes the EA’s structure and settings rather than demonstrating an effective strategy. The brief description also leaves execution details and handling of market conditions unspecified, so the stated controls alone are insufficient to assess performance or risk.
Key ideas
- The EA checks completed bars for a small-bodied candle pattern when a new bar forms.
- A maximum body-height input controls which candles count as Doji-like.
- The EA is designed to maintain only one open position and closes positions if it detects more than one.
- Trade volume, stop and target distances, trading hours, and an EA identifier are configurable.
- The document names an hourly EURUSD test but reports no results or entry-direction rules.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.