Swing-Point Market Structure and Hedge Strategy Framework
Summary
This script outlines a strategy framework built around confirmed swing highs and lows. It identifies pivots using a configurable lookback on both sides, stores recent points, and tracks successive highs and lows to classify market structure. The available portion introduces higher-high, higher-low, lower-high, and lower-low states, then lists controls for opening an opposing hedge when structure breaks and closing it after a retracement. Fixed percentage stop-loss and take-profit options are also specified.
The provided text ends partway through the structure logic, before the full entry, hedge, and exit rules can be inspected. Although the script exposes swing length, hedge limits, risk controls, and chart display settings, it offers no market, timeframe, backtest results, or evidence of effectiveness. Pivot detection also requires bars on both sides of a candidate point, so the signal is confirmed after those bars have formed; the excerpt does not explain how that timing is handled in trades. Treat this as a partial strategy specification rather than a validated trading method.
Key ideas
- The strategy detects pivot highs and lows using a configurable number of bars on either side.
- Successive swing points are intended to classify market structure through higher or lower highs and lows.
- The listed hedge settings allow an opposing position on a structure break and a possible close on retracement.
- Optional percentage-based stop-loss and take-profit controls are included.
- The source is truncated before complete trade rules and contains no backtest evidence.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.