Forum

How do I get the commission value in MQL5?

Before opening a position for any instrument. The best I could find - and it was in MQL4 - was AFTER having a position open: for ( int pos = total - 1 ; pos >= 0 ; pos--) { if ( OrderSelect (pos, SELECT_BY_POS)) { posCommission = OrderCommission(); break ; } } I'd

MT4/MT5 Server "open source"?

I've seen a couple of videos of people referring to the MT4/MT5 servers being "open source. I've never heard of this before. Am I missing something all along, or has anything changed in the recent past that I'm unaware of? I never knew MT4/MT5 to be open sourced or have open source portions to it

Save Settings from Expert Advisor

I have 4 copies of an expert advisor running in 4 MT4 installations. One of them is performing frankly well above the other ones. How do I save the settings from that expert advisor instance? I can't find it in the menus. To be clear, I mean the input settings, not the chart settings or the profile