Getting started

Quick article search

Creating Your First Simple Detector (Step-by-Step Example)



In this example, we’ll create a basic signal-only detector that watches for sudden price drops and alerts the user. It will not open trades automatically—its sole purpose is to notify you about market events. This is a safe and optimal way to start learning how detectors work.


  1. Click the “💡 Strategies” button in the upper-right part of the terminal screen. The Strategies window will open. On the left, you’ll see the list of your strategies (it may be empty at first). On the right, you’ll find the configuration area for the selected strategy.

  2. Click Add new on the right side.

  3. If the Main section is collapsed, expand it.

  4. In the StrategyName field, enter a name like DropTest1. This name will be used for:

    1. finding deals and signals in reports

    2. managing the strategy via Telegram commands (e.g., to blacklist coins)

  5. Pay attention to the SignalType field — this is one of the key settings of the strategy. This field defines the type of algorithm to be used. Select the value DropsDetection. You can learn more about the available algorithms and their parameters in the Moonbot documentation. More about available algorithms and their parameters in the Moonbot documentation.

  6. Set SilentNoCharts to YES. This prevents the terminal from auto-opening the coin chart on signal. For now, a simple alert is sufficient.

  7. Set SoundAlert to YES to enable sound notifications when the detector triggers. You may optionally disable the sound by setting SoundKind to NONE. Use KeepAlert to control how long the signal stays visible on the screen.

  8. Collapse Main and expand the Filters tab. This section lets you filter which coins are monitored by the detector—by watchlist, volatility, volume, and more.

  9. Set IgnoreFilters to YES so the detector applies to all coins that match the algorithm conditions.

  10. Collapse the Filters tab—it’s not needed further in this example.

  11. Important! Expand the Buy conditions tab and make sure AutoBuy is set to NO. This ensures the detector won’t place orders automatically.

  12. Collapse Buy conditions and go to the Strategy setting tab.

  13. For the DropsDetection algorithm, set the following:

    1. DropsMaxTime = 10 — look back up to 10 seconds

    2. DropsPriceMA = 0 — use raw (non-averaged) price

    3. DropsLastPriceMA = 0 — compare to current raw price

    4. DropsPriceDelta = 1 — price must have dropped by at least 1%

    5. DropsPriceIsLow = NO — don’t require a local low

    6. DropsUseLastPrice = NO — not used in this example

    7. In short: the detector will trigger if a coin has dropped 1% or more in the past 10 seconds.

  14. Click Save to store the strategy. It will appear in the list on the left side of the Strategies window.

  15. Check the box next to your detector and click Start selected. Once running, detector signals will show in the line above the chart. Click a signal to open the relevant coin chart.


You can experiment with DropsPriceDelta and DropsMaxTime to explore how the detector behaves under different thresholds. This is a safe and effective way to understand how Moonbot’s detection algorithms work.


Congratulations! You’ve created your first Moonbot detector. Going forward, detector setup will become easier. You can also copy the strategy to the clipboard and paste it using the Paste button in the Strategies window.


Example of Delta-Based Detector (Advanced Example)


Now that you've tried a simple price-based detector, it's time for a more complex one using the Delta algorithm. These detectors identify moments when volume spikes and market activity increases—often signaling an upcoming directional move.


Unlike simple detectors, Delta detectors analyze price, volume, trade count, and activity across multiple timeframes. Here's a full example.


  1. Repeat the steps to open the Strategies window: Click 💡 Strategies, then Add new.

  2. In StrategyName, enter something like DeltaTest1.

  3. In SignalType, select the Delta algorithm type.

  4. Set these parameters just like before:

    1. SilentNoCharts = YES

    2. SoundAlert = YES

  5. Use SoundKind and KeepAlert to configure alert sound and display duration.

  6. Go to the Filters tab, open Filter / Base, and set IgnoreBase = YES. Then save the strategy. This disables only this filter section—not all filters. Disabling only unused sections is good practice and reduces CPU load.

  7. Disable these filter subsections the same way:

    1. Filters / Time → IgnoreTime = YES

    2. Filters / Price / Position → IgnorePrice = YES

    3. Filters / Ping → IgnorePing = YES

    4. Filters / Volume → IgnoreVolume = YES

  8. Keep only the Filters / Delta section active. Here, define the volatility filter for the past 3 hours:

    1. Delta_3h_Min = 0

    2. Delta_3h_Max = 10

      1. This includes only coins that moved no more than 10% over the past 3 hours. Important! Expand Buy conditions and make sure AutoBuy = NO. In this example, the detector is used solely for analysis and notification purposes.

  9. Go to Strategy setting and set the following Delta algorithm parameters:

    1. DeltaInterval = 120 — analyze the last 120 seconds

    2. DeltaShortInterval = 5 — short-term averaging over 5 seconds

    3. DeltaPrice = 3 — price must move at least 3%

    4. DeltaVol = 1000 — volume must exceed 1000 USDT

    5. DeltaVolRaise = 30 — volume increase must be ≥ 30%

    6. DeltaVolSec = 0 — ignored

    7. DeltaBuyers = 5 — at least 5 trades in the last 5 seconds

    8. DeltaLastPrice = 0.3 — short-term average price must rise 0.3% over long-term average

  10. Save the strategy, check its box in the strategy list, and click Start selected.


What This Detector Does


The Delta detector analyzes the past 120 seconds for coins that pass the filter, and triggers if all the following are true:


  • Price changes by at least 3%

  • Volume exceeds 1000 USDT

  • Volume increases 30%+ compared to the previous interval

  • At least 5 trades occurred in the past 5 seconds

  • 5-second average price is at least 0.3% higher than the 120-second average

  • When all conditions are met, the terminal issues a signal for a potential trading opportunity.


This example demonstrates how Delta-based detectors help identify market activity spikes and can serve as powerful tools for analysis and preparation before using advanced strategies.