Jiao Hong:
Hi I would like to ask some help how to convert the php code into mql4?
That code translates into use of MQL4's WebRequest: https://docs.mql4.com/common/webrequest
Among the irritating problems you will have to deal with is that curl will do post-encoding of values for you, whereas in MQL4 you will need to write your own code - or find some on the forum - not only to build the POSTed data but also to correctly post-encode the values.
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi I would like to ask some help how to convert the php code into mql4?