Login Page - Create Account

Support Board


Date/Time: Fri, 03 May 2024 18:22:35 +0000



for entry through spreadsheet for trading place target for only half of the lots

View Count: 411

[2023-01-18 16:06:37]
User368741 - Posts: 17
For a entry lets suppose for 4 lots I want to place a certain target for 2 lots and different target for other 2 lots and stop for all 4 lots is this possible to execute ?
[2023-01-18 17:49:27]
John - SC Support - Posts: 31355
As long as you have not entered any values in cells J80 and J81 (Attached Order Target/Stop Offset) then the Attached Orders for an order placed through the Spreadsheet will be taken from the Trade Window for that chart.

Therefore, you would setup the Attached Orders as you want them on the Trade Window (and ensure the option for Use Attached Orders is enabled) and then place an order through the spreadsheet and you will get those attached orders.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2023-01-18 18:30:02]
User368741 - Posts: 17
but for attached orders through trade window can the prices be passed through spreadsheet. Question is how to pass the target offset and quantity through spreadsheet to the trade window
Date Time Of Last Edit: 2023-01-18 18:32:50
[2023-01-18 18:33:12]
John - SC Support - Posts: 31355
Whatever you have set in the Trade Window for the Attached Orders will be how those Attached Orders are entered. So whatever offsets you have set for the Attached Orders will be used.

There is not a way to "pass the information to the Trade Window". You are either using the Trade Window Attached Orders, or you are using the Spreadsheet Attached Orders.
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: 2023-01-18 18:34:09
[2023-01-18 18:39:32]
User368741 - Posts: 17
for each entry generated in the spreadsheet for trading study the target offset is dynamic so entering through trade window wont be an option as we can only have a fixed values their and so we need to execute this through spreadsheet attached orders only but in that the target is placed for all the lots for which the entry is taken and what I need is that I want to split the target for different quantity
[2023-01-18 19:09:05]
Sawtooth - Posts: 3992
for each entry generated in the spreadsheet for trading study the target offset is dynamic
The way I do this is to use the Trade Management by Study study, that references a Formula Column/subgraph, where you use a formula to return the target price.
If you have two targets, use two instances of the TMS study, and two Formula Columns, and set the 'Attached Order to Manage' to the respective OCO Group #.
Attached Orders: Study Controlled Targets and Stops
Date Time Of Last Edit: 2023-01-18 19:38:37
[2023-01-19 00:15:33]
Sierra_Chart Engineering - Posts: 14205
Regarding post #5 you really need to use ACSIL for this instead of Spreadsheets:

Automated Trading From an Advanced Custom Study
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2023-01-19 08:55:36]
User368741 - Posts: 17
@tomgilb how to do this about a single order split the lots and place targets for them like for a 4 lot entry I want to place one target for 2 lots and another 2 lots ?
[2023-01-19 12:57:27]
Sawtooth - Posts: 3992
for a 4 lot entry I want to place one target for 2 lots and another 2 lots
Create a Trade Window config with 2 targets, and check 'Use Attached Orders' on the Trade Window.
The TMS studies will then move these targets to the prices you want.

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

Login

Login Page - Create Account