Skip to content
All library documents

Clear Swing Line for Tracking Short-Term Price Swings

Article ProRealCode

Summary

This document presents a swing-line indicator based on the Clear method for visualizing short-term price movement. It tracks rising and falling phases by updating local high and low reference levels. During an upswing, the line follows the evolving low; a transition to a downswing occurs when price breaks below that reference. During a downswing, it follows the evolving high, switching back when price rises above it. The plotted line changes color with the direction state.

The description characterizes the method as objective and without calculation or delay, but it gives no empirical test, market examples, or formal comparison with other swing definitions. The indicator is an implementation of a method discussed in an article and is described as converted from another platform’s code. The document does not specify a complete entry, exit, or risk-management strategy, so the line should be understood as a directional visualization tool rather than demonstrated evidence of trading performance.

Key ideas

  • The indicator tracks short-term swings by maintaining reference highs and lows.
  • Price crossing the active reference level changes the swing direction.
  • The plotted line follows the relevant low during rising phases and high during falling phases.
  • The document describes a visualization method but provides no performance tests or full trading rules.

Tags

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