新しいMetaTrader5プラットフォームビルド2815:Pythonからの市場の深さへのアクセス、改良されたデバッガー、およびプロファイラーの改善
公開日:
:
メタクォーツ最新情報
※これはMQL5のMetaQuotesの最新情報を自動翻訳&自動投稿したものです。
原文:
The MetaTrader 5 platform update will be released on Friday, February the 26th, 2021. The new version features the following changes:
- Terminal: Added ability to access Depth of Market data via the Python API.
Three new functions allow quick obtaining of data for statistical calculations and machine learning tasks, which can be implemented using a plethora of out-of-the-box Python libraries.
- market_book_add ? subscribes the MetaTrader 5 terminal to receive events related to changes in the Depth of Market for the specified symbol.
- market_book_get ? returns a tuple from BookInfo containing the Depth of Market records for the specified symbol.
- market_book_release ? cancels MetaTrader 5 terminal subscription to events related to changes in the Depth of Market for the specified symbol.
- Terminal: The maximum length of Push messages has been increased from 256 to 1024 characters. Now, you can send more information from your MQL5 programs on mobile devices.
- Terminal: Added a preliminary version of the Task Manager, which can be called by pressing the F2 key.
The Task Manager enables monitoring of resources consumed by the platform. You can view the amount of memory c onsumed by charts, CPU resources used by Expert Advisors and other performance metrics. If your platform performance slows down, you can easily detect and fix the problem.
- Terminal: Enhanced Subscriptions service. A special indication has been added for symbols having delayed quotes:
- Symbols in Market Watch are marked with a clock icon, and the delay value is displayed in the tooltip
- Data delay notification is displayed on charts
- Terminal: Fixed display of the Subscriptions list when there is no trading account connection.
- Terminal: Fixed links in emails and newsletters. All links now open in the default browser. Previously, links opened only in Internet Explorer.
- Terminal: Fixed connections from the WebRequest function to hosts with IPv6 addresses and Cloudflare protection.
- Terminal: Improved functionality and responsiveness of the VPS service.
- Terminal: Improved operation under W ine and MacOS/Crossover, including the version for macOS Big Sur with the M1 processor.
- MQL5: Fixed error in the ArrayPrint function. The function could occasionally fail to print arrays.
- MQL5: Optimized file operations performed by File* functions. Now, file reading and writing operations run much faster.
- MQL5: Removed the restriction requiring the specification of size for the second, third and fourth dimensions of a dynamic array, when the array is used as a function parameter. This increases code reuse and flexibility.
void func(int &arr[ ][ ][ ][ ]) { }
-
MQL5: Fixed ArrayBsearch function operation. The function could return an incorrect index of the found element during a binary search.
- MetaEditor: More new features have become available in the revamped debugger.
- Arrays are now displayed in the observation window in accordance with the sorting set by ArraySetAsSeries.
- Added support for local static variables.
- Fixed display of the specified array element value.
- Fixed handling of ‘static’ class fields.
- Other improvements for more accurate and reliable debugging.
- MetaEdit or: Added option “Enable optimizations in profiling”.
Code optimization mode can be disabled in order to include more details in the profiling report. Code speed without optimization can be several times slower, but this mode provides a wider code coverage. Please note that with optimization code bottlenecks can be imprecise.
A milder profiling mode can be set by disabling the “Enable inlining in profiling”.
The optimization management option has also been added to project settings.
- If optimization is disabled in the project, then the new option is ignored, and thus optimization will always be disabled for profiling (including inlining operations).
- If optimization is enabled in the project, then the new option will be taken into account during profiling compilation.
- MetaEditor: Added logging for debugging and profiling processes. Environment settings are logged at operation start; collected data statistics is logged at operation stop.
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 &nbs p; 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) - Tester: Fixed specification of non-trading hours in advanced testing settings.
- Updated documentation.
The update will be available through the Live Update system.
参照URL:https://www.mql5.com/en/forum/363681
- PREV
- 取引のためにVPSを借りる4つの理由
関連記事
-
-
MetaTrader 5 Androidビルド2569:新しいチャート色
※これはMQL5のMetaQuotesの最新情報を自動翻訳&自動投稿したものです。私たちは、モバイル
-
-
新しいMetaTrader5プラットフォームビルド2715:一般的な改善
※これはMQL5のMetaQuotesの最新情報を自動翻訳&自動投稿したものです。MetaTrade
-
-
トラデイズ経済カレンダーは南アフリカを特集
※これはMQL5のMetaQuotesの最新情報を自動翻訳&自動投稿したものです。 &
-
-
Windows 10 May 2020 Update(バージョン2004)がリリースされました-購入したマーケット製品のアクティベーションが追加されました
※これはMQL5のMetaQuotesの最新情報を自動翻訳&自動投稿したものです。 5月27日に、マ
-
-
新しいMetaTrader 5プラットフォームビルド2485:MQL5におけるiCustomの改善と全体的な最適化
※これはMQL5のMetaQuotesの最新情報を自動翻訳&自動投稿したものです。 MetaTrad