> For the complete documentation index, see [llms.txt](https://docs.javsphere.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.javsphere.com/products/leveragex/trader/edit-and-close-trade.md).

# Edit & Close Trade

In LeverageX, users have full control over their trades, allowing them to edit and close positions easily.

{% embed url="<https://youtu.be/Zg1HlXrDd9k>" %}

## Editing Trades

* Each trade can be modified by adjusting Stop Loss (SL) or Take Profit (TP) settings. To do this, simply click on the edit button next to the SL/TP ($) element.
* Additionally, you can change the leverage, size, collateral, and slippage settings by clicking on the edit button next to the Size element.
* During the Minimum Trade Duration you can't edit SL, TP, or position size. [Click here for more information](/products/leveragex/trader/limitations.md).&#x20;

## Position Health

LeverageX uses a color-coded system to show the health of your position:

* Green: Your position is in profit or has a loss of up to -30%, indicating a relatively safe position.
* Yellow: Your position is at a loss between -30% and -60%. Keep a close eye on this trade.
* Red: Your position is at a loss greater than -60%. Be cautious as the position is at risk of liquidation.

## Closing Trades

* To close a trade, simply click the “Close” button. This will lock in any profits or losses and remove the position from your open trades.
* During the Minimum Trade Duration you can't close the position. [Click here for more information](/products/leveragex/trader/limitations.md).&#x20;

<figure><img src="https://818569863-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9bIWFEpTRsZsxzgy7W4L%2Fuploads%2F9myGmfSoKLxxDloH7U2t%2FScreenshot%202024-09-29%20at%2008.52.00.png?alt=media&amp;token=434ab543-057f-470b-b2c0-daffb1f880b5" alt=""><figcaption></figcaption></figure>
