Please use the CODE button (Alt-S) when inserting code.
You can't! At least, not directly. That is reserved for the MQL5 language.
The Python API is for running Python scripts externally and using MetaTrader 5 as a service to supply the data and to relay trading instructions.
The API does not expose any other functionality and you cannot interact with its user interface in any direct way.
For more direct interaction, you should use MQL5 which offers more functionality. It is a compiled language, similar in syntax, logic and speed as C/C++.
Please do not think I am arguing, I am not, i sincerely appreciate your time, I am just trying to understand. So even if we select Python Script from the MQL Wizard File, MetaTrader 5 is just giving us another option for an IDE? And then I create a MQL5 file that pulls the data from the VPS/Local machine for the LTSM models? And by doing it this way, I can have my models plot the projections? Am I correct in my thinking or way off base here?
I was not arguing either! There was no emotion in my post. It was just a detailed reply to your question.
Yes! It is somewhat misleading in my opinion because it leads novices to believe that Python somehow interacts with MetaTrader directly.
Sorry, but I am unable to offer an adequate answer, because I have no ideia about your specific project requirements.
I was not arguing either! There was no emotion in my post. It was just a detailed reply to your question.
Yes! It is somewhat misleading in my opinion because it leads novices to believe that Python somehow interacts with MetaTrader directly.
Sorry, but I am unable to offer an adequate answer, because I have no ideia about your specific project requirements.
My apologies, I wasn't suggesting you were being argumentative, I was making sure that my reply didn't sound like being argumentative to your advice.
LOL It is very misleading, I was like wow I can plot directly from Python this is a game changer!!!!!
I am going to do more research on your guidance, so I know how to implement my strategies correctly.
I wanted to thank you for all your help today, quick responses, and professionalism.
I look forward to many more conversations my friend, take care.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
I am brand new to MT5, and the Python intergration is what really appeals to me.
I went to File--> New and selected Python Script.
then went to Matplotlib. and wrote a basic script
Any guidance or documentation links would be appreciated