Skip to content
All library documents

Building a Price-Anchored RSI Panel with Slope-Based Signal Strength

Article MQL5 articles

Summary

This article presents an MQL5 indicator that places RSI information beside the current market price on the main chart instead of in a separate subwindow. The panel displays the RSI value, an overbought, oversold, or neutral state, and a weak, strong, or extreme signal classification. RSI thresholds determine the state, while the slope between successive RSI values is used to characterize momentum strength. Traders can choose bid or ask anchoring and customize panel appearance and alerts.

The implementation maps price and time to screen coordinates, updates the display with market changes, and clamps its position to chart boundaries so it remains visible as the chart is moved or resized. The article provides a software design and indicator template, not evidence of a profitable trading signal. RSI states and slope categories are visual aids whose thresholds require judgment and validation; moving the display into the price area improves access to information but does not itself improve signal quality.

Key ideas

  • The indicator embeds RSI value and condition labels in a panel anchored near the current price.
  • Overbought, oversold, and neutral states are determined using configurable RSI thresholds.
  • Signal strength is classified from the change between consecutive RSI readings.
  • Coordinate mapping and boundary clamping keep the panel aligned and visible during chart interactions.
  • The panel is a visualization tool and does not demonstrate that its RSI classifications predict profitable trades.

Tags

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