TradeMUX SDK Documentation  1.0
TradeMUX SDK Documentation
bool IndicatorSetString ( int  prop_id,
int  prop_modifier,
string  prop_value 
)

The function sets the value of the corresponding indicator property. Indicator property must be of the string type

Parameters
prop_idIdentifier of the indicator property. The value can be one of the following values:
INDICATOR_SHORTNAMEShort indicator namestring
INDICATOR_LEVELTEXTLevel dscriptionstring modifier = level number
prop_modifierModifier of the specified property. Only level properties require a modifier
prop_valueValue of property
Returns
In case of successful execution, returns true, otherwise - false

Numbering of properties (modifiers) starts from 1 (one) when using the #property directive, while the function<dr> uses numbering from 0 (zero). In case the level number is set incorrectly, indicator display can differ from the intended one.