Fabrizio Failla / Publications
Forum
MQL5 - History Deals not updating
Hi, I'm having problems with the code to retrieve closed trades from the history in MQL5. I'm using this code but when I close a trade, it does not show up in the history deals. I need a function to retrieve the latest trades closed. I'm calling this function from OnTrade(). I use to program in MQL4
No results during Post HttpRequest
Hi, I don't receive results when I do a Post Http Request, instead with a Get Http Request this code works: string GetPHP( string path, string data) { string headers = "Content-Type: application/x-www-form-urlencoded" ; string Types = "" ; char acceptTypes[]; StringToCharArray (Types
Sort multiple arrays
Hi, I have three arrays: "Pair1" "Pair2" "Profit" For example Pair1{EURUSD,GBPUSD} / Pair2{AUDUSD,NZDUSD} / Profit{100,300} These values are linked, so an output could be: "Index 0: EURUSD-AUDUSD-100" "Index 1: GBPUSD-NZDUSD-300". Now I would sort a single array and then I would that other 2