3. Markets Watcher

Concept: The Markets Watcher algorithm reacts and notifies you when the last price changes compared to its 3-minute average. It can be used as a signal for manual trading or triggering algorithms.

To create an algorithm, click Add Algorithm and select Markets Watcher.

General

Name the Algorithm. Set a time frame within which you do not want repeated signals related to the same Markets

  • Info: Specify the name of your algorithm so that you can easily identify it in the full list of algorithms. You can specify parameters in the name for convenience, for example — «1min/1sec-0.4/0.3-long».
  • Auto start: the on/off switch allows the user to choose whether the algorithm will start automatically after the kernel starts.
  • Open graph on trigger: if this option is enabled, the chart of the pair on which the algorithm was triggered will automatically open.
  • Send user notifications: every signal will be sent to your Telegram group. You can find the Telegram bot settings in the general MoonTrader settings.

Market filter

Chose the Market type (Futures/Spot/Margin) and the trading pair or a list of pairs, separated by comma, for the algorithm to trade on if the market fulfils the remaining conditions. The markets can be put in as a group traded against a Quoted asset (e.g. USDT, BTC,ETH), as a separate Whitelist (e.g. BTCUSDT, BNBETH); you can also exclude a group of Markets as a Blacklist (e.g. XRPPAX, BTCDAI) from the above mentioned groups.

  • Exchange type: allows the user to select the exchange where the trading will take place.
  • Market Type: allows the user to select the desired market type for trading: Spot/Margin/Futures/Quota.
  • Quote assets: quoted asset (e.g. usdt or btc). If you want to trade the whole market to Tether currency, specify usdt.
  • Whitelist: The «white list» currency pairs. If you fill this field, it is necessary to leave blank the item «Quote assets«! Suppose you want to trade only two pairs BTCUSDT and ETHUSDT, specify them in this field separated by commas. Other pairs will not be traded. The format is btcusdt, ethusdt, etc.
  • Blacklist: «blacklisted» currency pairs. Suppose you specified the quoted asset usdt in the «Quoted Pair», but do not want to trade on currency pairs BTCUSDT and ETHUSDT, specify them separated by comma. The format is btcusdt, ethusdt, etc.

Coin delta filter

Enables / Disables delta filters for each coin that the algorithm is set up to place orders on. This option allows you to add one or more filters that can differ by time frame and delta range. The delta range can either be relative (if values are introduced with a “-”) or absolute (values introduced as positive integers) and should be introduced from smaller (left field) to larger (right field).

  • Timeframe: the time interval of the delta, currency pairs (which will be selected, given the data of the quoted currency, «white list», «black list»). You can choose one of the options — 1, 3, 5, 15, 30 or 60 minutes. In the future, the framework of the minimum and maximum delta of currencies, will be based on this interval.
  • Range: Specify the range of the minimum and maximum delta. From N1% to N2%. If the delta of the asset is outside the selected range, the algorithm will not work and the orders will not be placed. For example, if you have selected a time frame of 5 minutes, and you specify a range of 0.5% to 2%, then the algorithm will trigger only on those pairs, on which the price has changed within 5 minutes, at most 2% and at least 0.5% — the price direction is not important. The values are only positive. You can see the deltas in the client — the «Market Live» tab.
  • Use relative delta: If checked, you must specify relative deltas in the «range» field. If negative, then with a minus sign (for example -1.4), if positive, you don’t need to specify the sign.
  • Cancel if out of range: If the checkbox is checked, then when deltas leave the selected range, the orders in this algorithm will be canceled.

Coin qav24 filter

A market filter based on the Daily trading Volume. The values are given in terms of Quote Assets (e.g. for BTCUSDT, BNBUSDT markets, the volumes are given in USDT). Set a range to specify your desired trading conditions.

  • Range: specify the range of minimum and maximum volume for 24 hours, of currency pairs (which will be selected considering the data of the quoted currency, «white list», «black list»). In case the volume of the chosen currency pair will be lower than the value set in the first field or higher than the value in the second field, the algorithm will not work and the orders will not be placed. You can see the volumes in the client — the «Market Live» tab.

Delta filters

Enables / Disables delta filters for a specific coin that the algorithm will check to determine whether or not to place orders on the trading pairs that the algorithm is set to run on. This option allows you to add one or more Coins that can be attributed a different time frame and delta range to be checked. The delta range can either be relative (if values are introduced with a “-”) or absolute (values introduced as positive integers) and should be introduced from smaller (left field) to larger (right field).

  • Symbol: The trading pair in relation to the delta of which the filter will be activated. For example BTCUSDT.
  • Timeframe: the time interval of the BTC currency delta. You can choose from 1, 3, 5, 15, 30 or 60 minutes. In the future, the framework of the minimum and maximum delta of BTC will be based on this interval.
  • Range: Specify the range of the minimum and maximum delta of BTC. From N1% to N2%. If BTC’s delta is outside the selected range, the algorithm will not work and orders will not be placed on the selected pairs. The values are only positive. You can see the BTC deltas in the client — «Market Live» tab.
  • Use relative delta: if checked, then relative deltas must be specified in the «range» field. If negative, then with a minus sign (for example -1.4), if positive, you don’t need to specify the sign.
  • Cancel if out of range: If the checkbox is checked, then when deltas leave the selected range, the orders in this algorithm will be canceled.

Algorithm parameters

Set the signal frequency, set the Bid and Ask delta values to receive signals as soon as the last price on the market will exceed the set values relative to the average price over 3 minutes (180 seconds)

  • Timeframe: Select the time frame for the analysis. You can choose from 1, 3, 5, 15, 30 or 60 minutes.
  • Bid delta: Indicate how much the price will go up relative to the average price for the selected «time frame».
  • Ask delta: Indicate the percent drop in price relative to the average price for the selected «time frame».
  • Signal frequency: specify how often to repeat notifications of algorithm triggering, specified in seconds.

After saving, you can find this algorithm in the Algorithms section.

When the algorithm works, if the price rises or falls by a given percentage, you will receive notifications in the «Alerts» — the top right of the main window of the MoonTrader, the icon of the bell.

If you check the «Open charts by signal» checkbox, the charts of triggered pairs will be opened additionally.