Files
mql5-skills/skills/mql5/references/docs/24-customind/0945-customind-plotindexsetstring.md
T
2026-06-23 21:47:51 +08:00

31 lines
900 B
Markdown
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 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](/en/docs/constants/indicatorconstants/drawstyles#enum_draw_type)
prop_id
[in] The value can be one of the values of the [ENUM_PLOT_PROPERTY_STRING](/en/docs/constants/indicatorconstants/drawstyles#enum_plot_property_string) enumeration.
prop_value
[in]  The value of the property.
Return Value
If successful, returns [true](/en/docs/basis/types/integer/boolconst), otherwise [false](/en/docs/basis/types/integer/boolconst).