|
|
string ObjectGetFiboDescription( string name, int index)
函数返回对斐波纳契物件的平实描述。相当数量斐波纳契水平取决于物件类型。 最大斐波纳契水平是32。
获得详细的错误信息,查看 GetLastError() 函数。
参见 ObjectSetFiboDescription() 函数。
参数:
name - 斐波纳契物件名称。
index - 斐波纳契索引水平(0-31)。
示例:
#include <stdlib.mqh>
...
string text;
for(int i=0;i<32;i++)
{
text=ObjectGetFiboDescription(MyObjectName,i);
//---- 检查物件少于32水平线
if(GetLastError()!=ERR_NO_ERROR) break;
Print(MyObjectName,"水平: ",i," description: ",text);
}复制代码 |
|