Skip to content
All library documents

Displaying a Rounded Smoothed PWMA Value in MQL5

Article MQL5 code base

Summary

This document describes an MQL5 indicator that plots a colored, smoothed price-weighted moving average (PWMA) and displays its latest value as a price label. An input setting controls how many digits are used when rounding indicator levels, so users can adjust the displayed precision.

The description identifies a supporting smoothing library that must be available to the terminal and points to a separate explanation of its averaging classes. It provides no trading rules, performance evidence, or guidance on choosing smoothing parameters or rounding precision. The material is therefore a brief implementation overview rather than an evaluation of the indicator’s usefulness as a signal.

Key ideas

  • The indicator displays a colored, smoothed PWMA on a chart.
  • Its latest value appears as a price label.
  • A user input sets the number of digits used to round the indicator levels.
  • The indicator depends on a separate smoothing library.

Tags

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