Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Telegram !
Rejoignez notre page de fans
Rejoignez notre page de fans
Vous avez aimé le script ? Essayez-le dans le terminal MetaTrader 5
- Vues:
- 2534
- Note:
- Publié:
- 2023.03.24 15:36
-
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance
Create model from mnist.onnx with debug logs ONNX: Creating and using per session threadpools since use_per_session_threads_ is true ONNX: Dynamic block base set to 0 ONNX: Initializing session. ONNX: Adding default CPU execution provider. ONNX: Removing initializer 'Parameter6'. It is no longer used by any node. ONNX: Removing initializer 'Parameter88'. It is no longer used by any node. ONNX: Total shared scalar initializer count: 0 ONNX: Removing initializer 'Parameter193_reshape1_shape'. It is no longer used by any node. ONNX: Removing initializer 'Parameter193'. It is no longer used by any node. ONNX: Total fused reshape node count: 0 ONNX: Total shared scalar initializer count: 0 ONNX: Total fused reshape node count: 0 ONNX: Removing initializer 'Parameter5'. It is no longer used by any node. ONNX: Removing initializer 'Parameter87'. It is no longer used by any node. ONNX: Use DeviceBasedPartition as default ONNX: Saving initialized tensors. ONNX: Done saving initialized tensors ONNX: Session successfully initialized. model has 1 input(s) 0 input name is Input3 type ONNX_TYPE_TENSOR data type ONNX_DATA_TYPE_FLOAT shape [1, 1, 28, 28] shape of input data can be reduced to [28, 28] model has 1 output(s) 0 output name is Plus214_Output_0 type ONNX_TYPE_TENSOR data type ONNX_DATA_TYPE_FLOAT shape [1, 10] shape of output data can be reduced to [10]
![EA Frame](https://c.mql5.com/i/code/expert.png)
Official example involve complex wrapper classes, Here is a simple one
![Refresh All Open Charts](https://c.mql5.com/i/code/script.png)
This Script will Refresh All Open Charts in MT5, Usually custom symbols in MT5 needs to be Refresh sometime so this script will help to refresh all open chart at once. We can also use this Script anywhere where we need to refresh all open charts.
![Information about the ONNX model's inputs and outputs](https://c.mql5.com/i/code/script.png)
The script obtains information about the number, types and sizes of input and output tensors in an ONNX model
![Time Left To New Bar Watch](https://c.mql5.com/i/code/script.png)
Time Left To New Bar Watch