[Zero Basics] One statement in MT4/MT5 allows EA to send WeChat message push

提示:原创文章,转载请注明本地址

A few years ago, I wrote an article about MT4/MT5 pushing WeChat message alarms. Recently, I implemented a simpler method. It only takes two steps to let your EA send WeChat reminder messages. I would like to share it with you here.
(The push method uses the "Xia Tui Sha" public account. Here is the official website https://xtuis.cn/. I would also like to express my gratitude to the author of the public account.
It is a very useful push tool and supports multiple languages. , I just wrote it briefly and then it can be used to send messages in EA.)

The following two steps:

  1. Search the official account of Xiatui on WeChat , and then follow the official account. After following, you will automatically receive a string of token characters belonging to you, copy this string of codes;
  2. Set in the MT4 menu, Tools-Options-EA Trading-check Allow WebRequest to be used for the listed URLs: click Add New URL and fill in the URL http://wx.xtuis.cn
    add address

Then paste the token characters you copied into EA, and you can use EA to send WeChat push messages in one sentence. Use the SendMessage("Message Title", "Message Content") function to send a message.

Insert image description here

Okay, it's very simple. Currently, this sample EA can only send messages in English, and Chinese characters will be garbled.
Recently I have been busy with the FinalTrader project, an mt4 that can trade domestic futures. I don’t have time to write more. If you are interested, you can modify it yourself.
Changing the SendMessage function will allow you to send Chinese.
Also:
This official account has a limit on the number of pushes.
The daily push limit is 500 and
the push limit is 10 per minute.
But it is basically enough. What is the free one?
If you have more needs, you can contact me. The method in my previous article has a stronger push function and can be pushed to the WeChat group. But it’s not free

Click here to download the EA source code, or send me a private message to get
the EA source code

Guess you like

Origin blog.csdn.net/flash_temp/article/details/126828246