Login Page - Create Account

Support Board


Date/Time: Sat, 23 Nov 2024 20:19:04 +0000



How to sell 25%, 50% of a position (as percentage and NOT fixed number)

View Count: 437

[2024-03-19 12:59:54]
funbun - Posts: 90
As equity traders we often have very different position sizes from 200 to 10,000 shares, depending on stock and volatility.

There's simply not enough Quantity Buttons to show all different numbers between 200 and 5000 to get a portion out.
(Even if there was enough buttons, it's very cumbersome to try to find the right button while in a position)

I've looked extensively through the docs to find the way to set a % of position for an exit but all I could find is setting a fix number for the quantity, which is as I mentioned, impractical.
[2024-03-19 13:28:07]
Jimmyy - Posts: 221
I would want this too. Like a trade command to flatten/sell % of your position would be awesome. I have to always keep changing the order quantity. :/
Date Time Of Last Edit: 2024-03-19 13:46:59
[2024-03-19 15:14:33]
John - SC Support - Posts: 36238
There is not a built-in method to determine quantity by a percentage.

You would have to create a custom study to do this. Refer to the following:
Automated Trading From an Advanced Custom Study
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2024-03-20 04:39:52]
Jimmyy - Posts: 221
There is not a built-in method to determine quantity by a percentage.

You would have to create a custom study to do this. Refer to the following:
Automated Trading From an Advanced Custom Study

Using this will i then be able to add the command in chart trade menu ?
[2024-03-20 15:48:31]
John - SC Support - Posts: 36238
Refer to the following:
Advanced Custom Study Interaction With Menus, Control Bar Buttons, Pointer Events
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2024-03-24 05:08:16]
Jimmyy - Posts: 221
Hi funbun,

Were you able to figure this out ?
Date Time Of Last Edit: 2024-03-24 06:19:19
[2024-03-24 08:25:24]
funbun - Posts: 90
Not natively.

I’m in the works with a developer to code such a thing. And still there are some complications such as proper routing which seems to be tricky, but we’re giving it a shot
[2024-07-23 06:22:54]
Jimmyy - Posts: 221
Hi Funbun,

Any progress on partially exiting a position ?
[2024-07-23 06:25:34]
funbun - Posts: 90
Yes. The only way was to contact a developer and code that function.
I'm very happy with the results, it works well and stable.
[2024-07-23 06:28:37]
Jimmyy - Posts: 221
are you able to send me a screen recording showing the same please ? like on a chart recording

Also, How much did you had to pay to get it done ?
Date Time Of Last Edit: 2024-07-23 06:34:12
[2024-07-23 06:34:29]
funbun - Posts: 90
It was around $600 if I remember well.
A recording won't help since the study is coded to use specific keyboard shortcuts for different order types, I chose not to use the trading panel but it's definitely possible
[2024-07-23 06:37:51]
Jimmyy - Posts: 221
I see, would i be able to create buttons for order types and have the buttons in my control bar ?
[2024-07-23 06:40:40]
funbun - Posts: 90
Yes, all of the functions you mentioned are possible. Order types, routes, sizes, position fractions etc. It's all doable
[2024-07-23 06:44:52]
Jimmyy - Posts: 221
Last question : So lets say I wanna close 50% of my position, Is it possible to flatten 50% of my position with just 1 command (1 button) regardless if the position is long or short or will I need two commands (i.e two buttons) depending on the position being long or short?

Thanks
Date Time Of Last Edit: 2024-07-23 06:45:22
[2024-07-23 06:52:43]
funbun - Posts: 90
Onn the developer coded for me scenarios that are more complex than that.
He identifies if the position is Long/Short, if the order was partially filled, compute bracket orders and send orders accordingly.
So your scenario is definitely possible
Date Time Of Last Edit: 2024-07-23 06:53:17

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account