> For the complete documentation index, see [llms.txt](https://docs.trojanonsolana.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.trojanonsolana.com/telegram-bot-user-guide/crypto-limit-orders.md).

# Limit Orders

Limit Orders can be a game changer for your strategy on the Trojan bot. Set a limit buy order to pick up a pico bottom or set a limit sell order to secure profit or sleep comfortably with a stop loss.

### Limit Buy

{% columns %}
{% column %}

1. Click on **Buy** from the Main Menu or simply enter a CA at any time.
2. Make sure your green check mark is on **Limit**. The active wallet for this Limit Buy is indicated. Use the gear icon to switch wallets or configure a bundle.
3. Select the amount to buy or set custom.
4. Confirm your slippage setting.
5. Set **Trigger** - 3 Options:\
   • **Price** ($.000XX), Mcap (e.g. 150k mcap) or +/- % change.\
   • **Event:** Migration or Dev Sell.\
   • **Scheduled:** Simply enter an amount of time before executing the buy.
6. Set Expiry ex. 30d = 30 days; 10s = 10 seconds; 5m = 5 minutes; 2h = 2 hours.
7. Once the necessary parameters are set, click **Create Order**.
   {% endcolumn %}

{% column valign="middle" %}

<figure><img src="https://455021030-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPbjL84bcW0ZSO2seerWR%2Fuploads%2FXgb4nFoeu21h1HavtGpX%2Flimit%20buy%20screen.png?alt=media&amp;token=a64a9ddc-9021-4275-8a5f-a28227ddfadd" alt="Buy panel depicting a limit buy.  Details in text to the left."><figcaption></figcaption></figure>
{% endcolumn %}
{% endcolumns %}

{% hint style="success" %}
**Managing Limit Orders**\
\ <img src="https://455021030-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPbjL84bcW0ZSO2seerWR%2Fuploads%2FIp2us2qQJV6xOn5enA4T%2Fstart%20button.png?alt=media&amp;token=535314e5-b9ce-4dc4-8bb6-c42b1cc7a8ec" alt="" data-size="line"> -> <img src="https://455021030-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPbjL84bcW0ZSO2seerWR%2Fuploads%2FgvpHAFKteCRvM8GMvRmB%2FLimit%20Orders%20button.png?alt=media&amp;token=dab9f3cf-b661-450e-b2b6-48e076f18980" alt="" data-size="line">\
\
• Use **Close** to close specific active orders.\
• Use **Close All** to close all active orders.
{% endhint %}

### Limit Sell

{% columns %}
{% column %}

1. Click on **Sell** from the Main Menu and choose the token OR select a token from the Positions page.
2. Make sure your green check mark is on **Limit.**
3. Select % to sell or set custom.
4. Confirm your slippage setting.
5. Set **Trigger** - 3 Options:\
   • **Price** ($.000XX), Mcap (e.g. 150k mcap) or +/- % change.\
   • **Event:** Migration or Dev Sell.\
   • **Scheduled:** Simply enter an amount of time before executing the buy.
6. Set Expiry ex. 30d = 30 days; 10s = 10 seconds; 5m = 5 minutes; 2h = 2 hours.
7. Once the necessary parameters are set, click **Create Order**.
   {% endcolumn %}

{% column valign="middle" %}

<figure><img src="https://455021030-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPbjL84bcW0ZSO2seerWR%2Fuploads%2F1tQ3jSL5aorIj0fuBsyZ%2FLimit%20Sell%20screen.png?alt=media&amp;token=3602327c-3dfb-4771-88ae-a48886b74129" alt="Sell panel depicting a limit sell.  Details in text to the left. "><figcaption></figcaption></figure>
{% endcolumn %}
{% endcolumns %}

{% hint style="success" %}
If you want to create a Stop Loss (S/L) enter a negative % for price change. To create a Take Profit order (T/P) enter a positive percentage.\
\
If you are setting a Stop Loss order, you have an additional option to make it a **Trailing Stop Loss**. To do so, click on 'Trailing' and you will see the price trigger switch to 'Price Change'. Here you enter the % change in price at which you want the sell to execute. **The change is relative to the highest price the token reaches after creating the order.**

For Example: **You set a trailing stop loss for -20% when the token price is 100:**

\- Price moves to 90, stop loss = 80 (**doesn’t move down**)

\- Price moves to 100, stop loss = 80 (**back to original entry price, no change**)

\- Price moves to 150, stop loss = 120 (**-20% from** **current price**)

\- Price moves to 125, stop loss = 120 (**doesn’t move down**)

\- **Price drops, stop loss hits at 120!**
{% endhint %}

{% hint style="info" %}
Check out Trojan's [Auto Sell](/advanced-features/auto-sell.md) feature to automatically set a limit order strategy for every swap and Auto Buy!
{% endhint %}
