Skip to content
All library documents

Configuring Strategy Interface Parameters and Grouping Controls

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

Summary

The document explains how to define strategy parameters in a graphical interface and access them as global variables in JavaScript. It describes numeric, string, dropdown, Boolean, and encrypted string inputs, including how their defaults and values behave. For dropdowns, the selected option is represented by a zero-based index; encrypted strings are sent in encrypted form and changing them invokes an authentication step.

It also shows how to make one parameter’s visibility depend on a Boolean setting, then organize parameters and interaction controls into labeled groups through their descriptions and display order. The examples are procedural platform guidance, supported by screenshots and descriptions of the expected interface behavior. They do not demonstrate a trading strategy, evaluate performance, or compare platforms, so the material is useful for configuring a strategy interface rather than assessing an investment method.

Key ideas

  • Strategy interface inputs can be exposed in code as global variables.
  • The described input types include numbers, strings, dropdowns, Booleans, and encrypted strings.
  • A dropdown value indicates the selected option through its index.
  • A Boolean parameter can control whether another parameter is visible.
  • Description markers and parameter order can be used to group interface controls.

Tags

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