What is the use of calling the MT4 commands externally?
2 Answers
<p id="isPasted">To my knowledge this is not possible in a direct way, only indirect via pipes or shared memory or other means of communication between an external process and a script or expert on the side of mt4 - that is using windows api (I am currently using such techniques). You can also import a dll (also for example Java) to do the communication to the outside of mt4.</p><p>Or you are able to analyze mt4's internals via debugger and inject code or use utilities like spy++. Former would violate license terms, however.</p>
2 Views
<p id="isPasted">Calling MT4 commands externally allows traders to automate repetitive tasks, such as trade execution, order management, and calculations, which reduces manual effort and time. It enables the creation of custom scripts and Expert Advisors (EAs) that can manage trades, perform complex analysis, and run on a continuous basis for algorithmic trading. </p><p><br></p>