Down Day Bool (DOWNDAYBOOL)
QuantNexus indicator page for DOWNDAYBOOL.
Route: /quantnexus/indicators/downdaybool/
What It Does
DOWNDAYBOOL returns a boolean-style result showing whether the current bar is a down day. It is a simple helper for rule logic.
Formula
Down Day Bool = true when Close < Previous Close
Parameters
period- default14
C++23 API
#include <nonabt/indicators/downdaybool.hpp>
auto downdaybool = std::make_unique<nonabt::DOWNDAYBOOL>(data(), 14);
Common Usage
- Use it as a filter for bearish days.
- Combine with trend or volume conditions.
- Good for quick count-based logic.
Practical Pattern
DOWNDAYBOOL is most useful as a building block in custom multi-condition systems.
