Module for posting from MT4 to Slack
- Download Slack.mqh
- Save the file to /MQL4/Include/mql4_modules/Slack/Slack.mqh
Prepare the Slack API key in advance.
Include Slack.mqh.
Register API key with setAPIKey method.
Slack::setAPIKey("your API key");
Post with the send method.
Slack::send("text", "channel name");
The channel name can be omitted. If omitted, it becomes general channel.