Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 716 Bytes

README.md

File metadata and controls

29 lines (21 loc) · 716 Bytes

MQL4-Slack

Module for posting from MT4 to Slack
slack sample

Requirement

Install

  1. Download Slack.mqh
  2. Save the file to /MQL4/Include/mql4_modules/Slack/Slack.mqh

Usage

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.