Help please how correctly to make login from MQL to myfxbook through WebRequest. // ......................... string headers; char post , result ; StringToCharArray ('[email protected]&password=123456', post); // Must specify string length; otherwise array has terminating null character in it int res = WebRequest ('POST', 'https://www.myfxbook.com/api/login.json', '', NULL, 10000, post, ArraySize (post), result, headers); Print ('Status code:', res, ', error:', GetLastError ()); Print ('Server response:', CharArrayToString (result)); // ..............................
Result: Status code: -1, error: 5203 Server response: send request failed 
HIGH RISK WARNING: Foreign exchange trading carries a high level of risk that may not be suitable for all investors.
Leverage creates additional risk and loss exposure. Before you decide to trade foreign exchange, carefully consider your investment objectives, experience level, and risk tolerance.
You could lose some or all of your initial investment. Do not invest money that you cannot afford to lose. Educate yourself on the risks associated with foreign exchange trading, and seek advice from an independent financial or tax advisor if you have any questions.
Any data and information is provided 'as is' solely for informational purposes, and is not intended for trading purposes or advice.
Past performance is not indicative of future results.