[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"indicator-lagf-zh":3},"# Laguerre Filter (LAGF)\n\n> StratCraft indicator page for Laguerre smoothing.\n\n**Route**: `\u002Findicators\u002Flagf\u002F`\n\n## What It Does\n\nLAGF applies a recursive Laguerre-style smoothing chain to price and produces a filtered line that reacts faster than a simple moving average.\n\n## Formula\n\n`L0 = (1 - gamma) * Price + gamma * L0_prev`  \n`L1 = -gamma * L0 + L0_prev + gamma * L1_prev`  \n`L2 = -gamma * L1 + L1_prev + gamma * L2_prev`  \n`L3 = -gamma * L2 + L2_prev + gamma * L3_prev`  \n`Laguerre Filter = (L0 + 2*L1 + 2*L2 + L3) \u002F 6`\n\n## Parameters\n\n- `period` - default `14`\n- `gamma` - default `0.5`\n\n## C++23 API\n\n```cpp\n#include \u003Cnonabt\u002Findicators\u002Flagf.hpp>\nauto lagf = std::make_unique\u003Cnonabt::LAGF>(data().close(), 14, 0.5);\n```\n\n## Common Usage\n\n- Use filter turns as trend-change cues.\n- Combine with price crossovers for cleaner entries.\n- Useful when you want smoother output without losing too much responsiveness.\n"]