# How to maximize gain with trailing stop and bracket order

**URL:** <https://forum.alpaca.markets/t/how-to-maximize-gain-with-trailing-stop-and-bracket-order/3538>\
**Category:** Alpaca Products Discussion\
**Created:** [December 6, 2020, 11:58pm UTC](https://forum.alpaca.markets/t/how-to-maximize-gain-with-trailing-stop-and-bracket-order/3538 "2020-12-06T23:58:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![WinJ](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.alpaca.markets/winj/32/998_2.png) [@WinJ](https://forum.alpaca.markets/u/WinJ)\
**Post date:** [December 6, 2020, 11:58pm UTC](https://forum.alpaca.markets/t/how-to-maximize-gain-with-trailing-stop-and-bracket-order/3538/1 "2020-12-06T23:58:19Z")

</div>

Hi,

I have a question about how to maximize gain with trailing stop order and bracket order. Below is an illustration of the problem.

![Screenshot from 2020-12-06 15-36-23](https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/5/5f015712ab4b266785eeb96fe50a25bfc65bec73.png)

Let’s say I have submitted a trailing stop order, and when the stop price is triggered the total gain is Y%. If the gain is higher than my expectation of X% then that’s great, but if not, will I be able to use either bracket order or limit order to set a take profit price at X% while discard the trailing stop price?

I don’t think it’s some existing features, and to let it work, it seems at trailing stop price there needs to be some if-else conditions of whether to hold on the trailing stop sell and at the same time submit a bracket/limit order.

I’m not sure if this is some doable case.

Thanks for taking a look!

---

<div class="post-metadata">

**Author:** ![victor\_fci](https://avatars.discourse-cdn.com/v4/letter/v/439d5e/32.png) [@victor\_fci](https://forum.alpaca.markets/u/victor_fci)\
**Post date:** [October 28, 2023, 7:11am UTC](https://forum.alpaca.markets/t/how-to-maximize-gain-with-trailing-stop-and-bracket-order/3538/2 "2023-10-28T07:11:23Z")

</div>

I think what you are talking about is called Trailing take profit. and I am not sure if alpaca has this feature or not?
