> 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/magnetic-tp-atr.md).

# Magnetic TP %/ATR

As soon as the price get close to your initial take profit, the take profit will be adjusted according to the specified period.&#x20;

**Reduce the take profit target by x%/ATR every n candles once the price is at a distance lower than the trigger %/ATR**

*Ex:*&#x20;

<figure><img src="/files/bXVwy3BcuievZHyDgK8O" alt=""><figcaption><p><strong>As soon as the price enters a distance lower than 1 ATR of the take profit, the initial take profit target of 5 ATR will be reduced by 0,5 ATR every hour.</strong></p></figcaption></figure>

*-> After entering a long position at 10 000$ BTC price, and with a initial take profit at 10 500$ (+5 ATR), the target is not hit yet.*

*One hour later, the price hit 10 450$, but has not hit the TP yet. However, 10 420$ is below the 1 ATR away from the target, so the decay trigger price will start. Every 1 hour candle, the initial take profit will be reduced by 0.5 ATR.*&#x20;

*The new take profit is now 4.5 ATR wich represent a price of 10 450$ per bitcoin.* \
*The price pumps a few moments later to 10 450$ and the market profit order is triggered.*<br>
