[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"indicator-findlastindex-it":3},"# Find Last Index (FINDLASTINDEX)\n\n> StratCraft indicator page for last-match index logic.\n\n**Route**: `\u002Findicators\u002Ffindlastindex\u002F`\n\n## What It Does\n\nFINDLASTINDEX returns the last index in a lookback window that satisfies a chosen condition.\n\n## Formula\n\nReturn the latest bar index that matches the selected condition within the lookback period.\n\n## Parameters\n\n- `period` - default `14`\n- `_evalfunc` - default `close_gt_open`\n\n## C++23 API\n\n```cpp\n#include \u003Cnonabt\u002Findicators\u002Ffindlastindex.hpp>\nauto lastIndex = std::make_unique\u003Cnonabt::FINDLASTINDEX>(data(), 14, \"close_gt_open\");\n```\n\n## Common Usage\n\n- Use it to detect the last qualifying event in a window.\n- Combine with recency-sensitive logic.\n- Useful when the latest occurrence matters.\n"]