Skip to content
All library documents

Measuring Trend-Line Length in Points

Article MQL5 code base

Summary

This brief note describes a chart indicator that displays the length of drawn trend lines in points. It adds a point count to existing trend lines and to lines drawn later, allowing users to compare or measure trend distances by moving a line on the chart.

The document offers no trading rules, market analysis, empirical results, or details about how point values are calculated across instruments. Its practical scope is limited to a visual measurement aid; it does not explain how to identify trends or use the measurements in a strategy.

Key ideas

  • The indicator labels trend lines with their length in points.
  • It applies the measurement to lines already on the chart and lines drawn afterward.
  • Moving a line allows users to measure different trend distances.
  • The document does not describe a trading strategy or performance evidence.

Tags

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