MetaTrader 5の最新情報

Webプラットフォーム、デスクトップ版、モバイル版の更新履歴

3 12月 2026

MetaTrader 5プラットフォームアップデートビルド6380:40種類以上の新しいAIツール

ターミナル

  1. MCPを介したAIアシスタントの操作機能を大幅に拡張しました。

    40以上の新しいツールを追加し、AIエージェントがMQL5サービスの管理、チャートのカスタマイズ、グラフィカルオブジェクトの操作、板情報の取得、取引操作の確認など、さまざまな作業をターミナル上で直接実行できるようになりました。

    MQL5サービスの管理
    AIエージェントは、登録済みのMQL5サービスや稼働状況を取得できるようになりました。また、サービスの起動・停止、新しいインスタンスの登録、既存インスタンスの削除も可能です。さらに、サービスの入力パラメータも取得できるため、各サービスの設定を考慮したうえでタスクを実行できます。

    チャートの設定とテンプレートの操作
    銘柄や時間足の変更、チャートの表示設定、ヒストリーの移動、チャート画像の保存などを行うツールを追加しました。また、現在のチャート設定をテンプレートとして保存したり、不要なテンプレートを削除したりすることもできます。

    グラフィカルオブジェクトの操作
    チャート上に存在するオブジェクトの一覧取得、新規作成、プロパティの変更、既存オブジェクトの削除が可能になりました。これにより、トレンドラインや価格水準など、テクニカル分析に使用する各種オブジェクトをチャート上に自動的に配置できるようになります。

    板情報へのアクセス
    新しいツールを使用することで、板情報の更新を購読し、現在のBidとAskの価格および数量を取得できます。これらのデータは、市場の流動性や注文の分布を分析する際に活用できます。

    取引操作の事前確認と必要証拠金の計算
    必要証拠金や予想損益を計算できるようになりました。また、利用可能な資金や取引制限に基づいて、成行注文や指値・逆指値などの予約注文を事前に確認できます。これらの計算や確認は、実際の取引リクエストを送信することなく実行されます。

    チャートプロファイルの管理
    保存済みプロファイルの一覧表示、新規プロファイルの作成、プロファイルの切り替え、不要なプロファイルの削除に対応しました。これにより、開いているチャートやその設定を含め、ターミナルの作業環境全体をAIエージェントが管理できるようになります。

    アラートの操作
    アラートの作成、表示、編集、有効化、無効化、削除に対応しました。たとえば、指定した価格に到達したときや、設定した時刻になったときに通知するよう、AIアシスタントに依頼できます。

    ターミナル情報と金融ニュース
    ターミナルの稼働状況、取引サーバーとの接続状態、システムリソースの使用状況などを取得するツールを追加しました。また、利用可能な金融ニュースの一覧を取得し、その内容を読み取って分析に活用することもできます。

    テスト結果のウィンドウの管理
    開いているテスト結果のウィンドウやストラテジー最適化ウィンドウの情報を取得し、処理が完了したウィンドウを閉じることができるようになりました。複数のストラテジーを順番にテストする際、結果ウィンドウを効率的に管理できます。

    今回の新しいツールにより、AIアシスタントは市場データの分析、作業環境のカスタマイズ、取引判断の準備を組み合わせた、より複雑な複数ステップのタスクを実行できるようになります。たとえば、指定した銘柄のチャートを開いて表示をカスタマイズし、テクニカル分析用の価格水準を追加したうえで、予定している取引のパラメータを確認し、指定価格に到達した際のアラートを設定するといった一連の作業をAIアシスタントに依頼できます。

    AIアシスタントの機能が拡張されました


  2. MCPツールの動作を修正しました。AI アシスタントは、即時またはキャンセルのポリシーを持つ注文を正しく処理し、ストップロスまたはテイクプロフィットのレベルを変更する際に保留中の注文の有効期限を保持するようになりました。この他、取引コマンドのパラメータチェック、チケット番号による取引操作情報の取得、経済カレンダーイベントの時間指定によるフィルタリングに関する問題も修正しました。
  3. トレーリングストップの動作を修正しました。予約注文が約定した後のトレーリングストップの処理を修正しました。以降の処理では、新しく作成されたポジションIDを使用します。また、ストップレベルの丸め処理が誤って小数点以下4桁に制限されていた問題も修正しました。
  4. カスタム銘柄の過去データの更新と保存を修正しました。

    • CustomRatesUpdateを使用した場合を含め、バーの更新やヒストリカルデータ範囲の削除に関する問題を修正しました。
    • キャッシュの再構築時に最後のバーが失われる問題を修正しました。
    • 過去データの削除リクエストの処理を改善し、バーおよびティックデータの保存を最適化しました。
    • FX銘柄の損益通貨が、銘柄名の一部分に基づいて誤って判定される場合がある問題を修正しました。
    • ティックデータのインポート時に、12時間形式(AM/PM)の時刻が正しく処理されない問題を修正しました。

  5. 取引レポートにおける損益計算の誤りを修正しました。これらのエラーは、ネットティング口座でのポジションの反転および決済操作時に発生する可能性がありました。
  6. 決済機能を改善しました。

    • メインページのデザインを刷新し、入金・出金セクションをよりコンパクトにしました。
    • 暗号資産による入金ページのデザインを更新し、操作性を向上させました。
    • 銀行振込による決済が完了した際、請求書をダウンロードできるようになりました。
    • 決済ステータスが正しく更新されない問題を修正しました。


    決済処理の改善

  7. 口座接続ウィンドウで、クリップボードからログインIDやパスワードを貼り付ける際に発生していた問題を修正しました。
  8. インターフェースのダークテーマを改善しました。特に、ドロップダウン形式のカレンダー、日付・時刻の設定フィールド、その他一部の操作項目のラベルや枠線の表示を改善しています。同様の改善は、MetaEditorおよびストラテジーテスターにも適用されています。
  9. チャート操作に関する問題を修正しました。チャートタブのドラッグ操作、EAのプロパティウィンドウを閉じる操作、MQL5プログラムからIDを指定して目的のチャートを選択する処理に関する問題を修正しました。
  10. 新しいグローバル変数を追加した際に、既存のグローバル変数が正しく保存されない問題を修正しました。
  11. GPU向けのONNXコンポーネントを更新しました。ONNXを使用している場合、プラットフォームをアップグレードすると、CUDA 13およびTensorRT 11のパッケージがインストールされ、従来のTensorRT 10のDLLは削除されます。
  12. MQL5.communityサービスとの連携を改善しました。

    • 認証ウィンドウのログインIDおよびパスワード入力欄に表示されるヒントを改善しました。
    • マーケット製品の説明が正しく表示されない問題を修正しました。
    • チャットのキャッシュ同期に関する問題を修正しました。

  13. macOSおよびLinuxでターミナルを実行する際に必要となるWineの最低バージョンを引き上げました。今後はWine 11以上が必要になります。
  14. 注文および取引履歴の同期を修正し、口座履歴の表示を改善しました。これらの問題は、1秒間に多数の取引が連続して発生する状況で起こる可能性がありました。
  15. 気配値表示から銘柄を削除する際の、チャートのオープン状態の確認処理を修正しました。一部のケースで確認処理が正しく行われず、銘柄が削除されてターミナルでエラーが発生する問題を修正しました。
  16. 日付と時刻の入力コントロールを修正しました。キーボードから値を正しく入力できるようになりました。

MQL5

  1. 複素数をファイルに書き込むための新しい関数FileWriteComplexDouble、FileWriteComplexFloat、FileReadComplexDouble、FileReadComplexFloatを追加しました。
  2. ClassificationMetric、ClassificationScore、PrecisionRecall、ReceiverOperatingCharacteristicメソッドの計算を最適化しました。
  3. FileWrite関数の動作ロジックを変更しました。テキストファイルやCSVファイルだけでなく、バイナリファイルにも対応するようになりました。バイナリファイルへの書き込みでは、データを変換せずにそのまま保存できます。また、複素数のサポートを追加し、指定できるパラメータの最大数を256に拡張しました。
  4. 複数の値をCSV、TXT、BINファイルから読み込むための汎用版FileRead関数を追加しました。この関数はFileWrite関数と対になる仕様です。パラメータは参照渡しで指定し、読み取った値の数を戻り値として返します。なお、バイナリファイルからの文字列の読み取りには対応していません。文字列の長さを事前に特定できないためです。
  5. 複素数を文字列に変換する関数と、文字列から複素数に変換する関数ComplexToStringとStringToComplexを追加しました。また、複素数のフォーマット処理に関する問題も修正しました。
  6. 以下の行列およびベクトルのメソッドで、複素行列に対応しました。


  7. Spectrumメソッドによる行列スペクトルの計算ロジックを変更しました。従来は、すべての行列について、AT × Aの積から固有値を計算していました。今回の変更により、行列の種類に応じて計算方法が異なるようになりました。正方対称行列では、OpenBLASのSYEVメソッドを使用して固有値を計算します。正方エルミート行列では、HEEVメソッドを使用します。その他の正方行列では、GEEVメソッドを使用します。長方行列では、GESVDを使用して特異値を計算します。
  8. 行列のスペクトルノルムの計算ロジックを変更しました。スペクトルノルムは複素スペクトル値の最大絶対値(スペクトル半径)と等しくなりました。場合によっては、行列2ノルム(MATRIX_NORM_P2)と一致します。
  9. 行列計算の数値安定性の改善:二次ノルム、Softmax活性化関数、疑似逆行列の数値安定性を改善しました。また、分位数およびパーセンタイルの計算時に、不正な数値の処理に関する問題も修正しました。
  10. 行列およびベクトル操作に関する不具合を修正しました。次元、インデックス、バンドストレージ、順列、疎なCOO行列、SSA入力パラメータに対するチェック処理を統一しました。また、BLASエラーへの対応と、MatrixPowerの境界値処理を改善しました。また、ArrayArgSort、Tri、Row、Col 、ConfusionMatrixも修正しました。
  11. pack(N)を使用した継承構造体のメモリアライメントを変更しました。これはデータ表現の互換性に関わる変更です。

    以下の例では、sizeof(B)が17から24に、sizeof(C)が18から32に変更されます。また、C::bのオフセットは1から8になります。
    struct A pack(8)
      {
       double d;
       char c;
      };
    
    struct B pack(8) : A
      {
       char e;
      };
    
    struct C pack(8)
      {
       char x;
       B b;
      };
    
    int OnStart(void)
      {
       B arr_b[10];
    
       ::Print("sizeof(A) = ",sizeof(A));
       ::Print("sizeof(B) = ",sizeof(B));
       ::Print("sizeof(C) = ",sizeof(C));
       ::Print("sizeof(B[10]) = ",sizeof(arr_b));
       return(0);
      }
    修正前の結果:
    sizeof(A) = 16
    sizeof(B) = 17
    sizeof(C) = 18
    sizeof(B[10]) = 170
    修正後の結果:
    sizeof(A) = 16
    sizeof(B) = 24
    sizeof(C) = 32
    sizeof(B[10]) = 240
    このような構造体をバイナリファイルやデータ交換に使用する場合は、データ形式の互換性を確認する必要があります。
  12. pack(N)を使用した場合を含め、構造体、共用体、配列の初期化に関する問題を修正しました。
  13. 行列乗算演算子@における型の互換性に関する問題を修正しました。
  14. 文字列および定数の処理(エスケープシーケンス\xの処理、符号なし整数の減算、定数の最適化時における単項マイナスの処理)を修正しました。また、ArrayCopyの文字列配列を同じ配列にコピーする際の動作、メモリ割り当てエラー、文字列のフォーマット処理を修正しました。文字列定数の最大長を64,000文字から100万文字に拡張しました。
  15. ANSI/CSVファイルへの書き込みについて、エンコーディング後のバイト数に基づくバッファサイズの計算、実際に変換された文字数の反映、文字変換結果の適切な処理の問題を修正しました。
  16. データベース操作に関する問題を修正しました。

    • DatabasePrepareの文字列パラメータが、リクエストの処理中に保持されるようになりました。
    • SQLite URI/VFSを介したサンドボックス外へのアクセスを禁止しました。
    • プライベートなメモリデータベースについて、ファイルパスfile::memory:を正確に指定できるようにしました。

  17. リソース、DirectX、OpenCLの処理に関する問題を修正しました。特に、画像サイズやバッファサイズ、静的配列、カーネル名の取り扱いを改善しました。また、グラフィカルオブジェクトの解放処理に関する問題も修正しました。
  18. 極端なパラメータや通常とは異なる価格範囲における、組み込みインジケータの動作を修正しました。特に、初期値、期間、シフトの計算に加え、オーバーフローやバッファ範囲外へのアクセスに関する問題を修正しました。今回の変更は、TRIX、Stochastic、OsMA、DEMA/TEMA、FRAMA、VIDYA/CMO、AMA、LWMA、RSI、Gator、Williams %R、SARの各インジケータに適用されています。
  19. ChartSetSymbolPeriod関数でチャートを変更した後、CopyRatesを使用して以前に読み込んだM1バーを取得できない問題を修正しました。
  20. CopyTicksおよびCopyTicksRangeにおけるティックのコピー処理を修正しました。一部のケースでターミナルがクラッシュする可能性があった問題を修正しました。
  21. StringToComplexにおける変換エラーの報告を修正しました。
  22. 軸引数を受け取るConcatおよびSplitのオーバーロードを改善しました。
  23. 複素数の辞書順による並べ替えを改善しました。
  24. Softmaxの導関数、LinearRegressionおよびfloat型の値を使用した分位数計算の数値安定性を改善しました。
  25. 解の行列の次元判定、対称三重対角行列の読み込み、SVD結果の処理、置換インデックスの初期化に関する問題を修正しました。また、結果を格納する前に、ワークスペース配列のメモリ割り当てと操作ステータスを確認する処理を改善しました。
  26. ANSIファイルに対して、指定した長さの空文字列をFileWriteStringで書き込む際の問題を修正しました。
  27. クエリハンドルが無効な場合に、DatabaseResetでエラー報告が発生する問題を修正しました。この関数は、これらの場合においてfalseを返すようになりました。
  28. 画像リソースの読み込みを修正しました。
  29. 時系列配列に対するDXBufferSetおよびCLBufferRead/CLBufferWriteのstartパラメータによるオフセットの受け渡しを修正しました。また、エラー発生時のテクスチャのクリーンアップ処理も修正しました。
  30. MQLInfoIntegerを介して、ストラテジー テスターが的計算モードになっているかどうかを判断するための MQL_MATH_MODE プロパティを追加しました。
  31. StringToIntegerを使用して文字列を整数に変換する際のオーバーフロー処理を修正しました。
  32. ONNXのseq(map)型の出力を処理する際に発生するメモリリークを修正しました。また、OnnxSetOutputShapeの呼び出し後に出力テンソルのキャッシュが更新されない問題も修正しました。
  33. 4GBを超える配列におけるArrayCopyおよびArrayCompareの問題を修正しました。

MetaEditor

  1. 内蔵AIアシスタント向けのMCPツールを改善しました。

    • MQL5.comのコンテンツ検索を改善しました。
    • 図表およびコマンド結果の処理を改善しました。
    • ファイルの読み取り、書き込み、実行が許可されたディレクトリのチェックに関する問題を修正しました。

  2. コマンドラインからMQL5プログラムをコンパイルする際に、/utf8キーを使用できるようになりました。このキーを指定すると、ログファイルはBOMなしのUTF-8形式で出力されます。指定しない場合は、BOM付きのUTF-16形式で出力されます。
  3. Gitとの連携に関する問題を修正しました。特に、リポジトリからプロジェクトへの変更の同期、およびGit Revertコマンドによるロールバック後のファイルステータスアイコンの更新を修正しました。
  4. デバッグ中にローカル変数が正しく表示されない問題を修正しました。
  5. NETライブラリから関数をインポートする際に発生するエラーについて、警告を表示するようになりました。また、日付および色のリテラル、テンプレート定義、ネストされた配列型を含むCLRメタデータの検証機能を追加しました。
  6. デバッガが、サードパーティ製DLL内で発生したものを含む重大なエラーについて、より詳細なメッセージを取得できるようになりました。また、プロファイラにおける大きなスタックフレームの処理に関する問題を修正しました。
  7. コンパイラがEX5ファイルを最終出力先に置き換える前に、一時ファイルへ書き込むようになりました。

テスター

  1. 取引計算および取引操作のシミュレーションを修正しました。

    • 初日の日次手数料計算
    • Close By操作の手数料計算
    • ストップアウトによるポジションの決済
    • ポジションロールオーバー
    • すべての未決済ポジションの損益計算
    • 換算レートが存在しない場合のポイント単位によるスワップ計算
    • OrderCheck関数の動作

  2. ティック生成に関する問題を修正しました。

    • M1のOHLCモードにおける価格の生成順序
    • 価格履歴の欠損部分を補完する際の出来高計算
    • 1日の最初の1分間におけるカスタムスプレッドの計算
    • ミリ秒単位でのティックの欠落検出

  3. 追加の時間足(メイン以外の時間足)における実出来高の受け渡し、およびコア以外のテストツールに対するSYMBOL_TIME_MSC値の受け渡しを修正しました。
  4. 取引履歴の選択処理を修正しました。

    • HistorySelectByPositionの呼び出し後に注文および取引にアクセスできなくなる問題
    • 1秒以内に複数の取引または注文が発生した場合のHistorySelectの呼び出しに関する問題

  5. ビジュアルテストを一時停止する際に発生していた問題を修正しました。
  6. インターフェースとテストスレッドが同時に動作している際に、チャート、データウィンドウ、インジケータ、オブジェクトで発生していた各種不具合を修正しました。
  7. ビジュアルテスターにおけるグラフィカルオブジェクトおよびチャートイベントに関する複数の問題を修正しました。修正対象には、レベル、時間足、オブジェクトの削除、ネストされたチャート、スケーリング、テンプレートの適用が含まれます。今回の修正は、テスター内のObjectGet*、ObjectsDeleteAll、ChartSet*関数の動作にも影響を与えます。
  8. 該当するウィンドウでCtrl+CおよびCtrl+Vを使用して、テスト設定をクリップボードからコピー&ペーストする際に発生していた問題を修正しました。
  9. カスタムフォワードテストの日付が正しく保存されない問題を修正しました。
  10. 取引環境の設定に関する問題を修正しました(取引が行われない時間帯の読み込み、銘柄の価格変更閾値の適用、手数料方式の保存、SETファイルのバージョンの読み込み)。
  11. 最適化パスを各エージェントに割り当てる処理を修正しました。多数の最適化パスを使用した遺伝的最適化およびフォワードテストで発生していたエラーを修正しました。また、エージェントの再利用や低速エージェントの検出に関する問題も修正しました。
  12. エージェントのインストール、起動、終了処理に加え、接続エラーの処理や過去データの同期待機に関する問題を修正しました。
  13. 数学モードで、市場環境が不必要に読み込まれる問題を解消しました。
  14. 過去データベースとテスターキャッシュの処理性能を改善し、価格データの読み込みと圧縮、時間足の再構築、テストパス間でのキャッシュの解放、不完全なデータの検出を最適化しました。
  15. リモートエージェントにおけるデータチェック機能を強化し、タスクサイズ、パラメータ文字列、停止時のバッファ同期に関する処理を改善しました。
  16. メニューの操作、ログ行のハイライト表示、注文・取引表示モードでの操作一覧の表示に関連して発生していたメモリリークを修正しました。
  17. エージェントが利用可能な物理メモリの検出方法を改善しました。今回の変更により、複数の情報源から物理メモリの容量を取得し、その中で最も小さい値を採用するようになりました。
  18. MQL5クラウドネットワークでは、総メモリ容量を超える空きメモリを誤って報告するエージェントにタスクを割り当てなくなりました。
  19. 履歴に未処理のティックが残っているにもかかわらず、OnTickイベントが停止する問題を修正しました。
  20. ターミナルの再起動後に設定フィールドが正しく表示されない問題を修正しました。この問題は、ストラテジーテスターが数学的計算モードに設定されている場合に発生していました。
  21. テスト結果ウィンドウの初期化に関する問題を修正しました。この問題によってターミナルがクラッシュする可能性がありました。


Webターミナル

  1. 銘柄の小数点以下の表示桁数を変更した際に、チャートのスケーリングが正しく更新されない問題を修正しました。
  2. 価格履歴の更新処理を修正・最適化しました。メモリリークを解消するとともに、ティックの同期によって不要なバーの再構築が発生しないようにしました。
  3. アカウントのパスワード変更権限に関するチェック処理を修正しました。
  4. 1. 利用可能な取引銘柄数が多い場合の口座接続処理を修正しました。

24 9月 2026

New MetaTrader 5 Platform Build 6230: Expanded AI Capabilities

Terminal

  1. Expanded AI Assistant capabilities for interacting with the platform. A new set of tools has been added, allowing the agent to perform even more actions independently:

    • Preparing Expert Advisors for testing
      AI Assistant can retrieve an Expert Advisor's input parameters and prepare them for a Strategy Tester run. This simplifies complex testing and optimization scenarios in which the agent needs to determine the available parameters and configure them before starting a test.

    • Working with Expert Advisors, scripts, and indicators on charts
      The Assistant can retrieve Expert Advisor and script parameters, launch them on charts, remove Expert Advisors and indicators, and check the current state of indicators. This allows the agent to independently prepare the working environment and manage running MQL5 programs as part of a given task.

    • Access to the Economic Calendar
      AI Assistant can now retrieve data from the built-in Economic Calendar: request a list of countries and events, retrieve economic indicator values, and find specific records by their IDs. This makes it possible to use macroeconomic data directly in complex market analysis scenarios — for example, to assess upcoming and recently released indicators alongside price data.

    As a result, AI Assistant can perform longer sequences of actions without requiring manual preparation by the user: retrieve Expert Advisor parameters, configure testing, analyze the results, or supplement market analysis with up-to-date Economic Calendar data.


    Expanded AI Assistant capabilities for interacting with the platform

  2. Fixed the display of some interface elements in the dark theme.

MQL5

  1. Added a sorting method for vectors and matrices.

    Vector sorting:
    bool vector<T>::Sort(ENUM_SORT_MODE mode);	
    Sorting a matrix by all elements:
    bool matrix<T>::Sort(ENUM_SORT_MODE mode);
    Sorting a matrix along axes:
    bool matrix<T>::Sort(ENUM_MATRIX_AXIS axis,ENUM_SORT_MODE mode);
    The sorting mode can be specified using SORT_ASCENDING or SORT_DESCENDING.
  2. Added support for .NET CoreCLR 8+. Libraries built for the corresponding platforms can now be imported and used in MQL5 programs.
  3. Added support for the Print method for matrices.
  4. Added support for methods from the Products section for complex matrices and vectors. These include the Power, Kron, Inner, Outer, CorrCoef, Cov, Correlate, and Convolve methods.
  5. Added support for methods from the Solutions section for complex matrices. These include the Solve, LstSq, Inv, and PInv methods.

Web Terminal

  1. Fixed an issue that caused the chart to scroll to the left when a new bar appeared.
  2. Fixed an unknown error that occurred when connecting to a trading account.

3 9月 2026

New MetaTrader 5 Platform Build 6180: More AI Features

Terminal

  • Expanded the set of tools available to the AI Assistant. The agent can now perform more actions directly in the trading platform and Strategy Tester, making it easier to analyze, test, and optimize trading robots.

    The following capabilities have been added:

    • Retrieving Strategy Tester reports — the AI Assistant can independently retrieve testing and optimization results for further analysis. For example, you can ask it to evaluate the performance of an Expert Advisor, compare the results of different optimization passes, or identify potential issues in a strategy.
    • Launching optimization — the assistant can help configure Expert Advisor optimization criteria in the Strategy Tester.
    • Retrieving the current tester settings — the assistant can check the selected Expert Advisor, symbol, period, and other testing parameters before executing a task.
    • Retrieving the tester log — this allows the AI Assistant to analyze tester messages, identify errors, and help determine the causes of problems encountered during testing and optimization.
    • Adding indicators to a chart — the assistant can add the required technical indicators and configure their parameters. For example, you can ask it to add two moving averages with periods of 20 and 50 to the current chart.
    • Getting terminal and Expert Advisor logs — the AI Assistant can analyze system messages and logs generated by running MQL5 programs, helping identify errors and determine their causes.

    Expanded the set of tools available to the AI Assistant

MQL5

  1. Added support for the HasNan and ReplaceNan methods for complex matrices and vectors (matrixc, matrixcf, vectorc, vectorcf).
  2. Added support for the Split, HSplit, VSplit, SwapRows, and SwapCols methods for complex matrices (matrixc, matrixcf).
  3. Added support for the Fill, Flat, and Reshape methods for complex float matrices (matrixcf).
  4. Added support for the Assign and Swap methods for complex matrices and vectors (matrixcf, vectorcf).
  5. Added support for the Free method for complex matrices and all vector types (matrixc, matrixcf, vector, vectorf, vectorc, vectorcf).

Tester

  • Fixed chart event handling during visual testing. Pressing keys during testing could previously result in a runtime error.

Web Terminal

  1. Improved setting of stop levels when opening positions on accounts using the netting system. If a trade operation is executed for a symbol, for which there is a position, the current Stop Loss and Take Profit of the open position are automatically inserted in the order placing window. This prevents the current stop levels from being accidentally removed.
  2. Fixed repeated loading of trading instrument data.
  3. Fixed an issue where quotes might not appear after adding an instrument to Market Watch.

20 8月 2026

MetaTrader 5 Platform Update Build 6140: AI Assistant and Web Terminal Improvements

Terminal

  1. Added support for a wide range of new LLM providers for the AI Assistant, including Alibaba, Atomic Chat, Bitdeer AI, Cerebras, z.ai, and others. You can now choose from an even broader choice of models and pick the one best suited to a particular task, whether it involves market analysis, coding, or developing trading applications.

    To connect a provider, open the settings and enter the corresponding API keys:


    Added support for new LLM providers


  2. Added the ability to delete AI Assistant chats. To delete a chat, use the Navigator context menu or select the chat and press the Delete key:


    Terminal: Added the ability to delete AI Assistant chats

  3. Optimized the operation of MCP Tools. Added a tool for stopping the Strategy Tester.
  4. Changed the context window size for the built-in MQL5.community AI provider. The context window has been reduced from 1 million to 500,000 tokens. This is still sufficient for working with large projects, analyzing substantial amounts of code, and conducting extended conversations with the agent.
  5. Fixed an issue with modifying Stop Loss and Take Profit levels for pending orders through the AI Assistant. When performing this operation, the order expiration time could previously be reset incorrectly if one had been set by the user. 
  6. Fixed an issue with accounts added to Favorites in the Navigator. When opening the connection dialog for a favorite account, the authorization details are now populated correctly.

MQL5

  1. Added the MathCompareByDigits function. It compares two numbers for equality based on the precision of their significant digits. The function is useful when the magnitude of the numbers being compared is unknown in advance, as well as for complex numbers whose real and imaginary parts may differ significantly in magnitude.
  2. Fixed the const correctness of the Std, Var, and Cov matrix and vector methods when used with the ddof parameter.
  3. Fixed the reading and writing of special floating-point values (nan, snan, ind, inf, -inf) by the ReadCSV and WriteCSV methods for matrices and vectors.

MetaEditor

  • Fixed the saving of the last active tab in the Navigator. When you restart the application, it will now reopen to the same section where you were last working.

Tester

Web Terminal

  1. Fixed the saving of Depth of Market settings when reopening the window.
  2. Fixed the Depth of Market context menu. It now automatically closes after a setting is selected.
  3. Improved chart scaling. When you hover the cursor over the price or time scale, the corresponding zoom indicator is now displayed.
  4. Improved chart interaction. Accidental clicks in the corner area between the time and price axes will no longer affect the chart.
  5. Improved double-click handling. Small cursor movements between clicks will no longer interfere with double-click detection.
  6. Improved the stability of symbol switching. Rapid successive switches are now processed sequentially, preventing outdated requests from overriding the currently selected symbol.
  7. Fixed an issue with chart scrolling.

30 7月 2026

MetaTrader 5 Platform Update Build 6090: General Improvements

Terminal

  1. Expanded the set of MCP methods that AI Assistant is able to use. In particular, it can now add indicators to the chart, as well as get a list of available indicators with their parameters.
  2. Fixed bugs and improved built-in AI Assistant functionality.
  3. Disabled AI Assistant in Windows 7. This OS version is outdated and does not support all the necessary functions.
  4. Fixed support for Windows 7. If you are unable to launch the previous version of the platform, do not uninstall it, just reinstall the new version on top. All settings will be saved.
  5. Fixed signal showcase rendering.
  6. Updated Python integration package. To install the update, run the command:
     pip install --upgrade MetaTrader5 
    
  7. Updated interface translations.

Web Terminal

  • Fixed display of the Depth of Market changes.

23 7月 2026

MetaTrader 5 Build 6060: AI Integration, Passkey, and Code Management Improvements in MetaEditor

Terminal

  1. We've introduced native support for the Model Context Protocol (MCP) and agentic AI. The new features enable an entirely new way to interact with the trading platform: trade, analyze markets and strategies, and develop and test Expert Advisors with the assistance of AI.


    What is MCP?

    The Model Context Protocol (MCP) is an open standard that enables applications to communicate with AI agents. Unlike traditional chatbots, AI agents can independently complete complex tasks by breaking them down into a sequence of actions and using the capabilities of connected applications.

    With built-in MCP support, MetaTrader 5 becomes a fully featured source of market data and trading functionality for modern AI agents. They can access market information, analyze charts, work with the trading environment, and perform required operations through the standard MCP interface.

    In addition to the built-in AI assistant, you can also connect external systems that support MCP, including OpenAI Codex, Claude Code, and other compatible solutions.


    No setup required

    To start using AI features, simply sign in to the platform using your MQL5.community account. All users will automatically receive access to the free MQL5 Lite plan. After updating, the platform automatically configures everything you need: MQL5.community is selected as the default AI provider, and the required API key is added automatically.

    If you prefer, you can use your own API keys for OpenAI, Anthropic, Gemini, DeepSeek, Ollama, or other supported providers, and select your preferred model directly in the terminal settings.


    AI Settings


    Your AI settings are automatically synchronized between the trading terminal and MetaEditor.


    AI Assistant in MetaTrader 5

    The built-in AI Assistant helps you analyze markets. It can explain current market conditions for a symbol, review your open positions, analyze your trading history, answer questions about financial instruments, and provide context on recent market events.


    Ask AI to analyze your trading


    Example prompts:

    • Analyze the current EURUSD situation on the H1 timeframe. Identify the trend, the nearest support and resistance levels, and explain what's happening in the market.
    • Analyze my open positions. Which trades currently carry the highest risk, and why?
    • Analyze my trading history for the last three months. Identify my most profitable trades and suggest ways to improve my trading strategy.
    • Scan all symbols in Market Watch and identify those where an important level breakout or a strong trend is currently developing.
    AI-generated responses are provided for informational purposes only and do not constitute investment advice. Use them as an additional analytical tool and always make trading decisions based on your own judgment.
    AI operations are governed by configurable security settings. You can explicitly allow or prohibit AI-initiated trading operations, or require manual confirmation. In addition, separate settings control the AI's access to network requests and command line operations.


    AI Assistant in MetaEditor

    The AI Assistant in MetaEditor has become a full-fledged development assistant. It can:

    • Generate new MQL5 programs
    • Analyze existing code
    • Detect errors and suggest fixes
    • Explain complex algorithms
    • Assist with refactoring and project enhancement

    Launch the assistant from the File menu, the toolbar, or the Navigator context menu. Then simply describe your task in natural language.


    Ask AI to write a script for you


    Example prompts:

    • Create an Expert Advisor that opens a position when the EMA 20 crosses the EMA 50, uses a 500-point Stop Loss, a 1000-point Take Profit, and risks 1% of the account deposit.
    • Analyze this MQL5 code, identify potential issues, explain their causes, and provide a corrected version.
    • Optimize this indicator to reduce calculations and improve performance without changing its logic.
    • Convert this MQL4 Expert Advisor to MQL5 using modern language features and the Standard Library.
    • Explain how this Expert Advisor works. Describe its trading logic, the indicators it uses, its entry and exit conditions, and any potential weaknesses in the strategy.

    The more detailed your request, the more accurate and useful the generated results will be.

    Your conversation history is available in the Chats tab of the Navigator.

  2. Added Passkey authentication support. It is a modern technology that significantly improves trading account security. Passkeys protect against phishing attacks and credential theft: even if an attacker obtains your account login and password, they will not be able to access your account without confirmation from your registered device or hardware security key.


    Enabling and using Passkeys

    Passkey support is enabled on the broker side. If Passkey authentication is available for your trading account, the terminal will prompt you to create a Passkey the first time you connect after entering your login and password. Basic login and password authentication remains available. The Passkey serves as an additional authentication factor.


    Creating a Passkey


    You can save your Passkey in one of two ways:

    • On a mobile device — scan the QR code displayed in the terminal using your smartphone and select 'Save Passkey' on your mobile device.
    • On a hardware security key — connect a compatible FIDO2 security key to your computer and follow the on-screen instructions.
    To use a Passkey stored on a mobile device, your computer must support Bluetooth. Bluetooth is used to verify the physical proximity of your mobile device. This is done to prevent attackers from remotely authenticating by sending you a QR code.
    Once registered, the Passkey will be required every time you connect to your account after you enter your login and password:

    • If the Passkey is stored on a mobile device, scan the QR code with your phone and confirm the sign-in.
    • If you use a hardware security key, connect it to your computer to complete authentication.

    If necessary, you can remove a registered Passkey. To do this, select 'Passkey Manager' from the account context menu in the Navigator window. The next time you connect, you'll be prompted to register a new Passkey.


    Passkey Manager


  3. Added support for new account access levels:

    • Trader — allows trading but prohibits password changes and deposits or withdrawals.
    • Money manager — allows deposits, withdrawals, and transfers between accounts, but prohibits trading and password changes.

    Separate passwords are required to access these account modes. You can configure them using the password change dialog:


    ДAdded support for new account access levels


  4. Fixed initialization of the trading dialog for symbols using Instant Execution. Under certain conditions, the dialog could appear empty if the previously entered volume value exceeded the threshold at which trading switches to Request Execution.
  5. Fixed calculations for the Regression Channel graphical object.
  6. Removed support for publishing trading reports via FTP. This legacy feature is deprecated and is no longer widely used.
  7. Help: Added keyboard shortcut support: Ctrl+Tab and Shift+Tab — sequentially switch between Help sections; Alt+Right/Left — switch to the next or previous viewed page.
  8. Updated user interface translations.

MQL5

  1. Optimized and significantly accelerated the TextOut function that outputs text. In some scenarios, performance is up to three times faster than in previous versions.
  2. Added the SymbolInfoCommissions function for retrieving commission information for trading symbols. 
    int  SymbolInfoCommissions(
       string           name,              // symbol name
       MqlCommission&   commissions[]      // array of commission rules
       );
    Each element of the 'commissions' array describes a separate commission calculation rule. General conditions for applying the commission are specified by the MqlCommission structure fields, and the specific values and ranges of the commission are represented by the 'tiers' array.

  3. Added MatrixInfo method for analyzing the structural properties of matrices. It analyzes matrix contents, determines its structural type (symmetric, Hermitian, triangular, banded, etc.), and fills the MqlMatrixInfo structure.

  4. Added matrix and vector methods: 

    • Write — analyzes the matrix contents, determines its structural type (symmetric, Hermitian, triangular, banded, etc.), and writes the matrix to an open file according to the selected storage format.
    • Read — reads a matrix from a file that was previously written using the Write method.
    • WriteBin — writes a matrix to a file according to its size and data type.
    • ReadBin — reads a matrix from a file that was previously written using the WriteBin method.
    • WriteCSV — writes a matrix to a CSV file according to its size and data type.
    • ReadCSV — reads a matrix from a file that was previously written using the WriteCSV method.

  5. Added methods for orthogonal factorizations of matrices: 

    • FactorizationQRTallSkinny — computes a blocked QR factorization of a tall-skinny matrix of size m by n (m>n): A = Q * R. LAPACK function LATSQR.
    • FactorizationLQShortWide — computes a blocked LR factorization of a short-wide matrix of size m by n (m<n): A = L * Q. LAPACK function LASWLQ.
    • FactorizationRZ — reduces a real or complex upper trapezoidal matrix A of size M by N (M ≤ N) to upper triangular form using orthogonal transformations. LAPACK function TZRZF.
    • FactorizationQR2 — computes the generalized QR factorization of two matrices: A of size n by m and B of size n by p: A = Q * R, B = Q * T * Z. LAPACK function GGQRF.
    • FactorizationRQ2 — computes the generalized RQ factorization of matrices A of size m by n and B of size p by n: A = R * Q, B = Z * T * Q. LAPACK function GGRQF.

  6. Added the SylvesterEquation method. It solves Sylvester equations for real and complex matrices: A*X + X*B = scale*C where A is a general m-by-n matrix and B is a general n-by-n matrix. Uses LAPACK functions GEES and TRSYL.

  7. Added the LeastSquaresGaussMarkov2 method. It solves the general Gauss-Markov linear model: minimizes the norm ∣∣y∣∣2 with a constraint d=A⋅x+B⋅y, using a generalized QR factorization of matrices A and B. Uses the LAPACK function GGGLM.

  8. Added BLAS Level 3 methods:

    • BlasL3LACRM — multiplies a complex matrix by a square real matrix.
    • BlasL3LARCM — multiplies a square real matrix by a complex matrix.

  9. Fixed an error in t-distribution quantile calculations in the MQL5 statistical library.
  10. Fixed initialization of the predefined _StopFlag variable for indicators.
  11. Added generation of the CHARTEVENT_CHART_CHANGE event when CHART_PRICE_MIN and CHART_PRICE_MAX chart properties change. To receive the event, use the OnChartEvent handler.
  12. Fixed handling of timeout specified at the WebRequest call.
  13. Fixed ObjectGetValueByTime function operation for OBJ_REGRESSION and OBJ_STDDEVCHANNEL graphical objects.
  14. Added MQL_LAST_OPENBLAS_ERROR value to the ENUM_MQL_INFO_INTEGER enumeration.

    Most LAPACK functions in the OpenBLAS library use the integer 'info' parameter to return the execution status of a function or subroutine: whether it completed successfully, whether errors were detected in the input parameters, or whether numerical issues occurred. The MQL_LAST_OPENBLAS_ERROR constant contains the value of 'info' returned after the most recent failed OpenBLAS function call. 

MetaEditor

  1. Added code folding feature. You can now collapse and expand functions, classes, loops, conditional statements, and other code blocks. This simplifies navigation through large source files, helps you focus on specific parts of a program, and makes working with large projects much more convenient.


    Added code folding feature


    Use the new option in the settings to enable or disable this feature:


    Enable and disable code folding


  2. Added highlighting of all occurrences when selecting a word. When you select an identifier, variable, function, or any other word, MetaEditor automatically highlights all occurrences of that word in the current file. This makes it easier to quickly locate related code sections, track variable and function usage, and significantly simplifies analysis and navigation through large source files.


    Added highlight all occurrences feature


  3. Fixed display issues with *.md files.
  4. Added UTF-8 support for *.mqproj projects. This encoding is now used when saving such files.
  5. Changed the encoding used for saving *.mq5 and *.mqh files. They are now saved as UTF-8 without BOM. 
  6. Fixed source code highlighting. Some MQL5 language identifiers could previously be displayed with incorrect colors.
  7. Fixed saving and loading of coordinates for detached windows.
  8. Fixed keyboard shortcut handling in detached windows.

Tester

  1. Fixed the application of custom spreads in the "Open prices only" testing mode.
  2. Fixed percentage-based swap calculations.
  3. Fixed the display of testing parameters that cannot participate in optimization (for example, string parameters). Such parameters are now displayed with an empty gray square, indicating that the parameter is disabled and cannot be selected.
  4. Fixed the display of the clrNONE color value in MQL5 program parameters during testing.
  5. Fixed the application of custom margin settings.

Web Terminal

  • Improved operation on touchscreen devices.

24 4月 2026

MetaTrader 5 Platform Update Build 5830: General Improvements

Terminal

  1. Improved built-in help:

    • Optimized colors in the dark theme for better readability.
    • Improved the size of the navigation sidebar.
    • Added the ability to undock the help window in MetaEditor.
    • Added support for copying text via the context menu and Ctrl+C.
    • Added the ability to adjust text zoom: hold Ctrl and scroll the mouse wheel or use the context menu.
    • Added navigation between previously viewed sections using Alt + Left/Right Arrow.
    • Added the ability to print pages using Ctrl+P.

  2. Optimized display of certain interface elements in the dark theme, including the OHLC line, chart collapse/expand buttons, and input parameters in the strategy tester.
  3. Fixed behavior of the Use system colors option in Market Watch. The setting could reset after restarting the application.

16 4月 2026

MetaTrader 5 Platform Update Build 5800: Redesigned Trading Dialog and Improved Operations with CSV in MetaEditor

Terminal

  1. We have started a comprehensive redesign of the trading dialog to make it more intuitive and functional.

    • The dialog now includes a built-in Depth of Market, providing full visibility into market conditions and enabling quick placement of pending orders at specific price levels.
    • Order type switching has been moved to a side panel for easier access.
    • The side panel now includes one-click trading enable/disable controls. Previously, they were only available in the platform settings.


    Upcoming versions will provide further enhancements for stop level placement and risk management.


    New Trading dialog


  2. Updated built-in Help. The built-in help system has been upgraded from the legacy CHM format to a modern web-based engine. Along with this transition, the help interface has been redesigned with updated styles and improved interactivity.

    By default, the help window opens in a separate panel within the chart area. If needed, it can be detached and moved outside the platform to free up space for trading instruments.


    Updated built-in Help


  3. Fixed updates for ONNX and OpenBLAS libraries. Required components are now properly checked and downloaded during platform updates.
  4. Fixed display of the chart position fixing marker.
  5. Fixed balance drawdown calculation in trading reports. Previously, withdrawals could be incorrectly included.
  6. Improved the dark theme. We have adjusted some colors for better contrast.
  7. Fixed saving of proxy connection settings and expanded logging. When a proxy is first used during a session, the following message is logged:
    connecting through HTTP proxy [server]:[port]
  8. Updated Uzbek localization — now uses the Latin script.


MQL5

  1. Added new OpenBLAS methods for L1 trend filtering, enabling fast and reproducible extraction of trend components from time series.

    Where to use

    • Piecewise linear trends instead of smooth averaging: the L1 filter reduces noise and short-term fluctuations without blurring regime changes, representing trends as linear segments.
    • Automatic detection of turning points: changes in trend slope are identified naturally due to sparsity in second differences—particularly useful for financial time series.
    • Normalized regularization parameter via λmax: the λ parameter can now be defined in relative terms (as a fraction of λmax). This makes it easier to transfer settings across symbols, timeframes, and history dataset with different lengths.

    New methods

    • L1TrendFilterLambdaMax — calculates the maximum regularization value (λmax) at which the solution becomes strictly linear (global trend). Returns true/false, with λmax provided via an output parameter.
    • L1TrendFilter — computes the L1 trend for a given λ. Supports relative=true, where λ is defined within the range [0…1] as a fraction of λmax.

  2. Fixed data requests via CopyRates. Requests outside available history now correctly return error code -1.
  3. Expanded CUDA support for ONNX models. The following architectures can currently be used:

    • Turing: Nvidia 1660, RTX 2080/2070/2060, T4, Quadro RTX
    • Ampere: A100, RTX 3090/3080/3070
    • Ada Lovelace: RTX 4090/4080/4070, L40, L4
    • Hopper: H100, H200
    • Blackwell: B100, B200, B20, RTX 5090/5080/5070

  4. Improved WebRequest operations for long-running requests using Keep-Alive.

MetaEditor

  1. Added table view for CSV files.

    When opening CSV files, the editor now automatically displays them in a structured table format. You can filter data, sort by columns, and delete rows using the context menu.

    Any character can be used as a delimiter, including commas, semicolons, tabs, and spaces. If automatic detection is incorrect, the delimiter can be set manually.


    CSV table view feature added


  2. Improved setting of default compilation mode. If your CPU supports the AVX2 instruction set, the editor automatically sets the appropriate compilation mode for MQL5 applications. This ensures optimal performance.
  3. Updated the default source file encoding format. Files are now saved in UTF-8 without BOM, which ensures correct display in MQL5 Algo Forge.
  4. Fixed the "repository not owned by current user" error when using MQL5 Algo Forge cloud storage.

Signals

  • Fixed delays in signal copying when the subscriber account lacks the exchange rate required for calculating the copy ratio.

    When determining trade volumes, the system considers the balance ratio between subscriber and provider accounts. If deposit currencies differ, a corresponding conversion rate is required. If the needed conversion rate is unavailable, the system assumes equal balances and logs the warning:
    no conversion rate for the deposit currency of provider and subscriber
    Previously, after this warning, users could experience delays in trade copying. This issue has now been resolved.

Tester

  1. Fixed CopyTicksRange behavior. Requests for symbols other than the main testing symbol previously returned error 4401.
  2. Fixed import of custom trading settings. These settings can now be edited after import.

MetaTrader 5 Web Terminal

  1. Fixed positioning of the indicator adding dialog. It could previously appear at the edge of the screen for some users.
  2. Fixed display of trading session start times in instrument specifications.
  3. Fixed double-click behavior on objects and the vertical scale. It now opens properties and resets zoom to default.

27 2月 2026

MetaTrader 5 Platform Update Build 5660: Improvements and Fixes

This version improves operations with proxy servers. We have enhanced HTTP and SOCKS5 protocol support to reduce connection errors. The outdated SOCKS4 protocol is no longer supported.

We have also revised operations with the OpenBLAS linear algebra library. Its implementation is now delivered as a separate file: openblas.dll.

  • The size of the trading terminal and tester executables has been reduced, helping you save bandwidth during platform updates. Since OpenBLAS is updated far less frequently, you will not need to download it each time.
  • If multiple platform instances are installed on a computer, they will all use a single shared library file. This saves disk space.
  • If OpenBLAS functionality is not used, the library is not loaded into memory, reducing resource consumption.

20 2月 2026

New MetaTrader 5 Platform Version Build 5640: Dark Theme Improvements and Markdown Support in MetaEditor

Terminal

  1. Improved dark theme across all components: the trading terminal, MetaEditor, and the Strategy Tester. The overall background color, as well as tab and scrollbar colors, have been updated to improve usability and visual comfort.

    Improved dark theme


  2. Terminal: Fixed an issue that could interrupt the download and synchronization of tick history under certain conditions.
  3. Terminal: Updated fundamental data for trading instruments. The list of supported symbols has been expanded and missing data has been added.

    Updated fundamental data


  4. Added Kurdish interface translation.
  5. Fixed rendering of the "Edit Field" graphical object.
  6. Fixed rendering of the "Trend Line" object. In some cases, the object was not displayed if its anchor point was located outside the visible range of chart bars.
  7. Fixed deletion of custom symbol groups.

MQL5

  1. Added the Color2PRGB function. It converts the color type to uint to obtain the PRGB color representation. The PRGB format is used when creating graphical resources, outputting text, and in the CCanvas class of the Standard Library.
  2. Added the NormalizeDouble method for vectors and matrices. It works similarly to the standard method for double values. For complex numbers, the real and imaginary parts are normalized separately. This method is useful when price data is supposed to be stored in vectors and matrices.
  3. Compiler improvements:

    • Fixed a call via a function pointer returning an object.
    • Added warnings for large or negative shift constants.
    • Fixed an issue in the matrix<T>::Swap(array<T>&) method.
    • Fixed parsing of code using implicit class objects.

MetaEditor

  1. Added support for viewing and editing Markdown files. Markdown is widely used for creating documentation and descriptions across many platforms, including GitHub and AlgoForge.

    By default, .md files open in preview mode with basic styling applied for convenience. To switch to edit mode, use the context menu.

    Added support for viewing and editing Markdown files


  2. Fixed handling of project files *.mqproj encoded in UTF-8 with BOM.
  3. Fixed automatic display of local variables. Their values can no longer be deleted from the Watch list.

Strategy Tester

  1. Fixed historical data synchronization issues that occurred when testing instruments with a margin currency different from the account deposit currency. For example, when testing CHFJPY with a USD or EUR deposit currency. The tester now correctly downloads the required cross rates from the broker's server.

29 1月 2026

New MetaTrader 5 Build 5572: ONNX and Chart Rendering Improvements

Terminal

  1. Fixed text rendering on charts in macOS and Linux environments using Wine.
  2. Corrected the drawing of indicators displayed as lines with variable colors.
  3. Fixed rendering of Text Label and Button objects.
  4. Corrected formatting of certain statistics in trading reports, which could previously round incorrectly.
  5. Revised calculation of "Total Profit" and "Total Loss" in trading reports. These values now include commissions and swaps.
  6. Fixed saving the toolbar state for undocked charts. Hidden toolbars could reappear after restarting the platform.
  7. Fixed loading of custom trading instrument settings from JSON files. In particular, swap settings, trading sessions, and tick values could be imported incorrectly.
  8. Added instrument and timeframe display in the window title when running a script on a chart.


    Added instrument and timeframe display in the window title when running a script on a chart


  9. Fixed duplication of trading instruments in the tooltip displayed when searching instruments in the Market Watch.
  10. Fixed rendering of Wingdings fonts on charts.
  11. Fixed rendering of indicators displayed as colored candlesticks (DRAW_COLOR_CANDLES) and colored lines (DRAW_COLOR_LINE).
  12. Added output of a log message indicating that the broker's server is running an outdated version. If the server version is below 5200, released six months ago, a warning will be displayed:
    outdated server build - must be at least 5200, contact your broker please
    The message is displayed for informational purposes only and does not affect the ability to connect to the server.
  13. Updated user interface translations.

MQL5

  1. ONNX library now loads on the first run of an MQL5 program that uses ONNX, rather than with the platform. Library updates occur automatically.
  2. Added CUDA support for ONNX. If your graphics card supports this technology, model inference performance will be significantly improved. We strongly recommend updating NVIDIA drivers to improve stability and performance.
    CUDA usage permissions can be managed in the platform settings: 

    CUDA usage permissions can be managed in the platform settings


  3. Updated flags in the ENUM_ONNX_FLAGS enumeration. These flags are used when creating and executing ONNX models:

    Logging
    Instead of the deprecated ONNX_DEBUG_LOGS, the following logging flags are now used:

    • ONNX_LOGLEVEL_VERBOSE — log all messages.
    • ONNX_LOGLEVEL_INFO — log informational messages, warnings, and errors. Replaces the deprecated ONNX_DEBUG_LOGS.
    • ONNX_LOGLEVEL_WARNING — log warnings and errors. Used by default.
    • ONNX_LOGLEVEL_ERROR — log errors only.

    CUDA and GPU Management
    The ONNX_CUDA_DISABLE flag has been removed. Use the new ONNX_USE_CPU_ONLY flag instead. When enabled, only the CPU will be used for model execution.

    Flags have been added to select the GPU device on which the model will be executed:

    • ONNX_GPU_DEVICE_0
    • ONNX_GPU_DEVICE_1
    • ONNX_GPU_DEVICE_2
    • ONNX_GPU_DEVICE_3
    • ONNX_GPU_DEVICE_4
    • ONNX_GPU_DEVICE_5
    • ONNX_GPU_DEVICE_6
    • ONNX_GPU_DEVICE_7

    Use these flags if the system has two or more CUDA-capable devices. If multiple flags are specified, the device with the lowest index will be selected.

    Model Profiling
    We've added the ONNX_ENABLE_PROFILING flag to enable ONNX model profiling.

    When a model is started with this flag enabled, a profiling report file with the name: [EX5 file name]_[date]_[time].json will be created in the /MQL5/Files/OnnxProfileReports/ folder.

  4. Increased the limit for files that can be included in a program as a resource. The new limit is 1 GB, allowing you to include large ONNX models in projects. 
  5. Improved stability for OpenCL operations.
  6. Added ReplaceToZero method. It replaces small values in a matrix/vector with zero values and returns the number of replaced elements.
  7. Added new OpenBLAS methods:

    • FactorizationLDLComplexSyRaw — computes the factorization of a complex matrix using the Bunch-Kaufman diagonal pivoting method.
    • LDLComplexSyLinearEquationsSolution — solves a system of linear equations A * X = B with a complex symmetric indefinite matrix using the factorization A = U**T * D * U or A = L * D * L**T computed by FactorizationLDLComplexSyRaw, with multiple right-hand sides.
    • LDLComplexSyInverse — computes the inverse of a complex symmetric indefinite matrix using the factorization A = U**T * D * U or A = L * D * L**T computed by FactorizationLDLComplexSyRaw.
    • LDLComplexSyCondNumReciprocal — estimates the reciprocal of the condition number of a real symmetric or complex Hermitian indefinite matrix A, using the LDLT factorization computed by FactorizationLDLRaw.

  8. Added the ColorToPRGB function. It converts the color type to uint to get a PRGB color representation. This format is used when creating graphic resources, rendering text, and in the standard library CCanvas class when working with the COLOR_FORMAT_ARGB_RAW color format.
    uint  ColorToPRGB(
       color  clr,          // the color to be converted, in 'color' format
       uchar  alpha=255     // the alpha channel that controls color transparency
    );
    The PRGB color is calculated using the following formula:
    R = R * A / 255
    G = G * A / 255
    B = B * A / 255
    A = A
  9. Fixed programmatic text setting for OBJ_LABEL, OBJ_TEXT, OBJ_BUTTON, and OBJ_EDIT objects. The text might not be displayed under certain conditions.
  10. Fixed setting colors for graphical objects using ObjectSetInteger. The value clrNONE could previously be ignored.
  11. Fixed Bars function freezing when no price history is available on the server.
  12. Fixed global variable search in scopes. Previously, variables inside a namespace could not have the same names as global-level variables.
  13. Fixed operation of the final attribute. Attempting to override a function marked as 'final' now correctly produces a compiler error.
  14. Fixed false compiler warnings that occurred when using function forward declarations in included *.mqh files without the #import directive. The compiler now correctly handles such declarations and does not require #import if the functions are not imported from a DLL.

    Example

    File utils.mqh: 
    // Function forward declaration
    double CalcLot(double risk, double stop);
    File expert.mq5:
    #include "utils.mqh"
    
    double CalcLot(double risk, double stop)
      {   
       return risk / stop;
      }
    Previously, the compiler could issue a warning that the CalcLot function in utils.mqh was missing the #import directive, even though the function is user-defined and implemented in the project code. Such code now compiles without warnings. The #import directive is required only for functions actually imported from external DLLs. 

MetaEditor

  1. Fixed out-of-memory errors when working with large source files (megabytes).
  2. Fixed display of enumeration values and names in the Watch window during debugging.

Tester

  1. Fixed termination of testing for looping Experts Advisors. Even with infinite loops, pressing "Stop" now halts execution immediately.
  2. Fixed EventChartCustom call during visual testing. Previously, the event could be mistakenly sent twice.
  3. Corrected freeze level check (SYMBOL_TRADE_FREEZE_LEVEL) when deleting newly placed pending orders.
  4. Fixed export of forward-testing data. When exporting a test that did not use forward mode, data from previous forward tests could sometimes be saved.

Web Terminal

  1. Added display of approximate profit/loss in money when setting Stop Loss or Take Profit on the chart.

    Added display of approximate profit/loss in money


  2. Fixed display of symbol specifications for instruments with special characters.
  3. Corrected display of negative prices in trade dialogs.
  4. Fixed display of account financial metrics for cases where the deposit currency has precision greater than two decimal places.

17 10月 2025

MetaTrader 5 Platform Update build 5370: Web Terminal improvements

Web Terminal

  1. Added display of contract start and end dates in instrument specifications:


    Contract start and end dates


  2. Fixed the price delay indication in the "Quotes" section. On mobile devices, the corresponding icon might not have appeared in extended view mode.

    Delayed quotes


  3. Fixed the timeframe selection menu display. The issue occurred in horizontal view on mobile devices.
  4. Fixed display of available account types in the demo account creation window.
  5. Fixed localization issues in the account connection window. Some items could appear only in English.

3 10月 2025

MetaTrader 5 Platform build 5326: Improvements and fixes

Terminal

  1. Added password length check when connecting to an account for the first time after migration from MetaTrader 4. The system now correctly checks the complexity of the new password.
  2. Fixed the display of the "ID" column (external system identifier) in the list of open positions. The column will now only appear if at least one of the operations in the list has an associated identifier.

MQL5

  • Resolved an issue with the generation of implicit constructors and copy operators for structures and classes. In some cases, this could lead to critical failures in MQL programs.

25 9月 2025

MetaTrader 5 Platform Update Build 5320: Services in CodeBase and improved input operations in MQL5
Build 5320 is the last update to support Windows 7, Windows 8, Windows 8.1, and Windows Server 2008. Starting with the next version, desktop platforms running on these operating systems will no longer receive updates. The only exception is platforms running under Wine.

Terminal

  1. Added support for MQL5 Service programs in the CodeBase.

    Unlike Expert Advisors, indicators and scripts, services are not attached to a specific chart. They run in the background and start automatically when the terminal launches. With services, you can implement custom price data feeds for the platform, as well as perform a wide range of auxiliary tasks.

    These programs now have a dedicated category. Developers can share their codes in the CodeBase:


    Added support for MQL5 Service programs in the CodeBase


    Users can easily download them directly from the platform or MetaEditor. Once downloaded, the program is placed in the correct folder, compiled automatically, and ready to run:


    Download codes directly from the platform


  2. Fixed an issue where files from closed (removed) charts were moved to the wrong directory. Because of this, users could not restore such charts via the 'File \ Open Deleted' menu.
  3. Updated user interface translations.

MQL5

  1. Added support for new syntax for input parameters. You can now explicitly set a visible name to be displayed in the program properties. Previously, this was only possible through comments.

    Instead of the outdated syntax:
    input int InpVar;  /*visible name*/ // some comment
    Use the new format:
    input(name="visible name") int InpVar;  // some comment
    The visible variable name is defined in the 'name' parameter, which accepts string literals only.

    When the new input syntax is used, all comments following the variable declaration are ignored. The older syntax remains supported and is not deprecated. You may continue using it, and the compiler will not generate warnings.

  2. Fixed an error where the compiler could incorrectly produce the message "function must have a body".

MetaEditor

  • Fixed tooltips displayed when hovering over the value of a watched expression in the debugger.

Tester

  • Fixed an error when testing indicators. The process could fail to start if the indicator name matched a chart template name.

Web Terminal

  1. Added Romanian and Hebrew translations for the user interface; improved translations in the account connection window.
  2. Fixed the display of the objects menu in the mobile version.
  3. Fixed the display of minimum volume and volume step in contract specifications.

5 9月 2025

New MetaTrader 5 Platform Build 5260: Enhancements in Algo Forge and new inheritance rules in MQL5

Terminal

  1.  Fixed display of margin settings in trading symbol specifications. Previously, when floating leverage was used (e.g., calculated based on account position volume), margin parameters in contract specifications could be shown incorrectly.
  2.  Fixed order book sorting for symbols with negative prices allowed. Orders with positive, negative, and zero prices are now displayed correctly and in proper order. 
  3. The terminal user guide now includes a new section How the Tester Downloads Historical Data. It summarizes the key points needed to understand how the Strategy Tester works with trading history. To ensure calculation stability, the tester always loads a "pre-start history buffer":
  4. If the available history is insufficient, the tester automatically shifts the actual start date forward to the nearest point that meets the requirements.

    In such cases, testing begins later than the date specified by the user. The tester log will show a relevant message, for example:

    start time changed to 2024.03.15 00:00 to provide data at beginning
  5. Added translation of the terminal interface into Irish.
  6. Updated user interface translations.

MQL5

  1. Added five new OpenBLAS methods in the Matrix Balance section, expanding functionality for square matrices. The new set of functions provides:
    • Matrix balancing for improved accuracy in eigenvalue calculations.
    • Back transformations of eigenvectors.
    • Reduction to Hessenberg form and Schur decomposition, including orthogonal matrix generation.

    These methods give developers a complete transformation cycle, from preliminary matrix preparation to precise and stable spectrum computation.

    The methods are based on LAPACK algorithms (GEBAL, GEBAK, GEHRD, ORGHR, HSEQR), ensuring high performance and reliability:

    • MatrixBalance: Balances a general real or complex matrix by permuting rows and columns and applying diagonal similarity transformations. Balancing may reduce the 1-norm of the matrix and improve the accuracy of the computed eigenvalues and/or eigenvectors (LAPACK function GEBAL).
    • EigenVectorsBackward: Forms the right or left eigenvectors of a real or complex general matrix by backward transformation on the computed eigenvectors of the balanced matrix (LAPACK function GEBAK). 
    • ReduceToHessenbergBalanced: Reduces a real or complex general balanced matrix to upper Hessenberg form by an orthogonal similarity transformation (LAPACK function GEHRD).
    • ReflectHessenbergBalancedToQ: Generates orthogonal matrix Q which is defined as the product of elementary reflectors of order n as generated by reducing to Hessenberg form (LAPACK function ORGHR).
    • EigenHessenbergBalancedSchurQ: Computes the eigenvalues of a Hessenberg matrix and the matrices T and Z from the Schur decomposition; optionally computes the Schur factorization of an input matrix reduced to the Hessenberg form (LAPACK function HSEQR).


  2. Added two new methods in the Eigen Values section. Both functions efficiently compute eigenvectors after Schur decomposition, completing the full set of linear algebra tools in MQL5:

    • EigenVectorsTriangularZ: Computes eigenvectors of a real upper quasi-triangular or complex upper triangular matrix (Schur form). Uses the decomposition A = Q · T · Qᴴ (LAPACK function TREVC). Provides high accuracy.
    • EigenVectorsTriangularZBlocked: Block version for computing eigenvectors of a real upper quasi-triangular or complex upper triangular matrix (LAPACK function TREVC3). Faster but not so accurate.
  3. Introduced an important change in inheritance with the new method hiding rule

    Previously, if a derived class or structure defined a method with the same name as in the base class, overloading was performed: all versions (from both the parent and child) were available in the derived class. Now, methods with the same name in a derived class hide base class methods (method hiding).

    To call a hidden base class method, you must explicitly specify its scope when calling it:
    class Base
      {
    public: 
       void Print(int x)   { ::Print("Base int: ", x); }
       void Print(double y){ ::Print("Base double: ", y); }
      };
    
    class Derived : public Base
      {
    public:
       void Print(string s){ ::Print("Derived string: ", s); }
      };
    
    void OnStart()
      {
       Derived d;
       d.Print("text");    // call of Derived::Print(string)
       d.Print(10);        // ATTENTION! Calling Derived::Print(string) since Base::Print is hidden (inaccessible)
       d.Base::Print(10);  // explicit call to hidden parent method
      }
    For some time, the MQL5 compiler will issue a warning if a hidden base method is a better match for the call parameters than the available derived method. Example for the above code d.Print(10):
    call resolves to 'void Derived::Print(string)' instead of 'void Base::Print(int)' due to new rules of method hiding
       see declaration of function 'Derived::Print'
       see declaration of function 'Base::Print'
    implicit conversion from 'number' to 'string'

  4. Added the using operator for restoring base class method overloads.

    To control the new behavior, MQL5 introduces the 'using' operator. It allows you to "pull" all overloads of a method from the base type into the scope of a class or structure:
    class Base
      {
    protected:
       void Print(int x)   { ::Print("Base int: ", x); }
       void Print(double y){ ::Print("Base double: ", y); }
      };
    
    class Derived : public Base
      {
    public:
       void Print(string s){ ::Print("Derived string: ", s); }
       using Base::Print;  // return Print overloads from Base
      };
    
    void OnStart()
      {
       Derived d;
       d.Print("text");   // Derived::Print(string)
       d.Print(42);       // Base::Print(int)
       d.Print(3.14);     // Base::Print(double)
      }
    If 'using Base::Print;' is removed, then calls to d.Print(42) and d.Print(3.14) will be unavailable; only Derived::Print(string) will remain.

    Additionally, in this example, you can see that protected methods from the base class become accessible in the derived class (their visibility changes from protected to public).

    This gives developers more flexible and predictable control over class hierarchies, allowing them to precisely define which base class method overloads should remain accessible in derived types.

MetaQuotes Language Editor

  1. Accelerated SHA-1 hash calculations for Git operations in Algo Forge. Performance improvements exceed 40% for bulk operations.
  2. Fixed file modification checks for Git operations. If only the modification time changes but the file content remains the same, the file is no longer treated as modified. This eliminates false detections and prevents conflicts with remote repositories.

Algo Forge

Published MQL5 Algo Forge User Guide. It highlights all the key benefits of Git without unnecessary complexity:

  • reliable version history storage and branching,
  • fast experimentation and safe merging of changes,
  • create your own repository or fork other developer' projects in one click,
  • transparent team collaboration with tracked contributions,
  • a catalog of open projects with the opportunity to learn from others.

  • Cloning Another Developer's Project
    Open the project you want to clone on forge.mql5.io and click Fork. Enter a name and description for the fork and save.

    Cloning a project

    In MetaEditor, using the same MQL5 account, run the Refresh command in the Navigator. Your fork will appear in the Shared Projects folder. Download it from Algo Forge using Git Clone. You'll receive not only the project files but also its full commit history and all branches. This means you can continue working on the fork while still having the entire history of the cloned project.  

    Git Clone command in Algo Forge


Web Terminal

  1. Fixed display of trading and quoting sessions in symbol specifications.
  2. Fixed display of margin settings display in symbol specifications.
  3. Fixed display of trading and quoting sessions in symbol specifications.
  4. Added support for Contest account type. Such accounts are displayed in blue, while demo accounts appear in green.
  5. Fixed accuracy of floating leverage margin calculations under certain conditions. 
  6. Fixed an issue when opening a new account where the Next button sometimes failed to proceed to the next step.
  7. Fixed an issue where it was not possible to place a limit order between Bid and Ask prices for Exchange execution.
  8. Fixed display of order execution prices. Once an order is sent, its execution results appear in the window: a successful trade operation or a reason why it has not been executed. In some cases, the execution price was incorrectly shown as "0".
  9. Fixed an issue where the quick position close button was not displayed.

    Position closing button

  10. Fixed display of trading account currencies in the account selection window.

31 7月 2025

New MetaTrader 5 Platform Build 5200: Extended OpenBLAS support and enhanced control in MQL5

Terminal

  1. Added the ability to automatically apply the light or dark theme based on your Windows settings. To enable this, select the new option: View \ Color Themes \ System. Each time the platform launches, it will detect your system theme and adjust accordingly.


    Added the ability to automatically apply the light or dark theme based on your Windows settings


  2. Fixed display issues with toolbars detached from the main window.
  3. Fixed the portfolio liquidation value calculation in the Assets section. In some cases, positions for certain instruments were not accounted for.
  4. Fixed the display of negative prices in the Depth of Market. These are now sorted correctly.
  5. Fixed price history import to custom symbols. For instruments located in the root folder, the corresponding commands could previously be unavailable.
  6. Updated user interface translations.

MQL5

  1. Added new OpenBLAS methods:

    Matrix Reductions

    • ReduceToHessenberg — reduces a real or complex general n-by-n matrix A to upper Hessenberg form B by an orthogonal similarity transformation: Q**T * A * Q = H. LAPACK function GEHRD.
    • ReflectHessenbergToQ — generates orthogonal matrix Q which is defined as the product of n-1 elementary reflectors of order n, as returned by ReduceToHessenberg: Q = H(1) H(2) . . . H(n-1). LAPACK function ORGHR.

    Eigenvalues and Eigenvectors

    • EigenHessenbergSchurQ — computes the eigenvalues of a Hessenberg matrix H and the matrices T and Z from the Schur decomposition H = Z T Z**T, where T is an upper quasi-triangular matrix (the Schur form), and Z is the orthogonal matrix of Schur vectors. LAPACK function HSEQR.

    Linear Equations

    • SylvesterEquationTriangular — solves Sylvester equation for real quasi-triangular or complex triangular matrices: op(A)*X + X*op(B) = scale*C or op(A)*X - X*op(B) = scale*C where op(A) = A or A**T or A**H, and A and B are both upper triangular. LAPACK function TRSYL.
    • SylvesterEquationTriangularBlocked — solves Sylvester equation for real quasi-triangular or complex triangular matrices: op(A)*X + X*op(B) = scale*C or op(A)*X - X*op(B) = scale*C where op(A) = A or A**T or A**H, and A and B are both upper triangular. LAPACK function TRSYL3. This is the block (BLAS level 3) version of TRSYL. Faster up to 5 times but not so accurate.

    Factored Calculations

    • SylvesterEquationSchur — solves Sylvester equation for real quasi-triangular or complex triangular matrices: A*X + X*B = C where A and B are both upper triangular. A is m-by-m and B is n-by-n; the right hand side C and the solution X are m-by-n. LAPACK function TRSYL.
    • SylvesterEquationSchurBlocked — solves Sylvester equation for real quasi-triangular or complex triangular matrices: A*X + X*B = C where A and B are both upper triangular. A is m-by-m and B is n-by-n; the right hand side C and the solution X are m-by-n. LAPACK function TRSYL3. This is the block (BLAS level 3) version of TRSYL. Faster up to 5 times but not so accurate.

    Matrix Norm Calculations

    • MatrixNorm — returns the value of the 1-norm, infinity-norm, Frobenius norm, or the largest absolute value of any element of a general rectangular matrix. LAPACK function LANGE.
    • MatrixNormGeTrid — returns the value of the 1-norm, infinity-norm, Frobenius norm, or the largest absolute value of any element of a general tridiagonal matrix. LAPACK function LANGT.
    • MatrixNormHessenberg — returns the value of the 1-norm, infinity-norm, Frobenius norm, or the largest absolute value of any element of an upper Hessenberg matrix. LAPACK function LANHS.
    • MatrixNormSy — returns the value of the 1-norm, infinity-norm, Frobenius norm, or the largest absolute value of any element of a real symmetric or complex Hermitian matrix. LAPACK functions LANSY, LANHE.
    • MatrixNormComplexSy — returns the value of the 1-norm, infinity-norm, Frobenius norm, or the largest absolute value of any element of a complex symmetric (not Hermitian) matrix. LAPACK function LANSY.
    • MatrixNormSyTrid — returns the value of the 1-norm, infinity-norm, Frobenius norm, or the largest absolute value of any element of a real symmetric or complex Hermitian tridiagonal matrix. LAPACK functions LANST, LANHT.
    • MatrixNormTriangular — returns the value of the 1-norm, infinity-norm, Frobenius norm, or the largest absolute value of any element of a trapezoidal m-by-n or triangular matrix. LAPACK function LANTR.

    Matrix Classification

    • IsSymmetric — checks if a square matrix is symmetric.
    • IsHermitian — checks if a square complex matrix is Hermitian.
    • IsUpperTriangular — checks if a square matrix is upper triangular.
    • IsLowerTriangular — checks if a square matrix is lower triangular.
    • IsTrapezoidal — checks if a rectangular (not square) m-by-n matrix is upper or lower trapezoidal.
    • IsUpperHessenberg — checks if a square matrix is upper Hessenberg matrix.
    • IsLowerHessenberg — checks if a square matrix is lower Hessenberg matrix.
    • IsTridiagonal — checks if a square matrix is tridiagonal.
    • IsUpperBidiagonal — checks if a square matrix is upper bidiagonal.
    • IsLowerBidiagonal — checks if a square matrix is lower bidiagonal.
    • IsDiagonal — checks if a square matrix is diagonal.
    • IsScalar — checks if a square matrix is scalar matrix.

  2. Added the Conjugate method for complex matrices and vectors. This method changes the sign of the imaginary part of a complex number and returns the modified matrix or vector.
  3. Strengthened method hiding rules. When a derived class contains a method with the same name as one in the base class, the derived class version is now called by default. To explicitly call the base class method, a qualifier is now required:
    struct A
      {
       int y;
      
       string func(double x)
         {
          return(__FUNCSIG__);
         }
      };
      
    struct B : public A
      {
       string func(int x)   // the method hides A::func
         {
          return(__FUNCSIG__);
         }
      };
      
    void OnStart(void)
      {
       B b;
       b.func(M_PI);          // according to new rules, it is a call to B::func
       b.A::func(M_PI);       // call the hidden method A::func
      }
    This change simplifies code readability and eliminates ambiguity that was previously only accompanied by a compiler warning.

    Previously, compilation would issue a warning:
    deprecated behavior, hidden method calling will be disabled in a future MQL compiler version
    This change has now taken effect.

    For a number of builds, a warning will still appear in the log if a more suitable hidden method is available based on the parameters:
    call resolves to 'string B::func(int)' instead of 'string A::func(double)' due to new rules of method hiding
       see declaration of function 'B::func'
       see declaration of function 'A::func'
    truncation of constant value from 'double(3.141592653589793)' to 'int(3)'
  4. Duplicate names within the same scope are now prohibited. For example, it was previously possible to declare an input parameter and a function with the same name within a single file. Such duplication is no longer allowed:
    input int somename=42;
    
    int somename(int x)
      {
       return(42);
      }
  5. Added strict type checking for default values in enumerations. For function parameters accepting an enum, not only the value but also the exact type must now match:
    int somename(ENUM_TIMEFRAMES TF=PERIOD_CURRENT);
    
    int somename(ENUM_TIMEFRAMES TF=0)   // error, type mismatch for the default parameter value, despite having the same value
      {
       return(42);
      }
  6. Identical identifiers are now prohibited across different enumerations. An identifier declared in one enumeration can no longer be reused in another within the same scope:
    enum A
      {
       Value
      };
      
    enum B
      {
       Value  // error, name 'Value' is already used in enumeration A
      };
      
    void OnStart(void)
      {
       enum C
         {
          Value // OK, 'Value' is not used within the OnStart scope
         };
      }
    Matching names can be used in different scopes.

  7. Introduced stricter requirements for template initializer functions. When creating matrices/vectors using initializer functions, the following features are now disabled:

    • Automatic type deduction in template functions
    • Default parameter values

    All template parameters and arguments must now be specified explicitly: 
    template<typename T>
    void Initializer(matrix<T>& mat,int method=0);
    
    matrix<double> A(10,10,Initializer,42);          // error, Initializer must be explicitly typed
    matrix<double> A(10,10,Initializer<double>);     // error, missing 'method' parameter (default values no longer supported)
    matrix<double> A(10,10,Initializer<double>,42);  // OK
  8. Improved ONNX support. Added implicit conversion of signed types when passing ulong arrays to functions, simplifying MQL5 integration with ONNX models.
    OnnxSetInputShape( … , ulong_array );
    OnnxSetOutputShape( … , ulong_array );
  9. Fixed display of types in compiler warnings related to implicit string conversions.
  10. Updated Python integration package. To install the update, run the command:
    pip install --upgrade MetaTrader5

MetaEditor

  1. Fixed the "Revert to Revision" command used with MQL5 Storage. Conflict evaluation between versions that may occur during a revert operation is now performed before the operation begins. If reverting is not possible, the operation is canceled.
  2. Updated user interface translations.

Tester

  1. Tester: Fixed the OrderCalcMargin function for accounts with the Exchange calculation mode.
  2. Tester: Fixed switching between charts during visual testing of multicurrency Expert Advisors.
  3. Updated user interface translations.

Web Terminal

  1. Fixed email verification during demo and preliminary account registration. In some cases, the input field for the confirmation code was not displayed.
  2. Fixed account connection issues when using the browser on Huawei devices.
  3. Fixed connection to accounts when using one-time passwords. In some cases, the input field for the OTP was missing on the first login attempt.

27 6月 2025

New MetaTrader 5 for iPhone/iPad: Trading report and additional indicators

The latest versions of the MetaTrader 5 mobile app for iOS introduce a range of new features designed to help traders stay abreast of financial markets wherever they are.

  1. Added the report representing trading results in a convenient visual format. It assists in evaluating trading performance, optimizing portfolios and finding methods to achieve lower risks along with improved trading stability. To analyze your strategy, go to the history section and tap the period selection icon. Next, select the period and tap "Create a trade report".


    New trading report


    The report is divided into tabs, each providing aggregated information:

    • Summary — an overview of trading over time: overall profit and loss metrics, deposit and withdrawal amounts, balance, growth and dividends graphs, and other trading results.
    • Profit/Loss — data on profitable and losing trades. The parameter is divided by types of trading (manual, algorithmic and copying trades). The results can be analyzed in terms of trades or money by months and years.
    • Long/Short — dynamic ratio of purchases and sales at specified periods of time, as well as Buy and Sell profitability.
    • Symbols — analysis of trades by financial instruments. Here you will see which symbols you earn or lose on, how often you trade them, graphs of trades and monetary volumes for them.
    • Risks — key risk characteristics of your strategy: drawdown and deposit load graphs, and the ratio of profitable and losing trades.

  2. Added ZigZag and Market Profile indicators, as well as a new chart type — Heikin Ashi. These tools will enhance market analysis and trend identification.

    To add new indicators, open the chart menu, tap Main window and select them from the list. ZigZag is found under trend indicators, while Market Profile belongs to volume indicators.


    Market Profile and ZigZag indicators


    To view the Heikin Ashi chart, tap on the chart and access the settings.


    Heikin Ashi chart


  3. Added deal info to the Data Window. When hovering the crosshair over a bar containing deals, the Data Window will show general info about the transaction: direction, ticket, volume, price and financial result, along with prices and indicator values.


    Enhanced data window


  4. Added the quick mode for displaying the Data Window on a chart. Tap and hold the main chart for over a second to enable the crosshair mode together with the Data Window. As soon as you release your finger, the chart returns to normal mode. This allows for quick view of the exact values of bars, indicators and deals without switching to crosshair mode via the top panel.
  5. Added a separate command for resizing and reordering additional indicator windows. The same action can be performed by long pressing the indicator subwindow on the chart. Also, improved the subwindow editing mode itself with additional icons for clarity.


    New command for resizing and reordering indicator subwindows


  6. Optimized trading history display on the chart. The application can now display thousands of deals without significant performance degradation.

Install the latest app version and unlock extended trading capabilities:



12 6月 2025

MetaTrader 5 Platform update build 5120: Improvements and fixes

Terminal

  1. Fixed graphical interface display issues when running on Linux and macOS.
  2. Improved the platform update mechanism. The MQL5 Standard Library will no longer be entirely overwritten during updates – only the files that have actually changed will be replaced.
  3. Added automatic reset of full-screen view mode on application restart. The full interface will now be displayed at each launch.

MQL5

  1. Enabled passing of arrays with signed/unsigned typecasting in the following functions:

    • ArraySwap
    • WebRequest
    • CryptEncode
    • CryptDecode
    • StringToCharArray
    • CharArrayToString
    • StringToShortArray
    • ShortArrayToString
    • StructToCharArray
    • CharArrayToStruct

  2. Fixed retrieval of key states for MQL programs on the active chart using the TerminalInfoInteger function.
  3. Fixed ArrayInitialize function operation for enum arrays.

MetaEditor

  1. Updated available models for AI Assistant. All GPT-4.1 and 04-mini models are now supported.
  2. Enabled strict file status verification in MQL5 Storage. File hashes are now checked to prevent false indications. Previously, files without actual local changes compared to the repository version could be incorrectly marked with a red icon.
  3. Updated translations of the user interface.

6 6月 2025

New MetaTrader 5 Platform Build 5100: Transition to Git and MQL5 Algo Forge developer hub, dark theme and interface improvements

MetaQuotes Language Editor

  • We have completely revised MQL5 Storage, replacing Subversion with Git as the version control system. Git is the global standard for developers, offering enhanced reliability and flexibility in code management.

    • Flexible branching and merging – create separate branches for new features or experiments and easily merge them into the main project version.
    • Faster repository operations – unlike Subversion, Git stores all data locally, making commits, version switching, and change comparisons significantly faster.
    • Offline work capability – no need for a constant server connection: commit changes locally and push them to an online repository whenever convenient.
    • Advanced change tracking – easily review version history, track modifications with timestamps and authors, and revert to previous versions without complications.
    • Superior merge functionality – advanced comparison and merge tools help minimize conflicts and streamline collaborative development.

    A new level of collaborative development
    With the transition to Git, we are introducing MQL5 Algo Forge, a new online portal for project management. More than just a project list, it is a full-fledged social network for developers – essentially, GitHub for algorithmic traders. Follow interesting developers, create teams, and collaborate on projects effortlessly.


    New online portal for project management MQL5 Algo Forge


    View project details: structure, files, commits, branches, and more. Track individual contributions, create documentation, and share projects online.


    Project details


    Monitor all code changes: detect new, modified, and deleted lines. If issues arise, assign tasks to developers directly within the project.


    Track all changes in your code


    To enhance Git usability, we have redesigned the Navigator and the active code editing window. We have also introduced a dedicated Git menu on the MetaEditor toolbar:


    New Git menus


    Comprehensive Git documentation will be available soon.

Terminal

  1. Added support for a dark color scheme for all components, including the trading terminal, MetaEditor, and the visual tester. The dark theme offers a more comfortable development experience at night. Use the View menu to switch:


    Datk theme support added


    While adapting the interface to support different themes, we have introduced numerous improvements to the display of dialogs, menus, panels, and buttons for a more comfortable user experience. In MetaEditor, cursor position information and the text input mode indicator (INS/OVR) are now displayed in the upper-right corner. The bottom status bar has been removed to save the workspace.

  2. Added 12-month VPS rental option. By purchasing long-term hosting upfront, you save one-third of the total cost.


    Added 12-month VPS rental option


  3. Optimized memory usage. The terminal now consumes fewer system resources, resulting in improved performance.
  4. Optimized display of account trading history. The platform can now display millions of records correctly.
  5. Added "Reset to default" command to the Window menu. It resets all interface elements, including charts, Navigator, Strategy Tester, and others, to their original positions.
  6. Fixed error causing position modification dialog to freeze under certain conditions.
  7. Fixed value calculation for open positions with negative prices.
  8. Fixed margin rate calculations in trading symbol specifications with negative prices.
  9. Fixed calculation of current MFE and MAE values and display of their graphs in trading reports.
  10. Fixed scaling of oscillators in chart subwindows. The vertical scale for oscillators is now displayed correctly.
  11. Fixed visibility of order books and option boards when switching the full-screen mode.
  12. Added position ticket display in account trading history. Use the context menu to enable the relevant column.
  13. Fixed liquidation value calculation on the Exposure tab for futures and options.
  14. Fixed issue with copying newly created account data to the clipboard. During the final step of demo or preliminary account registration, the user is provided with account details: login, passwords, etc. These can be copied to the clipboard to save in a separate file. The corresponding command now functions correctly on macOS.
  15. Fixed display of the VPS log section. The page could display an error under certain conditions.
  16. Fixed HiDPI monitor support on Linux.
  17. Updated translations of the user interface.

MQL5

  1. Added matrix multiplication operator @. It follows linear algebra rules and allows the multiplication of matrices and vectors, as well as scalar (dot) products of vectors.

    Matrix multiplication (matrix × matrix)
    matrix A(2, 3);
    matrix B(3, 2);
    matrix C = A @ B; // Result: Matrix C of size [2,2]
    Matrix multiplication (matrix × vector)
    matrix M(2, 3);
    vector V(3);
    vector R = M @ V; // Result: Vector R of 2 elements
    Matrix multiplication (vector x matrix)
    matrix M(2, 3);
    vector V(1, 2);
    vector R = V @ M; // Result: Vector R of 3 elements
    Scalar multiplication (vector × vector)
    vector V1(1, 3), V2(1, 3);
    double r = V1 @ V2; // Result: Scalar
  2. Added 'ddof' parameter in methods Std, Var, and Cov. This parameter defines the number of degrees of freedom subtracted from the denominator when calculating the standard deviation. For Std and Var, the default parameter is 0, for Cov it is 1.

    How ddof affects calculation:

    • By default, ddof=0, meaning the population standard deviation is calculated.
    • If ddof=1, the function computes the sample standard deviation, which adjusts for finite sample sizes, commonly used in statistics when analyzing a subset of data.

  3. Added new OpenBLAS methods:

    Eigenvalues and Eigenvectors

    • EigenTridiagonalDC – computes eigenvalues and eigenvectors of a symmetric tridiagonal matrix using the divide-and-conquer algorithm (LAPACK function STEVD).
    • EigenTridiagonalQR – computes eigenvalues and eigenvectors of a symmetric tridiagonal matrix using the QR algorithm (LAPACK function STEV).
    • EigenTridiagonalRobust – computes eigenvalues and eigenvectors of a symmetric tridiagonal matrix using the MRRR (Multiple Relatively Robust Representations) algorithm (LAPACK function STEVR).
    • EigenTridiagonalBisect – computes eigenvalues and eigenvectors of a symmetric tridiagonal matrix using the bisection algorithm (LAPACK function STEVX).
    • ReduceToBidiagonal – reduces a general real or complex m-by-n matrix A to upper or lower bidiagonal form B by an orthogonal transformation: Q**T * A * P = B. If m≥n, B is an upper bidiagonal matrix; otherwise, B is lower bidiagonal. (LAPACK function GEBRD).
    • ReflectBidiagonalToQP – generates orthogonal matrices Q and P**T (or P**H for complex types) determined by ReduceToBidiagonal method when reducing a real or complex matrix A to bidiagonal form: A = Q * B * P**T. Q and P**T are defined as products of elementary reflectors H(i) or G(i) respectively. (LAPACK functions ORGBR, UNGBR).
    • ReduceSymmetricToTridiagonal – reduces a real symmetric or complex Hermitian matrix A to tridiagonal form B by an orthogonal similarity transformation: Q**T * A * Q = B. (LAPACK functions SYTRD, HETRD).
    • ReflectTridiagonalToQ – generates orthogonal matrix Q  which is defined as the product of n-1 elementary reflectors of order n, as returned by ReduceSymmetricToTridiagonal.

    • LinearEquationsSolution – computes the solution to the system of linear equations with a square coefficient matrix A and multiple right-hand sides.
    • LinearEquationsSolutionTriangular – computes the solution to the system of linear equations with a square triangular coefficient matrix A and multiple right-hand sides.
    • LinearEquationsSolutionSy – computes the solution to the system of linear equations with a symmetric or Hermitian conjugated matrix A and multiple right-hand sides.
    • LinearEquationsSolutionComplexSy – computes the solution to the system of linear equations with a complex symmetric matrix A and multiple right-hand sides.
    • LinearEquationsSolutionGeTrid – computes the solution to the system of linear equations with a symmetric or Hermitian conjugated positive-definite matrix A and multiple right-hand sides.
    • LinearEquationsSolutionSyPD – computes the solution to the system of linear equations with a general (nonsymmetric) tridiagonal coefficient matrix A and multiple right-hand sides.
    • LinearEquationsSolutionSyTridPD – computes the solution to the system of linear equations with a symmetric tridiagonal positive-definite coefficient matrix A and multiple right-hand sides.
    • FactorizationQR – computes the QR factorization of a general m-by-n matrix: A = Q * R (LAPACK function GEQRF).
    • FactorizationQRNonNeg – computes the QR factorization of a general m-by-n matrix: A = Q * R, where R is an upper triangular matrix with nonnegative diagonal entries (LAPACK function GEQRFP).
    • FactorizationQRPivot – computes the QR factorization of a general m-by-n matrix with column pivoting: A * P = Q * R (LAPACK function GEQP3).
    • FactorizationLQ – computes the LQ factorization of a general m-by-n matrix: A = L * Q (LAPACK function GELQF).
    • FactorizationQL – computes the QL factorization of a general m-by-n matrix: A = Q * L (LAPACK function GEQLF).
    • FactorizationRQ – computes the RQ factorization of a general m-by-n matrix: A = R * Q (LAPACK function GERQF).
    • FactorizationPLU – computes an LU factorization of a general M-by-N matrix A using partial pivoting with row interchanges (LAPACK function GETRF).
    • FactorizationPLUGeTrid – computes an LU factorization of a general (non-symmetric) tridiagonal N-by-N matrix A using elimination with partial pivoting and row interchanges (LAPACK function GTTRF).
    • FactorizationLDL – computes the factorization of a real symmetric or complex Hermitian matrix A using the Bunch-Kaufman diagonal pivoting method (LAPACK functions SYTRF and HETRF).
    • FactorizationLDLSyTridPD – computes the factorization of a symmetric positive-definite or, for complex data, Hermitian positive-definite tridiagonal matrix A (LAPACK function PTTRF).
    • FactorizationCholesky – computes the factorization of a real symmetric or complex Hermitian positive-definite matrix A (LAPACK function POTRF).
    • FactorizationCholeskySyPS – computes the Cholesky factorization with complete pivoting of a real symmetric (complex Hermitian) positive semidefinite n-by-n matrix (LAPACK function PSTRF).

  4. Added Random function and method for filling vectors and matrices with random values. Random values are generated uniformly within the specified range.
    static vector vector::Random(
      const ulong   size,       // vector length
      const double  min=0.0,    // min value
      const double  max=1.0     // max value
       );
    
    static matrix matrix::Random(
      const ulong   rows,       // number of rows
      const ulong   cols        // number of columns
      const float   min=0.0,    // min value
      const float   max=1.0     // max value
       );
  5. Added support for additional aliases for integer types. This will simplify code porting from other languages such as C and C++.

    These aliases do not introduce new types but provide alternative names for existing types in MQL5. They can be used in all contexts where the base types are applicable.

    • int8_t
    • uint8_t
    • int16_t
    • uint16_t
    • int32_t
    • uint32_t
    • int64_t
    • uint64_t

  6. Added new functions for detecting the terminal color scheme:


    To detect a color scheme change, use the OnChartEvent handler. When the theme changes, the CHARTEVENT_CHART_CHANGE event is triggered twice.

  7. Fixed a bug that caused MetaEditor to crash when compiling code containing the Array::Reserve method. The 'Reserve' method does not change the array size, but reserves space for the specified number of elements to prevent memory reallocation when adding new elements.
  8. Fixed the behavior of the Array::Push method, which adds new elements to the end of an array. The issue occurred in arrays with preallocated buffer space.
  9. Resolved issues in functions for working with OpenCL.

MetaTester

  1. Accelerated the optimization of trading strategies.
  2. Fixed a bug that, in certain cases, led to excessive memory usage by tester agents when executing tasks from the MQL5 Cloud Network.

Web Terminal

  1. Fixed the password-saving option in the account connection dialog.
  2. Fixed chart movement buttons. In some cases, using these buttons caused the chart to disappear.
  3. Corrected validation for the "Middle Name" field in the real account registration form. It is now optional.
  4. Fixed opening of demo accounts. In certain cases, users were incorrectly redirected to the broker's website.
  5. Fixed the visibility of buttons for opening demo and real accounts. These buttons are now hidden if the respective function is disabled by the broker.
  6. Fixed the "Deposit" field behavior in the demo account opening form.
  7. Fixed the display of the "Trading" field in the contract specification.
  8. Fixed the symbol search field in the "Market Watch" window. The "X" button now correctly appears for exiting search mode.
  9. Fixed the display of a tooltip for the email confirmation code field in the account opening form.


The update will be available through the Live Update system.

21 2月 2025

MetaTrader 4 build 1440 MetaTrader 4 build 1440 includes important security improvements, error fixes, and platform stability enhancements.
12345