supertrade:
MT4 obviously reads the extern variables and opens up the window to set their values..but how?
I dont suppose anyone would let me borrow the MT4 source code? :)
I am trying to develop a GUI for setting the EA inputs. I would like to bypass whatever logic occurs when 'expert properties' is clicked and instead have my GUI set the inputs.. then when I click OK in the GUI, it will set them just as expert properties would so metatrader wouldnt know there was a difference.
- Most likely it just reads the compiler's bytecodes
- Got a few million, they might.
- GUI creates a file, EA reads the file. Something like I posted here
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
Does anyone know how metatrader interfaces with an EA? I do not have a strong background in windows API but I do have concept of how it works. Im particularly interested in what happens when you click 'Expert Properties' in the tester... MT4 obviously reads the extern variables and opens up the window to set their values..but how?
I am trying to develop a GUI for setting the EA inputs. I would like to bypass whatever logic occurs when 'expert properties' is clicked and instead have my GUI set the inputs.. then when I click OK in the GUI, it will set them just as expert properties would so metatrader wouldnt know there was a difference.
I have written a program that executes whenever I click 'Expert properties'. At present this program just opens a blank window instead of the EA properties window. I do not know how to 'set' the external variables of the EA from outside metatrader.
I dont suppose anyone would let me borrow the MT4 source code? :)