Channel Stochastic filter
The filter checks the position of both stochastic lines, %K and %D, relative to the channel boundaries. For a permit to travel abroad, the condition must be met for both lines.
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 Channel stochastic.
Field Active is missing. Set the filter for the pair the task is going to work with.
Set the calculation
The TF sets the time frame for the calculation. The initial value is 1 minute.
The Type of candles is either normal or Heiken-Ash. By default, ordinary candles are used.
Calculation On closing the bar or On crossing (every second). The first uses closed bars, the second takes into account the current unopened bar. The new form is the "Closing Bar" mode.
Period %K, Smoothing factor and Period %D from 2 to 50. The initial values are 14, 3 and 3.
The upper boundary and the lower boundary from 5 to 95, the upper boundary must be greater than the lower boundary. The new uniforms are 80 and 20.
Type of filter By default or Upper/Bottom channel. The new form has the default option.
When the filter allows action
Both lines on the upper boundary or above it allow for a short.
Both lines at or below the lower boundary allow for a long.
By default, in other cases, it allows both directions.
Up/Bottom channel in other cases does not allow any direction.
Determine the meaning of the parameters
If only one line went overseas, it's not enough to get it out of the zone. This is where you check the position of %K and %D, not their intersection. Default mode when closing the bar.
The directions rules above are for the deactivated Reverse field? is the initial state of the form. If you turn it on, the permissions for the long and short change places. The conditions of both directions and the same direction will remain the same.
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.