SetOptionDigits
Sets the number of decimal digits for a numeric option.
Syntax
Parameters
name
- A string containing the name of the option to set the digits for.digits
- A number representing the number of decimal digits to display.
Return Value
This method does not return a value.
Description
The SetOptionDigits
method sets the number of decimal digits for a numeric option. This is used to define how many decimal places should be displayed and used for a numeric option in an indicator or strategy.
Example
Last updated