Fibo bot

A simple and multifunctional bot that work is based on a Fibonacci grid. Fully automated for working on the "Aftershock" strategy. Buys at the fibo levels and then sales at higher ones.  Its multifunctionality provides different ways to use the bot.

It also allows the user to automate trading by using the strategies of @aLexjjcrypt and @ClarenceFereiro.

Start of the bot 

Variant №1:

1. Open the "Create bot" menu on the toolbar of the chart.
2. Click the "Fibo" tab.
3. A fibo grid shows up linked to the candlesticks visible on the chart (see the image below). Then adjust it on the chart.

 In this image:
 1 - max price of the visible candlesticks.
 0 - min price of the visible candlesticks.
 t1 - current time.
 t0 - min price time (0). 

Variant №2:

 1. Create a "Fibo grid" on the chart by the "Fib retracement" tool.
 2. Open the bot creation window via a toolbar.
 3. Enter the volume in numbers or percentage 25%;50%;75%;100%.
 4. Click ''Create''.

The bot places three buy orders at the levels of 0.5, 0.382, and 0.236. When executing the "highest" buy order, the bot places a sell order at the 0.618 level. After the sell order execution, the bot stops.

How it works 

1. When the price touches the 0.5 level, the bot buys and automatically places a sale order at the 0.618 level.

2. If the bot buys at the levels of 0.5 and 0.382, then it rearranges the sell order (at the 0.618 level) and places a new sell order at the 0.5 level (i.e. one purchase is breakeven, the second with a profit).

3. If the bot executes all three orders, the bot automatically places all purchased values at the level of 0.382.

4. One of the options is to raise buy/sell orders to a higher level by selecting the "0.618checkbox for work from the 0.618 level. The user can automatically place the highest sell order in the middle of the channel (0.786-0.618) by switching the toggle "0.786/0.702" to the "0.702" position. The positions of these toggles and checkboxes, as well as the values in the "buy/sell deviation" and "% of the start trigger" boxes are saved for the next start.

5. When the user (with the help of ''Aftershock'' strategy) takes profit from one of the set levels, the bot stops and removes all buy orders at the lower levels.

6. When the user increases the value of ''1'' and a "Sticky fibo" checkbox is active, not only the buy orders on the fibo grid, but also the start and stop triggers are updated. 
Visually, when changing a high, the active bot updates the initial configuration of the bot. In standby mode, the configurations stay unchanged. And only when the bot is active again, the grid is updated.

7. Pay attention that the value of the 0.5 level for buying should be more of min value for the order set by the exchange. The user also can change the ratio of the levels but in total, they must be 100% of the allocated volume to the bot.

Types of orders:
  • Limit
  • Grid
  • Iceberg
  • Market (for stop loss and stop loss+)

Grid and Iceberg types of orders

These types of orders are placed at a definite price level, divided into several equal parts (small orders) so that the real buy/sale amount is not reflected in the order book. When setting up this type of order, the user must define the number of parts (of small orders):

1. In grid order, the parts are placed at once.
2. In iceberg order, the parts are placed in series. When the exchange executes the first of these small orders (the tip of the iceberg), the next one is automatically placed. So the entire order is executed by small parts in series - the next part is placed as the previous one is executed.

In a grid order, the user must enter the deviation from the price level. The deviation can be marked with "+", "-" (click the symbols) or both ways at the same time "+ -". It can be set both as a percentage ''%'' and an absolute value ''USDT'' (the selection is made by a toggle to the right of the box). 

In an iceberg order, the user can optionally set the offset from the price level. The setting is similar to the grid order but without selecting the symbols. When executing such buy orders with defined deviation or offset, sell and stop loss orders placing is based on the average price of the actual purchase. 

Example of a grid order:

 The main price level is "100", the deviation is "+ - ","1".
 The bot places parts on: 100, 101, 99, 102, 98 etc.
Example of an iceberg order:

 The main price level is "100", the offset is "1".
 The bot places parts on: 100, 101, 102, 103 etc. Without the offset, places all parts on 100.

Stop Loss+

 The active bot can:

 1. Add extra stop loss without restarting the bot. 
 To do so: 
  1. Go to the "Stop Loss+" tab in the bot setting menu.
  2. Click ''Add stop loss''.
  3. Use the tool to set a stop trigger level (horizontal or dynamic line) on the chart.
  4. Click the "checkmark" in the toolbar of this tool .
  5. When the price touches this extra stop loss line, the bot cancels all orders and sales all position (market sale).
  6. The bot stops after activating and executing the stop loss.

 2. Change to "sale only mode". 

In the "Stop Loss+" tab, the bot has a "Remove BUY orders" option for intraday trades.

The idea is that the user can cancel safety orders to release an unused balance. The bot cancels buy orders and stay active until sell or stop loss orders execution. All this happens when the user clicks the ''remove BUY orders'' button.

To change to "sale only mode", the following conditions must be met:

 - The bot must have an executed limit order to cancel buy orders.
 - Stop loss+ must be placed.

A dialog box appears immediately after a confirmation of "Stop loss+" to minimize the actions for canceling buy orders. The user can remove buy orders at any time via the "Stop loss+" menu in the bot config.


Designed to minimize the number of actions when starting the bot.

Create your template with the necessary configurations and parameters. Click the ''cloud'' button. In the opened window, name the template and save.

Extra info:

1. Set up of the order's type is in buy/sell tabs of the bot creation window.
2. The user allocates the volume to the bot either manually or automatically.
3. Automatically the start trigger calculation is based on the "top" buy order with a deviation (given in %).
4. The "Keep buy orders up to finish" option protects the bot from stopping during partial buy/sale.
5. Notifications  are in the lower-left corner of the bot menu.
This option enables or disables notifications from the bot based on two criteria at once:
- Enter/exit standby mode.
- Notification about a new high (when the "Sticky fibo" option is enabled).

Automatic selection of proportions at aftershock:

Fibo bot has an algorithm that sets the percentage from the allocated volume to each level based on the selected  "Profit-Profit-BE" or "Profit-BE-BE" grid:
Profit-Profit-BE - concentrates % of the deposit on the first two levels to get profit. The third order is just a safety order.
Profit-BE-BE - concentrates % of the deposit only on the first level to get profit.
Manual - This is a classic 20-30-50 and the safest one that allows getting a profit even from the third level.
Warning! When change buy/sell levels that are different from the fibo grid (for example, moving the sale order from 0.5 to 0.702), use the manual grid proportion. Otherwise, the auto-distribution of the grid Profit-Profit-BE or Profit-BE-BE is unpredictable to calculate.
Дата создания: 13.03.2021 19:38      Обновлено: 28.03.2022 19:20
46 KB
18 KB
53 KB
48 KB
80 KB
433 KB
4 KB
27 KB
507 b
53 KB
67 KB
3 KB
728 b
59 KB
2 KB
64 KB
54 KB
2 KB
41 KB
8 KB
43 KB
65 KB
72 KB
3 KB
55 KB