Find First Index Highest (FINDFIRSTINDEXHIGHEST)
QuantNexus indicator page for first-highest index lookup.
Route: /quantnexus/indicators/findfirstindexhighest/
What It Does
FINDFIRSTINDEXHIGHEST returns the first bar index where the highest value occurs inside the lookback window.
Formula
Return the earliest index that matches the maximum value condition in the window.
Parameters
period- default14_evalfunc- defaulthigh
C++23 API
#include <nonabt/indicators/findfirstindexhighest.hpp>
auto firstHighIndex = std::make_unique<nonabt::FINDFIRSTINDEXHIGHEST>(data(), 14);
Common Usage
- Use it to locate the first peak in a lookback range.
- Combine with breakout and reversal logic.
- Helpful when the first top matters.
