MQL4参考 物件函数 ObjectSetFiboDescription

ObjectSetFiboDescription

The function sets a new description to a level of a Fibonacci object.

bool  ObjectSetFiboDescription(
   string   object_name,   // object name
   int      index,         // level index
   string   text           // new description
   );

Parameters

object_name

[in]  Object name.

index

[in]  Index of the Fibonacci level (0-31).

text

[in]  New description of the level.

Returned value

The function returns true if successful, otherwise false. To get the detailed error information, one has to call the GetLastError() function.

Note

The amount of Fibonacci levels depends on the object type. The maximum amount of Fibonacci levels is 32.

Example:

  ObjectSetFiboDescription("MyFiboObject",2,"Second line");

See also

ObjectGetFiboDescription()