Diagonal Trend-Line Breakouts with Stop Entries and Volatility-Based Exits
Summary
This strategy seeks reversals when price breaks a diagonal trend line defined from detected swing highs or lows. It tracks a trend state, estimates the line's steepness using the tangent function, and treats a possible close beyond that boundary as a breakout candidate. A subsequent confirming bar advances the signal. The strategy then places a stop entry beyond the recent high or low of the violation, offset by a fraction of average true range. The example is described as adapted for EUR/USD Mini on an hourly chart and includes a trading-hours filter.
Trade management uses exponentially smoothed log-price dispersion to form volatility bands, together with a long lookback high or low and an RSI threshold to help trigger exits. The post provides code and a verbal outline, but no backtest, execution results, or risk-adjusted performance evidence. It also flags uncertainty about closing an existing position before a reversal entry; the code's trend-state and exit handling should be checked carefully. Angle calculations and parameter choices may be sensitive to scale, data, and platform behavior.
Key ideas
- The strategy detects swing points and tracks diagonal boundaries for the active trend direction.
- A close beyond the estimated boundary starts a breakout signal that requires confirmation.
- Stop entries are placed beyond the recent violation range with an average-true-range offset.
- Exit logic combines smoothed log-price volatility bands, prior extremes, and an RSI threshold.
- The post provides no performance evidence and leaves position handling and implementation details to verify.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.