> For the complete documentation index, see [llms.txt](https://docs.origami.tech/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.origami.tech/function/technical-analysis/stop-and-reverse.md).

# Stop-and-Reverse

## [Stop-and-Reverse](/function/technical-analysis.md#stop-and-reverse)

<mark style="color:red;">`sar(`</mark>[<mark style="color:blue;">`candles`</mark>](/function/functions/candles.md)<mark style="color:red;">`: List[[`</mark>[<mark style="color:blue;">`Candle`</mark>](/function/structures.md#candle)<mark style="color:red;">`]], af: float = 0.02, amax: float = 0.2) -> List[Decimal]`</mark>
