Metatrader integrations?

Does metatrader have the ability to be integrated with other cloud based software platforms? Maybe via webhooks?

I am interested in
1.) taking data out of Metatrader and sending it to another application.
2.) sending information from the outside to Metatrader, so it can utilize outside signals for trades.

Are either of these possibilities?