Combining Break of Structure and RSI Signals in an Expert Advisor
Summary
The article describes an Expert Advisor that combines swing-based break-of-structure signals with RSI thresholds. It searches for swing highs and lows using surrounding bars, stores the latest detected levels, and checks whether price crosses them. RSI with a period of eight and conventional 70 and 30 thresholds is used as confirmation. The example opens a sell after an upside break with elevated RSI and a buy after a downside break with low RSI, while limiting repeated entries by checking existing positions and setting stop-loss and take-profit distances.
The article explains chart markers, bar-by-bar signal handling, and indicator-buffer use, and mentions a backtest with an equity curve. It gives no detailed performance statistics and acknowledges that the EA needs optimization; the reported test covers only twelve months, leaving longer-term behavior unknown. The described signal rules and implementation should therefore be treated as an example, not evidence of a reliable edge. The stated signal interpretation also warrants scrutiny because the entry direction follows a reversal-style RSI confirmation after the structure break.
Key ideas
- The EA identifies swing levels by comparing a candidate bar with surrounding bars.
- A break above a stored swing high or below a swing low defines a structure event.
- RSI extremes confirm the example's sell and buy signals, respectively.
- Position checks and stop-loss and take-profit distances are included in trade handling.
- The article reports a limited backtest but provides no detailed results and calls for optimization.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.