Skip to content
All library documents

Displaying Strategy Status, Charts, and Interactive Controls

Article FMZ forum · Author: 发明者量化-小小梦

Summary

This tutorial explains interface features for a trading strategy environment. It shows how a status display can present changing text, variables, formatted tables, and encoded images without filling the log with repeated updates. It also describes chart creation and updates through a charting interface, including adding points to data series and drawing reference lines. Examples use demonstration data rather than market signals.

The final section covers strategy interaction controls such as buttons and numeric inputs. A command-reading function routes user input to changes in settings or simulated actions, and a loop refreshes the status display while checking for commands. The material is chiefly about monitoring and operator interaction, not trading logic or measured strategy performance. Its examples illustrate basic patterns, but do not evaluate reliability, execution behavior, or how these interface features perform in a live trading setup.

Key ideas

  • A status display can show frequently changing information without creating a long stream of log entries.
  • Status output can include multiline text, tables, and encoded images.
  • The chart interface supports updating plotted series and setting visual reference levels.
  • Buttons and numeric controls can pass commands to a strategy for changing parameters or triggering actions.
  • The examples demonstrate interface behavior and provide 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.