c Expand All C Collapse All

MoonBot and Telegram

The trading terminal has a "Share" button on the left side of the trading control panel.

How it works: a trader who finds a coin interesting for the community, presses the "Share" button, and the bot sends a short message to the common Telegram channel @MoonInt. The message contains the name of the coin, some of its parameters, the reg ID of the trader, his name and rating.

Note:
The name and login of the trader for the post in the channel is taken from the settings of the bot, Settings - Login page.
Only 1 bot on 1 computer can send signals using the "Share" button.

You can not only send signals to the @MoonInt channel, but also read messages from it. It is recommended to set the strategy to read this channel without auto-purchase, with an audible notification. You can use keywords in messages in the signal filter, for example accept only messages from users with a rating of 5.

To use the service (send coins and read @MoonInt channel bot) you need your consent to send debugging data to our server. Open page "Settings - Login" and check "I agree to send debug data to bot's server". The bot will send to our server the data needed to calculate the rating: the results (plus or minus) for each closed trade, the name of the coin, the time of opening and closing the order.

The rating is calculated on the basis of trades of other users who used the signal (i.e. opened an order based on this signal). The rating varies from 0 to 5 and is initially assigned a rating of 1. The rating calculation algorithm is not disclosed and can change following the test results without notice.

You can read more on this page of our website: https://moon-bot.com/en/72-social-trading/
To do this, you need to create for each MoonBot terminal its own telegram group, which will receive:
1) information on detects and trades
2) In such a group you can receive summary statistics on profits and losses
3) remote control of the bot via MoonBot terminal control commands via telegram (change strategy parameters, buy and sell coins, cancel buy orders, etc.)
We have a special group for the connection of reports and MoonBot management via telegram, I recommend to join and see the order of connection. Instructions on how to connect can be read in this message: https://t.me/reportmmbot/57
This service is designed to help optimize your operational reporting and may be of particular interest to those who use multiple copies of the MoonBot terminal to trade on remote servers.
@ReportMBBot
Your identification in the Telegram bot, as a user, is done automatically based on the Telegram account specified in the MoonBot (Settings - Login). For example, you have five bots running, and you want to see their individual statistics, you need to add all five bots, your actual Telegram, and in the "Your Name" field of each bot, specify its name, such as bot1, bot2, bot3 ...
For correct work it is necessary:

IN MOONBOT.
1. Check the box allowing you to send your bidding data to the server (Settings - Login).
2. In each of your bots add your real telegram login of the account from which you will connect to telegram bot (Settings - Login).
Telegram Login must be no more than 14 characters.
This can be a single Telegram for all of your bots, or several of your Telegram accounts, if necessary to break down the statistics.
3. In each of your bots add "Your name" (Latin alphabet), preferably shorter, in order to make the most comfortable display on smartphones (Settings - Login).
Need to use the individual name for each bot, ie if you have trades three bots with munshots, you can call them Shot1, Shot2, Shot3 and get statistics from the three bots.
4. After adding data you need to restart MoonBot and make at least 1 trade.

IN TELEGRAM BOT
1. Add a telegram bot, click Start, enter your time zone, activate "hourly" and / or "daily" reporting.
Expect to receive the report on a regular basis.
3. If you want to request a custom report.

Current functionality:
1. Hourly reporting by each bot + total for all bots + cumulative statistics on an accrual basis during the day.
2. Daily reports per bot + total for all bots + cumulative statistics cumulative total for a month.
3. Custom reports for a selected time interval.
4. The amount of commission spent by you (when trading on Binance).

The sooner you register in all of your bots actual Telegram and names of bots, the more extensive database for analytics will be stored on the server and the more useful for you will be the work of Telegram-bots.
Comments and suggestions are welcome.
It is also important to note that the proposed statistics are for informative purposes only and does not guarantee 100% consistency with your trading account.

You can use the "Share" button to send messages to your Telegram channel or group.

To do this, first open the chart of any coin and click the "Share" button on the right side of the main window of the MoonBot terminal to open the "Share market" settings window.

1) Tick "Don't show this screen next time (you can still open it by right-clicking on the "Share" button)".
*When this checkbox is checked, the "Share market" window will not be opened by left-clicking on the "Share" button, but the "Share" command will be executed, and the "Share market" window will now be opened by right-clicking on the "Share" button.

2) Tick the "I'd like to post signals to my own channel automatically" box.

3) Enter the bot token from the bot obtained from @BotFather.

4) Enter the channel name in the "My channel name" field:
a) if the channel is open, you must enter the channel name.
b) if the channel is closed, you need to enter its id.
To find out the id of the channel, you can write any message to your channel, which is listening to your MoonBot terminal (on the Settigs-Telegram tab), for example, the command "BTCUSDT BUY" and see this message in the log file in the folder logs\LOG_ADD_2023-XX-XX.log, it will contain the id of the channel or use the @username_to_id_bot: use the search bar in Telegram to find the @username_to_id_bot and launch it (the button "Launch").
Then click on the "Channel" button, select your channel from the list, from which you want to know the id and confirm the action.
Then look in the Telegram bot @username_to_id_bot information "Chat id: -10017ХХХХХХХХХХ26" and copy this id. The id through the bot and through the ADD log will be different:

Chat id: -10017XXXXXXXXXXX26 (this is how the id from @username_to_id_bot looks like)
id:17XXXXXXXXX26 (this is the id from the MoonBot terminal's ADD log without the "-100" prefix).

And you can enter in the field "My channel name" as such id "-10017XXXXXXXXX26", or you can discard "-100" and enter such id "17XXXXXXXXX26" in both cases everything will work.

5) Tick "Send only share signals".

6) Click the "Test" button to check if messages are being sent to your channel. If a message with time appears in the channel, everything is set up correctly.

Then you can close the "Share market" window and open the chart of any coin, for example PEPE and press the "Share" button. After that, a record of the following type will appear in your channel:
#PEPE delta: -0.2% flat
UserXXXXX @ RatingXXXX.
With these messages you can notify all subscribers to your channel that this coin is worthy of attention.

But you can additionally switch on the "I'd like to post Trust Management signals via UDP" checkbox and tick the necessary checkboxes for sending commands. Then your actions (buy, sell, etc.) will be broadcast to the Telegram channel and can be used by other (slave) bots that follow the commands in your channel.

In addition, you can subscribe the same bot to this channel and send messages to it using the "Share" button, which will then be read by your MoonBot terminal and trigger various telegram strategies that perform different functions: buy, sell, trigger strategies, reset trigger keys, and other actions. Similar actions can be done with other terminals, by pressing the "Share" button in one terminal, you can stop trading on all your terminals, remove unrealised Buy orders in them and quickly free up the balance for a more interesting coin, launch the necessary strategies and other actions.

In order to receive in Telegram information about deals in text form and screenshots with deals, you need to do the following steps:

=========
First, you need to log in to @BotFather (https://t.me/BotFather).
Press /newbot
Alright, a new bot. How are we going to call it? Please choose a name for your bot.

CHOOSENAME.
Good. Now let's choose a username for your bot. It must end in bot. Like this, for example: TetrisBot or tetris_bot.

CHOOSENAME_bot (choose a unique username for your bot, if the chosen name already exists, try again and choose another name).

Done! Congratulations on your new bot. You will find it at t. me/CHOOSENAME_bot.
You can now add a description, about section and profile picture for your bot, see /help for a list of commands.
By the way, when you've finished creating your cool bot, ping our Bot Support if you want a better username for it.
Just make sure the bot is fully operational before you do this.

Use this token to access the HTTP API:
1111111111:SdDDSFSDfsdfkdf_SDFdfsdfsdfsdfsdf_sdsdfds
(this will be the bot token from @BotFather to access the API).
Keep your token secure and store it safely, it can be used by anyone to control your bot.
For a description of the Bot API, see this page: https://core.telegram.org/bots/api

=========
- Next, you need to create your group in Telegram and add one user to it (without adding a user, Telegram does not allow you to create a group).
- Search for your bot created via @BotFather t. me/CHOOSENAME_bot and add it to the group.
- Go to the Administrators section in the group and add this bot as an administrator.
- Go into his admin permissions and enable all permissions for him (the bars should be blue).

=========
Then go into the MoonBot terminal and open the Settings-Advanced-Remote tab:

1) Give a name to the terminal in the field This bot name: NAMEBOT (write your own terminal name to understand what bot sends deals and screens, the bot name will be changed after restarting the terminal in administrator mode).

2) Tick "I have my own bot ID" and in the field below insert the bot token received from @BotFather.
1111111111:SdDDSFSDfsdfkdf_SDFdfsdfsdfsdfsdf_sdsdfds

3) Tick the "Send ScreenShots" checkbox. Also optionally tick "Send to public group".

4) Select the restrictions of your conditions for sending screenshots:
a) "If Profit $ > 1"
b) "or profit % > 1"
c) "or hourly profit $ > 50"
These are the minimum possible default values and you can set them to the values you need.

5) Set Time Scale,% 100 (default) and Price Scale,% 0 (default).

6) Click the Generate PIN code button.

7) In the field below the inscription "Type this PIN code in your channel" you will see the PIN code that you need to copy to the buffer.

8) Open your previously created group, paste the PIN code into the message and send it to the group.

9) If everything is done correctly, you will get a reply in the Telegram group:
NAMEBOT (name of your bot): Remote chat approved
ID=1111111111 name: NAMEBOT
Hi mate!
(and the second message in the group will be a message with available commands)

10) Give in the group command: talk (enable bot notifications in chat about closed deals).

11) For the test buy and sell a coin and the text message in this case will come to Telegram group in any case (at any transaction plus or minus and with any amount in $), and the screenshot comes only if the conditions for sending screenshots on the tab Settings-Advanced-Remote.

If you don't have your token bot configured on the Settings - Advanced - Remote tab, reports from the MoonBot terminal to Telegram are sent with a 4-second delay.