[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"indicator-fractal-en":3},"# Fractal (FRACTAL)\n\n> StratCraft indicator page for swing fractal detection.\n\n**Route**: `\u002Findicators\u002Ffractal\u002F`\n\n## What It Does\n\nFRACTAL identifies local swing highs and swing lows using a small multi-bar pattern.\n\n## Formula\n\nAn up fractal forms when the middle bar is higher than surrounding bars. A down fractal forms when the middle bar is lower than surrounding bars.\n\n## Parameters\n\n- `period` - default `5`\n\n## C++23 API\n\n```cpp\n#include \u003Cnonabt\u002Findicators\u002Ffractal.hpp>\nauto fractal = std::make_unique\u003Cnonabt::FRACTAL>(data(), 5);\n```\n\n## Common Usage\n\n- Use it to mark swing highs and lows.\n- Combine with breakout confirmation above or below the fractal level.\n- Useful for structure-based trend analysis.\n"]