For the complete documentation index, see llms.txt. This page is also available as Markdown.

Previous impulse filter

The filter is looking for a price increase or decrease in a given size in recent history. You can allow the action if there's an impulse or not.

Add a filter to the task

Open up the task of creating or editing a Binance robot or a Bybit robot. — The Bybit robot In the filter block, select Past pulse.

Field Active is missing. Set the filter for the pair the task is going to work with.

Set the calculation

  • The time of calculation (s) is the length of a short window, from 10 to 100 seconds with step 10. The initial value is 100.

  • Analysis time (m) depth of search: 1, 2, 5, 10, 15, 20 or 25 minutes. By default, 15. The time of calculation must be much shorter than the time of analysis.

  • The deviation of the percentage threshold: 0,5; 1; 1,5; 2; 2,5; 3; 3,5; 4; 4,5; 5; 10; 15 or 20. The same negative values are allowed; zero is not used. The initial value is 3.

  • Both sides are off by default. To turn it on, type a positive deviation.

  • Allow entry if there was a pulse or no pulse. By default, there was no pulse.

When the filter allows action

  • When the field is off, both sides of the positive deviation check for growth, negative decrease. When turned on, the motion in either direction is checked for a given positive threshold.

  • The calculation uses the closing prices of the second bars. In each short window, the increase is measured from the minimum price to the last, the decrease from the maximum to the last. The search will scan through these windows within analysis time.

  • The threshold, including equality, is considered an impulse. There was an impulse that resolves both directions when it was found; there was no impulse when there was no appropriate impulse in the analysis window.

Determine the meaning of the parameters

The time of calculation and time of analysis are set by the data windows, not the delay in sending the order. You need a history to make a calculation. The lack of data should not be taken as a confirmed lack of momentum.

Set the action when you exit the filter

Field When the filter is out refers to the situation when the task stops passing this condition. The new card has the Cancel Cycles option. The form also includes Sell by market and Sell by market with deviation (if indicated).

The filter can also affect a task that is already working: the exit from the condition transmits the selected command. Before you save, check the command's implications for your robot in the Binance or Bybit task description. — Binance tasks — Bybit tasks

Save and verify the task

Save the filter card, then check the rest of the conditions and parameters. Several filters should allow it to move at the same time. The filtering permission itself does not mean that the order has been sent or executed.

If the task mode supports the task without a basic signal, the filters can be involved in its start. So the conditions and the action you choose to take when you exit them should be checked before the robot starts.