Averages Algorithm
AVERAGES ALGORITHM
To create an Averages Algorithm choose the corresponding option from the Algorithm drop down menu.
General Concept: the idea is to create an algorithm that senses a short term trend change that goes against the long term trend allowing the trader to capitalize on a short period of time when the market will “predictably” suffer a correction.
Mechanism of Action: by selecting a long and a short time interval, the user technically compares two average values ((min+max value of corresponding candle sticks)/2 for intervals bigger than 1 minute; average price of all last 0.5 seconds for the past x seconds for intervals lower than 1 minute): each for their corresponding time frames. From there, the user sets a “trigger distance” which is the distance between the value of the long and short time frame averages. The Trigger Distance can take both positive and negative values. If the user is looking for a short time frame average price that is lower than the long time frame average price, the user will set the Trigger Distance to a negative value and vice versa. Once that rule is established, the user will now decide at what distance from the current price should a new order be placed (either Buy or Sell order as chosen by the user). This is accomplished by the Order Price Distance value. This value can also be either positive or negative. Another set of parameters specific for this algorithm are the Multi-Order parameters. The user can toggle Multi-Order on or off. The multi-order allows the user to place multiple orders at a certain distance from one another or from the initial price level (if the Multi Orders is Relative to Original Order is toggled ON) and of varying order sizes. If the Multi Orders Auto TP/SL Join is turned ON, the algorithm will automatically join the existing TP/SL once the Cancel Delay period is passed. The Cancel Delay will also cancel the Orders that were not triggered. The Restart Delay tells the user how long until the Algorithm starts scanning the market again for the algorithm conditions to be fulfilled.
Algorithm settings:
Info — allows the user to add a description to easily identify the algorithm in the full list of algorithms the user has
Auto Start — the on/off toggle allows the user to choose whether or not the algorithm will start automatically once the core is started
Open graph on Trigger — opens the graph of the Market that where the algorithm has placed orders after algorithm conditions were triggered
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.
Restart Delay — the time until the algorithm will be monitoring the market for the next trigger after the previous one was executed.
Do not trigger if active — will not allow the algorithm to place orders if an open position exists
Max active markets — will limit the number of markets on which orders will be placed by the Averages algo to this number
Market Filters:
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)
Quote Assets — allows the user to choose a specific Quote Asset whose pairs will be used in trading. Press ENTER when done
White List — allows the user to use a specific list of pairs on the specified market that will be used exclusively for trading. Press ENTER when done
Black List — allows the user to use a specific list of pairs on the specified market that will be EXCLUDED from trading on that particular market. Press ENTER when done
Coin Delta Filters (can be toggled on/off):
Timeframe — sets the a specific time frame that will be monitored for Min and Max delta values for specific Markets
Range — sets a specific range, for the timeframe specific asset delta, in percent (from — to). Both fields must be filled
Coin QaV24 Filter (can be toggled on/off):
Range — sets a specific range, for the last rolling 24h, for the trading volume of the specified asset in USDT. Both fields must be filled
Btc Delta Filter (can be toggled on/off):
Timeframe — sets the a specific time frame that will be monitored for Min and Max delta values of BTC
Range — sets a specific range, for the timeframe specific asset delta, in percent (from — to). Both fields must be filled
Algorithm Parameters:
Long Period — determines the long time frame to be used by the algorithm for price comparison
Short Period — determines the short time frame (in seconds) by the algorithm for price comparison
Trigger Distance — sets the value (in %) of the discrepancy between the long and short period that will trigger the placement of the order (can be both a positive and a negative value)
Order Price Distance — sets the distance from the current price (in %) for the order that will be set by the algorithm
Order Details:
Side — allows the user to decide whether the algorithm will place a Buy (long) or Sell (short) order
Client Order Type — lets the user chose the type of Order to be used by the Algorithm (initial Order)
Stop Price — sets a specific distance to the price level at which the Stop Limit Order is placed that will trigger the placement of a Limit Order
Order Size — the value of the order set in USDT (this value takes the users’ leverage into account)
Max position size — will limit the number of orders to be placed if the position size reaches this value
Use Cancel Delay (can be toggled on/off):
Cancel Delay — the time (in seconds) until the unfilled orders placed by the algorithm will be cancelled
Cancel on first fill — cancels all pending orders when the first one is filled
Multi Order (can be toggled on/off):
Orders is Relative to — sets whether the size of Orders placed by the Multi Order function will increase in relation to the initial order or in relation to each previous order
Count — sets the number of orders to be placed
Distance — sets the distance (in %) between each of the Multi Orders
Size Increase — determines the increase in Order Size (in %) between the orders set by the algorithm
Auto Join TP/SL — determines whether the TP/SL orders of the positions opened by the algorithm will be joined after the Cancel Delay is up or not.
Join on first fill — Joins all current TP/SL related to the current position after the first order is filled
Take Profit:
Percentage — sets the distance to the Take Profit from the price at which the order was executed
Order Type — lets you select the type of order your Take Profit will be when your position is opened
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
Auto Price Down (can be toggled on/off):
Timer — sets the time in seconds that the Take Profit waits before moving closer towards the current price (this same value will be used for both the first step and all following steps) by the specified Step (%).
Step — sets the percentage value of the step down relative to the initial price
Limit — sets the lowest limit that the TP will step down to in percent
Stop Loss:
Percentage — sets the distance to the Stop Loss from the price at which the order was executed
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)
Delay — sets a delay in seconds before the Stop Loss is placed on the market (often used when users try to mitigate the negative impact of very deep price movements)
Order Type — lets you select the type of order your Stop Loss will be when your position is opened
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
Trailing Stop — toggles whether the Stop Loss will be trailing the price or not
Spread — sets the price movement percentage that will make the Stop Loss to follow the current price
Use second stop loss (can be toggled on/off) — enables or disables a feature that allows you to replace the existing Stop Loss that was placed once the original order was filled (and if applicable all subsequent Multi orders and the TP/SL were joined) with a new one, at a different level if specified conditions are met
Second SL trigger distance — sets a distance above the entry price (in the profitable direction), that once crossed, will remove the previous SL and place a new one at the SL percentage
Second SL percentage — indicates at which percentage (from the entry price, in the profitable direction) the new SL will be placed
Second SL trailing (can be toggled on/off) — enables or disables the new SL trailing ability
Second SL trailing spread — determines the distance at which the new SL will trail the price