Noki0100 / Publications
Forum
MQL5 and working with Open Trades
Hi All, I have been reading everything I can on MQL5 and how Trades are managed compared to MQL4 and have found that it's not a trivial thing to port from one to the other. In this link it states that 'For each account, for every financial instrument, there can be only one position. For each symbol
MQL5 Syntax question?
Hi All, I have a small issue that's puzzling me. When I compile I get a warning about this line being 'implicit enum conversion' ENUM_ORDER_TYPE cur_type = OrderGetInteger ( ORDER_TYPE ); to fix it I have done this: ENUM_ORDER_TYPE cur_type = ( ENUM_ORDER_TYPE ) OrderGetInteger ( ORDER_TYPE ); But
Help Working with Class Objects
Hi All, first post! I wanted some help understanding Classes and Objects in MQL4. I have a question around making correct usage of them. Is it possible to declare a Global Object from a Class as you can do with normal variables? I can create them OnTick and they persist until OnDeinit where I need