> For the complete documentation index, see [llms.txt](https://docs.runbot.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.runbot.io/triggers-boxes/exit-position-rules/tp-candle-atr.md).

# TP Candle %/ATR

**Exit 100% of the current position (by default) if the market is going x% (or ATR) away from the largest low/high of the last candles and in favor of current position.**&#x20;

*Ex: \[Order size 100%] \[Limit at 0%] \[away from the lows of the 10, previous 1 hours candles with wick]*

*-> Highest market price during the last 10 hours is 51 000$.*\
*After entering a long position at 50 000$ BTC price, the position fully exit at a again at 51 000$ (51 000$ - (0%\*51 000) which is 0% higher from the last 10 hours (10x1 hour) price low (including wicks).*&#x20;

*This feature allows you to execute a take profit below or above recent markets low or high.*&#x20;

*This also allows you to take profits at equal high/low (if 0% away from candle, like in this example), to take profit at resistances/supports.*
