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

Sets the value of the corresponding indicator property. Indicator property must be of the int type

Parameters
prop_idIdentifier of the indicator property. The value can be one of the following values:
INDICATOR_DIGITSAccuracy of drawing of indicator valuesint
INDICATOR_HEIGHTFixed height of the indicator's window (the preprocessor command ::property indicator_height)int
INDICATOR_LEVELSNumber of levels in the indicator windowint
INDICATOR_LEVELCOLORColor of the level linecolor sets color for all levels
INDICATOR_LEVELSTYLEStyle of the level linesets style for all levels, can be one of following values:
STYLE_SOLIDThe pen is solid
STYLE_DASHThe pen is dashed
STYLE_DOTThe pen is dotted
STYLE_DASHDOTThe pen has alternating dashes and dots
STYLE_DASHDOTDOTThe pen has alternating dashes and double dots
INDICATOR_LEVELWIDTHThickness of the level lineint sets width for all levels
prop_modifierModifier of the specified property. Only level properties require a modifier.
Numbering of levels starts from 0. It means that in order to set property for the second level you need to specify 1
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 uses numbering from 0 (zero). In case the level number is set incorrectly, indicator
display can differ from the intended one.