All N (ALLN)
StratCraft indicator page for ALLN utility logic.
Route: /indicators/alln/
What It Does
ALLN checks whether all values in the lookback window satisfy a condition or remain in a desired state. It is more of a utility logic line than a classic market indicator.
Formula
ALLN returns true or 1 when all observations in the last n periods satisfy the configured condition.
Parameters
period- default14
C++23 API
#include <nonabt/indicators/alln.hpp>
auto alln = std::make_unique<nonabt::ALLN>(data(), 14);
Common Usage
- Use ALLN as a rule helper.
- Combine it with other indicators to confirm persistence.
- Useful for "all bars meet condition" logic.
Practical Pattern
ALLN is better thought of as a boolean filter than a directional signal line.
