---
title: "Working with machine learning models - MetaEditor Help"
description: "The MQL5 language supports operations with ONNX (Open Neural Network Exchange) models. ONNX is an open-source format for... - Working with machine learning models - MetaEditor Help"
image: "https://www.metatrader5.com/i/logo_metatrader5.png"
url: "https://www.metatrader5.com/en/metaeditor/help/machine_learning"
---

[MetaEditor Help](https://www.metatrader5.com/en/metaeditor/help) → Working with machine learning models

# Working with machine learning models

The MQL5 language supports operations with [ONNX](https://en.wikipedia.org/wiki/Open_Neural_Network_Exchange) (Open Neural Network Exchange) models. ONNX is an open-source format for machine learning models. This format is supported by many platforms, including [Chainer](https://chainer.org/), [Caffee2](https://caffe2.ai/) and [PyTorch](https://pytorch.org/). Create an ONNX model using specialized tools, integrate it into your MQL5 application and use it to make trading decisions. Descriptions of all supported functions are available in the [MQL5 Documentation](https://www.mql5.com/ru/docs/onnx).

## View models in MetaEditor [#](#onnx)

You can view the contents of the ONNX model file (*.onnx) directly in the editor. As an example, find the project ONNX.Price.Prediction under [Toolbox \ Public Projects](https://www.metatrader5.com/en/metaeditor/help/mql5storage/projects#public) and select Join in the context menu. The project will be downloaded to your computer and will appear in the Navigator.

![Open ONNX models directly in MetaEditor](https://www.metatrader5.com/i/help/metaeditor/en/onnx_view.png)

## View models in Netron [#](#netron)

[Netron](https://github.com/lutzroeder/netron) is a specialized viewer for ML models which enables the convenient visualization of their content. It supports popular models, including ONNX, TensorFlow Lite, Caffe, Keras and ncnn, among others.

To view a model, select its file in the Navigator and click "Open in Netron". If this utility is not installed, its [GitHub page](https://github.com/lutzroeder/netron/releases) will open, from which you can download the relevant installer, according to your operating system. For example, use Netron-Setup-X.X.X.exe for Windows. If the program is installed, the model will immediately open for viewing from the Navigator.

![Visualize machine learning models with Netron](https://www.metatrader5.com/i/help/metaeditor/en/onnx_netron.png)

Supported formats:

- armnn, caffemodel, circle, ckpt, cmf, dlc, dnn, h5, har, hd5, hdf5, hn, keras, kmodel,
- lite, mar, meta, mge, mlmodel, mlnet, mlpackage, mnn, model, nb, ngf, nn, nnp,
- om, onnx, ort, paddle, param, pb, pbtxt, pdiparams, pdmodel, pdopt, pdparams, prototxt, pt, pth, ptl,
- rknn, t7, tfl, tflite, tmfile, tm, tnnproto, torchscript, uff, xmodel

## In this section

- [Launch](https://www.metatrader5.com/en/metaeditor/help/beginning/open)
- [Settings](https://www.metatrader5.com/en/metaeditor/help/beginning/settings)
- [Integration with other IDEs](https://www.metatrader5.com/en/metaeditor/help/beginning/integration_ide)
- [Main menu](https://www.metatrader5.com/en/metaeditor/help/main_menu)
- [Toolbars](https://www.metatrader5.com/en/metaeditor/help/toolbar)
- [Workspace](https://www.metatrader5.com/en/metaeditor/help/workspace)
- [Projects and MQL5 Algo Forge](https://www.metatrader5.com/en/metaeditor/help/mql5storage)
- [MQL4/MQL5 Wizard](https://www.metatrader5.com/en/metaeditor/help/mql5_wizard)
- [Developing programs](https://www.metatrader5.com/en/metaeditor/help/development)
- [Working with SQL data bases](https://www.metatrader5.com/en/metaeditor/help/database)
- Working with machine learning models
- [Example of developing a program](https://www.metatrader5.com/en/metaeditor/help/project_example)
- [MetaEditor environment folders](https://www.metatrader5.com/en/metaeditor/help/structure)
- [MQL5.community: Community of Traders](https://www.metatrader5.com/en/metaeditor/help/mql5community)
- [Built-in help](https://www.metatrader5.com/en/metaeditor/help/mql5_help)
- [Articles on the development of trading applications](https://www.metatrader5.com/en/metaeditor/help/articles)
- [Trading platform video guides](https://www.metatrader5.com/en/metaeditor/help/video_guides)

```json
{"@context": "https://schema.org", "@type": "BreadcrumbList", "itemListElement": [ {"@type": "ListItem", "position": 1, "item": {"@id": "https://www.metatrader5.com/en/metaeditor/help", "name": "MetaEditor Help"}}, {"@type": "ListItem", "position": 2, "item": {"@id": "https://www.metatrader5.com/en/metaeditor/help/machine_learning", "name": "Working with machine learning models"}} ]}
{ "@context": "https://schema.org", "@type": "FAQPage", "mainEntity": [{ "@type": "Question", "name": "MetaTrader 5: Working with machine learning models", "acceptedAnswer": { "@type": "Answer", "text": "The MQL5 language supports operations with ONNX (Open Neural Network Exchange) models. ONNX is an open-source format for machine learning models..." } }] }
```
