AddOptionValue
Syntax
AddOptionValue(name: string, value: string): voidParameters
Return Value
Description
Example
// Register an MA Type option
this.api.RegOption("MA Type", TOptionType.ENUM_TYPE, 0);
// Add possible values for the MA Type option
this.api.AddOptionValue("MA Type", "Simple");
this.api.AddOptionValue("MA Type", "Exponential");
this.api.AddOptionValue("MA Type", "Smoothed");
this.api.AddOptionValue("MA Type", "Weighted");Last updated