Retired electronic technician with an emphasis in equipment maintenance. Intermediate level MQ4 coding. Switching to MQ5. Hablo espanol, mas o menos. Disc Golf.
I don't know weather this is a problem or not. I just don't have enough experience working with class functions to know. For example CPositionInfo sets Magic as a long. class CPositionInfo : public CObject { protected :
Is there a proper order in which Include files should be loaded? Some special order to prevent conflicts? Why do I ask? I thought something I was reading mentioned it momentarily. I cannot re-locate the reference, but it left a concern in my mind
Deep dive today into MQL5 magic number generation. This is my forum thread at FF for all things MQL5 Multi-currency hedge related. I couldn't find a coding buddy here, so I went over there. https://www.forexfactory.com/thread/post/14869988#post14869988
I can only find information for up to build 4260. Could you please direct where to look? It looks like I am running 4300. //--- Get the number of a build where the program is compiled Print ( __FUNCTION__ , " Build #" , __MQLBUILD__ );
I started coding the EA in MQL4 but decided it was time to switch to MQL5. I want to write an EA which will take trades off support and resistance levels , but will also use protective hedges to guard against loss in case the trade doesn't go the
I learned to code MT4 from Jim Dandy. As I migrate to MQ5, I am reviewing some of his past work on YT. Implementing what I learned here on HistoryOrdersTotal, and HistoryDealGetTicket. https://youtu.be/pPcjKLNZL88?si=JCleJ6cK8L5Qgifp