MQL5参考普通函数ResetLastError AlertCheckPointerCommentCryptEncodeCryptDecodeDebugBreakExpertRemoveGetPointerGetTickCountGetTickCount64GetMicrosecondCountMessageBoxPeriodSecondsPlaysoundPrintPrintFormatResetLastErrorResourceCreateResourceFreeResourceReadImageResourceSaveSetReturnErrorSetUserErrorSleepTerminalCloseTesterHideIndicatorsTesterStatisticsTesterStopTesterDepositTesterWithdrawalTranslateKeyZeroMemory ResetLastError 设立预先定义常量 _LastError 的值是0。 void ResetLastError(); 返回值 没有返回值 注释 如果需要注释函数 GetLastError() 是zero _LastError 变量,在函数调用之前 错误 外观检测后通常调用ResetLastError()。 PrintFormat ResourceCreate