Skip to content
All library documents

Support and Resistance Clouds from Rolling Price Ranges

Article Strategy library · Author: ChaoZhang

Summary

This indicator draws a cloud between two retracement levels derived from the highest high and lowest low over a lookback period. It also calculates the range midpoint and displays the period’s extremes. The 0.382 and 0.618 levels define the cloud; closes above the upper level or below the lower level receive different bar colors. The accompanying text interprets movement beyond the cloud as a possible trend change or breakout and presents the display as a support and resistance aid.

The document warns that smoothed or period-based levels can lag, produce mistaken directional readings, and depend on parameter choices. It recommends using other signals as confirmation. A short BTC/USDT futures backtest configuration is supplied, but no performance results are given. There is also a discrepancy between the explanation and the code: the strategy entries compare the prior bar’s high or low with the rolling extremes and require a candle direction, rather than entering directly on the stated closing-price cloud boundaries. The cloud should therefore be treated as a visualization concept, not evidence of a tested trading rule.

Key ideas

  • The cloud spans the 0.382 and 0.618 retracement levels calculated from a rolling high-low range.
  • The indicator also displays the period extremes and calculates the range midpoint.
  • The accompanying explanation treats closes outside the cloud as potential directional signals.
  • The source code uses different entry conditions based on prior-bar extremes and candle direction.
  • The listed backtest settings provide no reported performance, and the levels may lag or misclassify price action.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.