Find Last Index Highest (FINDLASTINDEXHIGHEST)
QuantNexus indicator page for last-highest index lookup.
Route: /quantnexus/indicators/findlastindexhighest/
What It Does
FINDLASTINDEXHIGHEST returns the last bar index where the highest value occurs inside the lookback window.
Formula
Return the latest index that matches the maximum value condition in the window.
Parameters
period- default14_evalfunc- defaulthigh
C++23 API
#include <nonabt/indicators/findlastindexhighest.hpp>
auto lastHighIndex = std::make_unique<nonabt::FINDLASTINDEXHIGHEST>(data(), 14);
Common Usage
- Use it to locate the most recent peak in a lookback range.
- Combine with breakout confirmation or divergence scans.
- Helpful when the latest top matters.
