# 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>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.runbot.io/triggers-boxes/exit-position-rules/magnetic-tp-atr.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
