# Confirmations

> Name each condition a setup needs.

Source: https://algobarsx.com/docs/confirmations/

A `confirmations` block lists named conditions and how many must agree: `require: all` or `require: at least N`. It gives you `.passed` to use in a rule.

```algobarsx
confirmations long_setup:
    trend: trend_up
    momentum: rsi(close, 14) > 55
    volume: volume > sma(volume, 20) * 1.5
    structure: break_of_structure(direction: up)
    higher_tf_trend: h4.close > ema(h4.close, 50)
    ribbon_up: ribbon.up
    require: at least 5
```

The backtest report breaks trades down by which confirmations agreed, so you can see which ones earn their place.
