Visual studio, compile MQ4 file to .exe

 

Hello,


Simple question, Has anyone ever compiled a MQ4 file to .exe? the goal is to remove the EA file from all dependencies and allow it to be rapidly tested

any insight would be appreciated

 
There would be no terminal, no chart, no ticks. Can't be done.
 
whroeder1:
There would be no terminal, no chart, no ticks. Can't be done.

but but i can download the chart data as a separate file? will that not work?

 
limbeboy:

Hello,


Simple question, Has anyone ever compiled a MQ4 file to .exe? the goal is to remove the EA file from all dependencies and allow it to be rapidly tested

any insight would be appreciated

Yes,

 A long time ago I did some special tester for the customer, where for EA's, besides the compilation modes MT4Executable (ex4), MT5Executable (ex5), there was also WindowsExecutable (exe).

When EA compiling to exe, he had his own window with option tab, journal tab, graphic chart and control buttons.

 
You could build a DLL that contains the trade logic. The EA would then import the DLL and feed ticks to it, or fetch trade parameters if it decides to open a position.
Reason: