- Indicator from Websocket
- Errors, bugs, questions
- Coding help
Your query is unclear!
If you wish to import web data from other sources and present it as an MetaTrader Indicator, then yes, you can use the WebRequest function to do it, and there are examples of that in the CodeBase and Articles.
However, you cannot use the function from within the Indicator itself. You would have to build the data in parallel via a Service or Expert Advisor program and then have the Indicator access that collected data.
If however you want to export from MetaTrader Indicator data to an outside webservice, then that would also be possible, also using WebRequest function, but again via a separate MetaTrader program (Service, Expert Advisor, Script) and not from within the Indicator.
Also, there is no external API or socket access to MetaTrader except for the Python integration API, but that does not have access to Indicator data.

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use