Skip to content
All library documents

Adding Loading Feedback and Response Controls to an MQL5 Trading UI

Article MQL5 articles

Summary

This article describes interface improvements for an MQL5 system that sends prompts to an AI service. It adds animated loading indicators for request preparation and processing, elapsed-time feedback, and buttons to regenerate a response or export it to a text file. The changes are presented as extensions to an existing modular Expert Advisor rather than as changes to its trading logic.

The implementation discussion covers icon objects, message layout and height calculations, parsing conversation roles and timestamps, and updating the response display and its controls. It also describes extra spacing for loading and response-time notes, and adding blank lines to separate messages. The article states that the finished interface was compiled, but provides no trading-performance evidence or systematic usability evaluation. These features can improve feedback and response handling; they do not establish that AI-generated trading outputs are accurate or profitable, and the article’s code excerpt is incomplete.

Key ideas

  • Animated indicators can show users that an AI request is being prepared or processed.
  • Displaying elapsed response time gives users feedback about request duration.
  • Regenerate and export controls let users resubmit prompts and save AI responses.
  • Message layout calculations account for timestamps, loading notes, and response-time labels.
  • The article focuses on interface behavior and offers no evidence about trading performance.

Tags

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