Options
This page provides documentation for managing strategy and indicator options in Forex Tester Online.
TOptValue
This section provides documentation for different types of TOptValue classes which are used to create configurable parameters in trading strategies. These parameters allow users to customize strategy behavior through the strategy settings panel.
TOptValue_str: For text parameters (strategy names, symbols, comments)TOptValue_number: For numeric parameters (lot sizes, periods, levels)TOptValue_bool: For boolean parameters (true/false)
Available Methods
RegOption: Registers a new option parameter for an indicator or strategyAddOptionValue: Adds a possible value for an enumerated option typeSetOptionDigits: Sets the number of decimal places for a numeric optionSetOptionRange: Sets the minimum and maximum values for a numeric option
These methods are typically used in the initialization phase of your strategy or indicator to define its configurable parameters. They allow you to create a user-friendly interface for parameter adjustment while ensuring valid input ranges and formats.
Click on any method name to view its detailed documentation.
Last updated