Download MetaTrader 5
MQL5 ReferenceCustom IndicatorsPlotIndexSetString 

PlotIndexSetString

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

bool  PlotIndexSetString(
   int     plot_index,     // plotting style index
   int     prop_id,        // property identifier
   string  prop_value      // value to be set
   );

Parameters

plot_index

[in]  Index of graphical plot

prop_id

[in] The value can be one of the values of the ENUM_PLOT_PROPERTY_STRING enumeration.

prop_value

[in]  The value of the property.

Return Value

If successful, returns true, otherwise false.


Updated: 2015.12.03