Support Board
Date/Time: Tue, 22 Apr 2025 11:46:40 +0000
Request: option to reset quantity on position change
View Count: 123
[2025-01-21 15:30:23] |
joshtrader - Posts: 506 |
Would it be possible to add an option to: 1. Set quantity to X when flattening a position (going to Flat) 2. Set quantity to Y when entering a position (from Flat to the initial position size) 3. Set quantity to Z when position size reaches P This would be a per-DOM/chart setting. 1 and 2 combine for a scaling out strategy. Go all in with a quantity X, and immediately scaling out with quantity Y. 1 and 3 combine for a scaling in strategy. Start small with quantity X, and when position size reaches P contracts/units, scale out with smaller increments of size Z. I could try it in ACSIL if you can't add that feature. I've written a good bit of ACSIL but not for order execution, so any tips would be welcome, of course I can also read the docs and examples but maybe it's very easy. Date Time Of Last Edit: 2025-01-21 15:33:23
|
[2025-01-21 18:37:44] |
John - SC Support - Posts: 39395 |
The only way to do this with the built-in tools would be to setup and select different Trade Configurations for each stage, with each configuration set to the quantity you want at that time. Refer to the following: Basic Trading and the Trade Window: Using and Changing Between Different Trade Window and Attached Orders Configurations You could always create a custom study that would give you more control over what you want to do. Refer to the following: Automated Trading From an Advanced Custom Study https://www.sierrachart.com/index.php?page=doc/SierraChartStudyAndSystemProgrammers.php For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing Date Time Of Last Edit: 2025-01-21 18:38:56
|
To post a message in this thread, you need to log in with your Sierra Chart account: