Adding a new algorithm is done by clicking on the “Add New” button in the Algorithms tab. The following pop-out will appear:
The user has the option of choosing between a Single Shot algorithm, a Shots Group algorithm and a Market Watcher algorithm. The first two are self-explanatory: the former launches a single shot algorithm, the latter — a group of shots that can be given to the algorithm in a couple of different ways we will discuss later.
General concept: this algorithm is created and intended for its users to profit from sudden price movements that are usually triggered by actions carried out by either a single individual or a group of individuals holding a significant amount of a certain asset working together in an orchestrated fashion, throwing the asset onto the market at market price in one lump sum. You will be able to see sudden spikes or drops on the chart while the general trend continues on a set trend. Take a look at the example below:
Action Mechanism: the user sets a specific distance measured in percentage points from the current price at which an order is to be placed once the price reaches it (Distance) and a Buffer, which is also set in percentage points of the current price, in which the price fluctuations will not trigger the Distance to be recalculated and the order to move. The Buffer that the user sets will be divided by 2, half of the distance being set above the price and half — below it. Once the asset price moves outside of this buffer area or at least touches either the upper or lower limits of it, MoonTrader will automatically recalculate the distance and reposition the order accordingly. It is up to the user to decide which side they want to place their orders on: Buy (long) or Sell (short). Once the price has moved sharply enough to break through the buffer zone and trigger the execution of the order set by the algorithm, the user may choose to set a Stop Loss and/or Take Profit at certain distances from the price at which the order got executed.
Auto Start — the on/off toggle allows the user to choose whether or not the algorithm will start automatically once the core is started
Info — allows the user to add a description to easily identify the algorithm in the full list of algorithms the user has
Auto Restart — allows the user to decide whether or not to allow the algorithm logic to run automatically if a previously placed order was executed, thus placing a new order.
Exchange Type — allows the user to choose from the currently supported exchanges (only Binance at the moment)
Market Type — allows the user to select the desired market type: Spot/Margin/Futures/Delivery (quarterly)
Symbol — the market pair the user wants to place the algorithm on
Distance — how far from the current price, in percentage points (of the current price), should the order be placed by the algorithm
Buffer — the area that the price fluctuates in freely without triggering a repositioning of the order placed by the algorithm, is also set in percentage points (of the current price), and is DIVIDED BY 2, which means that half of the value set will be the upper buffer zone (above the price) and half — the lower buffer zone (under the price).
Side — allows the user to decide whether the algorithm will place a Buy (long) or Sell (short) order
Min DeltaH — is a parameter that allows you to set the minimum hourly Delta which in case a pair of your liking has a volatility smaller than the value set in this field, the Algorithm will not trigger and orders won’t be placed
Max DeltaH — is a parameter that allows you to set the minimum hourly Delta which in case a pair of your liking has a volatility greater than the value set in this field, the Algorithm will not trigger and orders won’t be placed
Shot Restart Delay — sets a delay in seconds after which the Algorithm will place the Order after the previous one gets filled
Follow Price Delay — a period of time in seconds that the Algorithm will delay the movement of the Order to follow the price movement
Client Order Type — let’s the user chose the type of Order to be used by the Algorithm (initial Order)
Stop Price Percentage — sets a specific distance from the price level at which a Stop Limit Order is placed that will trigger the Stop Limit Order
Order Size USDT — the value of the order set in USDT (this value takes the users’ leverage into account)
Take ProfitIs On — allows the user to decide to automatically place a Take Profit order once the original order is executed
Take Profit Percentage — sets the distance to the Take Profit from the price at which the order was executed
Take Profit Order Type — lets you select the type of order your Take Profit will be when your position is opened
Take Profit Status — lets you select either Real (placed on the exchange) or Virtual (placed in your client and known by the Core only) for what you want your Take Profit to be
Stop Loss Is On — allows the user to decide to automatically place a Stop Loss order once the original order is executed
Stop Loss Percentage — sets the distance to the Stop Loss from the price at which the order was executed
Stop Loss Spread — lets users set a distance in % of the current price that will determine where the Stop Loss will be placed once the price crosses the Stop Trigger (currently under development)
Stop Loss Order Type — lets you select the type of order your Stop Loss will be when your position is opened
Stop Loss Status — lets you select either Real (placed on the exchange) or Virtual (placed in your client and known by the Core only) for what you want your Stop Loss to be
Stop Loss Trailling Is On — toggles whether the Stop Loss will be trailing the price or not (currently under development)
Stop Loss Trailling Spread — sets the price movement percentage that will make the Stop Loss to follow the current price
Stop if Trade Latency Greater Than — will stop an Algorithm (and cancel its orders) if the trade latency exceeds this value in seconds