You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
i'm trying to use an ONNX file in my expert.
my onnx file has 49 inputs at input index 0,
has 3 outputs at output index 0,
and 1 output at output index 1.
when i try to run session
i got error as below:
2023.05.07 04:35:20.074 Core 1 2021.01.27 00:00:00 ONNX: invalid parameter size, expected 196 bytes instead of 392, inspect code 'Experts\ONNX_TEST_01.mq5' (81:65)
i actually only need the output on output index 0. in phyton i could assign unused variable to some random char and just leave it be as phyton will automatically decide the type.
but i don't think that would work on MQL5. as also had tried to assign the output index 1 to some double variable and it just don't work.
could you pointing me out where did i miss?
thanks.
onnx model and mq5 file are attached