거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Twitter에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
라이브러리

MQL Plus Enhanced Debugging Support - MetaTrader 5용 라이브러리

조회수:
3744
평가:
(22)
게시됨:
2020.11.21 12:17
업데이트됨:
2024.02.29 11:57
\MQL5\Include\MQLplus\
lib_debug.mqh (33.38 KB) 조회
\MQL5\Include\MQLplus\lib_debug\ \MQL5\Experts\LibDebug_Examples\
LibDebug.mq5 (40.57 KB) 조회
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

Features

Features three domains of functionality. - Debugging, Tracing and Performance measurments

- Simple to use "Print any variable" to expert-journal with one command.

- Track and debug "If", "for", and "while" statement evaluation.

- Trace calls to MQL-Built-In functions

- Measure runtime of operations and functions.

- Highly customizable, if required.

- Temporary or permanent  integration into your projects.

- License is given under GPLv2. Mainly this means, changes you make need to be brought back to the original author. Anything else is up to you. 


Current version is 5.50

- Changelog from previous version 5.12

- MQL-API-Tracer: loosing trace data in recursive calls

- Added API-Event-Tracer for MQL5

- Added Dynamic Object creation tracer

- Added program lifetime tracer

- Fixed signatures of MQL-API functions

- Added missing functions

- Fixed preprocessor macros failing to compile

- Added MQL5 standard library support


- Bugfixes from v 5.11 to v5.12

- Fixed Multidimension Array Support in MQLAPI-Tracer

- Fixed DBG_MSG_EVAL_* Macros calling a function twice, if given as parameter to the macros.


- Bugfixes from v 5.1 to v5.11 

- MQLAPI-Tracer: Fixed Enums throwing compile error on Alert/Comment/Print/printf

- Fixed Multidimensional Array Support (might need more fixing for MQLAPI-Tracer)

- Updated printf-output system for the library.

- MQL API tracer included for MQL5 pure code, currently does not support MQL standard library.

- Most macros were rewritten and are now faster.

- Error-Code tracing is supported directly by the MQL-API tracer.

- Minor compatibility issues were solved.

- Type resolving has been enhanced, especially enumeration-resolving for built-in enumerations is now working correctly again.


This library is MQL4 and MQL5 compatible.


Credits

I would like to give credits to major contributions to help go through this extensive project. Without the contribution of continuously testing and validating the code functions as well as the usability aspects, the quality would not be as high as it is right now. 

Thank you @amrali


In the end, a library that contributes a set of tools for developing code should and must meet very high standards, so you as a user can rely on the output and feedback the library gives you. - I myself have found various bugs within mql5 and was able to track down these errors with the help of this library. Focus was on quality as much as possible, even after extensive testing, I am confident, there are still some bugs. 

If you come across an issue, please let me know.


All add-ons are freely configurable. All code inclusions have been done in preprocessor macros.

A full list and detailed description is included in the main header file.

Comprehensive examples can be found in in the directory Experts/LibDebug_Example/



observer (pull model) - behavioral design pattern observer (pull model) - behavioral design pattern

define a one-to-many dependency between objects so that when one object changes state, all its dependents are notified and updated automatically

The 2 Pole Butterworth Filter The 2 Pole Butterworth Filter

Indicator "The 2 Pole Butterworth Filter". was created by John Ehlers ("Cybernetic Analysis For Stocks And Futures", p. 192)

Camarilla Points Camarilla Points

Indicator Camarilla Points "Stocks & Commodities V. 31:3 (pg. 10-15)"

MQL Plus Enhanced Error Handler Support MQL Plus Enhanced Error Handler Support

An (optional) include file to enhance error code handling experience.