Telegram Strategy and Its Parameters

The Telegram strategy is used to automatically react to signals coming from Telegram channels. It can:


✓ execute coin purchases based on received signals;


✓ act as a trigger key to start or stop other strategies;


✓ serve as a trigger to cancel orders or force-sell a position if the message contains both the coin name and the specified keyword.


The strategy can operate using its own parameters (order levels, stop-losses, trailing) or use the exact values provided directly in the Telegram signal.


For the strategy to function correctly, it is necessary to:


  • Add the Telegram channels on the Settings → Telegram tab, from which signals will be received.
    For a detailed description of this configuration, see “Settings → Telegram.”; https://moonbot.pro/en/documentation/setting-telegram-tab/setting-telegram-tab

  • On the Settings → AutoBuy tab, set the required parameters for the Telegram strategy: keywords, tags, filters, and other options.
    For more details on this configuration, see “Settings → AutoBuy.”.


  • MultiTokens: checkbox YES/NO.
    If set to YES, the strategy will execute a command to buy all tokens listed in a single message.
    If set to NO, only one token from the message will be bought.
    ⚠️ Use with caution! Do not enable this option unless you clearly understand its implications.


In addition to this parameter, the general parameters of this strategy include several special options (found on various tabs) that work only in the Telegram strategy.


Parameters on the “Main:” Tab


  • ChannelName: a menu for selecting the name of the signal source. This could be: MoonNews – for receiving messages from the Moon News feed; WebHookTV – for receiving webhooks from TradingView; or from other Telegram channels, groups and bots from which you intend to receive signals for this strategy.
    If you need to receive signals from Telegram channels, groups or certain bots, you can create a list for this menu yourself on the Settings → Telegram tab by using the "Add Channel" button and the field for specifying the channel. The ChannelName parameter is only available in Telegram-type strategies;

  • ChannelKey: a field for entering the keyword from the signal source to which the Telegram strategy should react.
    With the exception of the "MoonNews" option, you may enter only one keyword in this field. If you want the strategy to react to two different keywords, create two copies of the strategy: specify keyword1 in one, and keyword2 in the other. Possible keywords may include “Buy”, “Sell”, “Long”, “Short”, etc. For the PREMIUM-channel, keywords may be: “moon_1” … “moon_20”.
    If “MoonNews” is selected, you can enter one or more tags, separated by commas, in the ChannelKey field; the strategy will then be triggered by these tags. You can view the list of tags in the Moon News window by clicking on "Tags". The following tags are currently available: airdrop, announcement, api, binance, bitget, bybit, crypto, delisting, depositswithdrawals, earnings, elonmusk, exchange, exchange_upbit, hack, kucoin, listing, maintenance, nasdaq, okx, phish, promotion, sec, stocks, tokenmigration, tradingupdate, trump, upcoming. If you select "MoonNews" and leave this field blank, the strategy will apply to all news items across all tags.
    The ChannelKey parameter is only available in Telegram-type strategies.

  • AcceptCommands: checkbox YES/NO.
    If set to YES, Trust Management commands will be accepted. This parameter is present only in Telegram and UDP strategies.


Parameters on the “Buy conditions:” Tab


  • AutoCancelLowerBuy: a field for specifying the time in whole seconds after which Buy orders placed by this strategy will be canceled (auto-cancel counter for Buy orders) if a lower buy price from a Telegram signal was used (Telegram strategy only). If set to 0, the parameter is not applied.

  • TlgUseBuyDipWords: checkbox YES/NO.
    If YES is selected, the strategy will use a lower buy price (see also the TlgBuyDipPrice parameter below) when the Telegram signal contains special “dip words” indicating that the purchase should be made at a price lower than the market price. This parameter is used only in the Telegram strategy.

  • TlgBuyDipPrice: a field for specifying the price at which to buy when a Telegram signal contains a recommendation to buy below the market price (the value is entered as a percentage relative to the market price). This parameter is used only in the Telegram strategy.


Parameters on the "Stops:" Tab


  • UseSignalStops: checkbox YES/NO.
    If YES is selected, stop-loss values will be taken from the Telegram signal.
    Priority rules:

    • If the Telegram signal contains stop values and the checkbox Take Stops/TakeProfit from signals is enabled on the Settings → AutoBuy tab, then the lowest stop value specified in the message will be used;

    • If the Telegram signal does not contain stop prices, the strategy will use the stop settings defined on the Stops tab.



We recommend watching the MoonAcademy webinar (use subtitles for viewing):

YouTube: "Configuring the Moonbot terminal to read signals and commands in Telegram" >>>

RuTube: "Configuring the Moonbot terminal to read signals and commands in Telegram" >>>