DislikedHi Reamasesa, I'm not sure if you are familiar with OOP design concepts, but here is an example of something I did that was similar to what you are working on. Perhaps you can reuse this code or find some inspiration I definitely recommend learning OOP if you haven't already - because it keeps your programs clean and super easy understand and debug. This is literally how the EA looks sans class definitions. #property strict #include "ProgramClasses.mqh" input CORNER Corner = UP_RIGHT;//Corner for Placement input int Y_Distance = 30; //+------------------------------------------------------------------+...Ignored
I write simple BASH scripts using awk, I taught myself MQL4 from others' simple examples, I know what OOP stands for but it's way way up there for me.
I intuitively understood your code as I was able to decipher the words "button" and "close all" but seriously, I don't understand it or why it's been written like that.
If you have any pointers (which are not the MQL4 documentation as I've just glimpsed through them and didn't understand most of what's written there regarding OOP) I'll be more than happy to follow through.
Thanks.
*** And if you have read my words in a tone that is not frustrated and envious, read again