MQL5 function for connecting to Discord

 

Hi everyone,

Does MQL5 has a functionality to send messages via Webhooks as in TradingView? This could allow any type of MQL5 information to be send to many different outlets (e.g. Discord).

I have found several pay apps, but this strikes me as a basic functionality, plus I would like to see the code, given the sensitive nature of the operation.

For instance, is there a stand-alone MQL5 function (Class) that takes as

Variables:

1) a webhook or channel, and

2) a Message string

and as a Function:

1) sends the Message to the channel.

Not necessarily an ea, but a class function, so it can be used in a single line of code by any  EAs.

 

Please research MQL5 Network functionality — Documentation on MQL5: Network Functions (for example, WebRequest) .

Also, please learn to use the "Search" function before you post — https://www.mql5.com/en/search#!keyword=discord

It is very easy: type something (what you need) in the search area (top right corner of the page) and search.



Documentation on MQL5: Network Functions
Documentation on MQL5: Network Functions
  • www.mql5.com
Network Functions - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5