MQL5参考标准程序库基本类CObjectType PrevPrevNextNextCompareSaveLoadType Type 获取类型标识符。 virtual int Type() const 返回值 类型标识符 (对应 CObject - 0)。 例如: //--- 例程 CObject::Type() #include <Object.mqh> //--- void OnStart() { CObject *object=new CObject; //--- object=new CObject; if(object ==NULL) { printf("对象创建错误"); return; } //--- 获取对象类型 int type=object.Type(); //--- 删除对象 delete object; } Load 数据采集