添加用于调试和分析过程的日志记录。在操作开始时记录环境设置;在操作停止时记录收集的数据统计信息。
MQL5 profiler starting 'ExpertMACD.ex5' on history with parameters:
MQL5 profiler symbol: 'EURUSD'
MQL5 profiler period: 'H1'
MQL5 profiler date from: '2021.01.01'
MQL5 profiler date to: '2021.02.22'
MQL5 profiler ticks mode: 'every tick'
MQL5 profiler execution delay: 0 ms
MQL5 profiler deposit: 10000
MQL5 profiler currency: 'USD'
MQL5 profiler leverage: 1:100
MQL5 profiler profit in pips: NO
MQL5 profiler profile data received (4640 bytes)
MQL5 profiler 758 total measurements, 0/0 errors, 470 kb of stack memory analyzed
MQL5 profiler 7782 total function frames found (1929 mql5 code, 342 built-in, 1403 other, 4108 system)