Skip to content
All library documents

Using Swing Highs and Lows to Spot Trends and Ranges

Article MQL5 code base

Summary

The document introduces an MT4 script that marks swing highs and swing lows on a chart. The stated purpose is to help a trader judge whether the market is trending or moving sideways, a distinction the author says should inform a trading plan. The described method is visual identification of turning points; the document does not explain how swings are defined or how the markings should be interpreted.

It gives no performance results, chart examples, or rules for turning the signals into entries or exits. It also points readers toward separate material about building a trading plan and using Fibonacci retracements, but does not provide that material’s steps. The script’s value is therefore limited to chart context: it may help identify market structure, but the document does not establish that it predicts future price movement or improves trading outcomes.

Key ideas

  • The script marks swing highs and swing lows on an MT4 chart.
  • The author presents these turning points as a way to assess whether price is trending or ranging.
  • Market regime identification is framed as one part of choosing a trading plan.
  • The document provides no precise swing definition, trading rules, or performance evidence.

Tags

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