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 upward pressure (DI+) dominates downward pressure (DI−) — not on one candle, but on 3 candles in a row.
How do you use it?
Filters out single-candle reversals; the gate only opens once BTC's upward direction has settled. The cost is the gate staying closed during the first candles of the turn. It only filters LONG signals; the row below is for the bear side.
Which settings does it read?
The only box read is the Stability Candle in the table, entered separately for each timeframe (3 in the panel). Increasing it opens the gate less often. On a timeframe where you enter 0, the engine never looks at this row. There's no threshold — only the ordering is checked.
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 | upward pressure will be on top in the last 1 candle | 1 |
| 3 | upward pressure will be on top in ALL of the last 3 candles | 1 |
| 5 | upward pressure will be on top in ALL of the last 5 candles | 1 |
| 10 | upward pressure will be on top in ALL of the last 10 candles | 1 |
| 15 | upward pressure will be on top in ALL of the last 15 candles | 1 |