BTC Stability (DI− > DI+)
Helper filterBOTH DIRECTIONS
Single condition: DI− is above DI+ on every one of the last 3 candles (you decide). A majority isn't enough, all must hold; if it breaks on even one candle, the gate closes. Exact equality doesn't pass. You set this window (candle count) yourself.
What is the BTC gate?
Before the bot looks for a signal on a coin, it checks BTC: does this condition hold on each timeframe you marked? If even one doesn't hold, the signal drops before it even reaches the rule engine. The gate alone never opens a trade; it only passes or blocks. This row asks whether BTC's downward pressure (DI−) dominates upward pressure (DI+) — not on one candle, but on 3 candles in a row.
How do you use it?
Filters out single-candle spikes; the gate only opens once BTC's downward direction has settled. The cost is the gate staying closed during the first candles of the turn. It only filters SHORT signals; the row above is for the bull side.
Which settings does it read?
The only box read is the same Stability Candle box as the row above (3 in the panel). Caution: if you only mark this row in the panel, that box stays closed and the bot receives a candle count of 0 — the engine never looks at this row. To open the box, the Stability row above must also be marked on the same timeframe.
Does this condition close the position?
It only allows or blocks the entry; even if BTC reverses after the position opens, it doesn't close the position. What closes it is your choice: if Profit Lock is on, PNL tracking takes over (while it's on, the Trailing Stop, Take Profit Net, Limit Take Profit Net boxes are locked); if it's off, the numbers you entered in these three are placed as orders on Binance and the position closes from there. DCA Rescuer and Liquidation Shield kick in under their own conditions; and you can always close from the panel with CLOSE or manually from Binance.

Each row was tested separately on this chart's own engine.
STABILITY CANDLES (COUNT)
| Value | What happens | Entry moment |
|---|---|---|
| 0 | LAYER OFF — the engine never looks at this row on this timeframe | |
| 1 | downward pressure will be on top in the last 1 candle | 9 |
| 3 | downward pressure will be on top in ALL of the last 3 candles | 9 |
| 5 | downward pressure will be on top in ALL of the last 5 candles | 9 |
| 10 | downward pressure will be on top in ALL of the last 10 candles | 4 |
| 15 | downward pressure will be on top in ALL of the last 15 candles | 1 |