Login Page - Create Account

Support Board


Date/Time: Thu, 28 Mar 2024 10:57:20 +0000



Automatically assign TARGET CONFIGURATION

View Count: 1068

[2018-12-10 15:44:54]
User51166 - Posts: 33
Is possible in next version add functionality into sierra chart: with change of quantity of traded contracts automatically chose default TARGET CONFIGURATION please see attachment. tHANKS
attachmentASIGN TARGET CONFIGURATION.docx - Attached On 2018-12-10 15:41:38 UTC - Size: 108.45 KB - 328 views
Attachment Deleted.
[2018-12-10 19:57:00]
Sierra Chart Engineering - Posts: 104368
You can do this using ACSIL:
https://www.sierrachart.com/index.php?page=doc/Contents.php#AdvancedCustomStudySystemInterfaceandLanguage

You have the ability to change the trade window configuration through ACSIL, but be sure you are running 1850 and you can also use sc.UpdateAlways and periodically check the current trade window order quantity.

Here is the relevant documentation:
ACSIL Interface Members - Variables and Arrays: sc.TradeWindowConfigFileName
ACSIL Interface Members - Variables and Arrays: sc.UpdateAlways
ACSIL Interface Members - Variables and Arrays: sc.TradeWindowOrderQuantity
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, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2019-01-25 21:02:46]
ILIM KIRGIZ - Posts: 187
Dear Support,
I use different presaved twconfig files for different scenarios. My programmer is developing a position sizing study which allows reading stop loss and entry price levels on the chart before entering a trade to set quantity, and attached order targets.

Is it possible to read selected order type in trade window via a study? If yes, via which function? If we can read it from the trade window, our study will also fill the limit/trigger/stop fields in the trade window too.

So our workflow will be as follows:
selecting the twconfig file via trade window combo box
while our study is active, It will read the parent order type.
setting the stop level via our study (with a mouse click)
setting the entry level via our study (with a mouse click) per order type into the relevant field (limit/stop/trigger)
calculating the position size per risk tolerance and account balance (we developed a solution for that to obtain it from LMAX too)
setting the targets (stop all and profit takes to attached order fields)

In order to achieve this, we need to be able to read the selected parent order type in the trade window.
Thanks.
[2019-01-26 05:06:50]
Sierra Chart Engineering - Posts: 104368
We did see your other post about this but we just have time now to review this. We can add this but it would be for an additional cost. About 50 USD.
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, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2019-01-26 09:17:17]
ILIM KIRGIZ - Posts: 187
Ok, I can pay for it. Please let me know your estimated duration for that as my programmer is waiting for it and how I can pay for this service.
Thanks.
[2019-01-28 21:30:25]
Sierra Chart Engineering - Posts: 104368
We will try to get this done before the end of the week.

You can add credit here if you do not already have that amount:
https://www.sierrachart.com/UserControlPanel.php?page=AddAccountCredit
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, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2019-01-28 21:31:05
[2019-01-29 18:23:05]
ILIM KIRGIZ - Posts: 187
Credit added for this purpose. Thank you.
Please let me know when you are done.
Thanks again.
Date Time Of Last Edit: 2019-01-29 18:23:31
[2019-02-04 09:45:15]
Sierra Chart Engineering - Posts: 104368
This is done but we have another issue we need to resolve before we can get a release out. Just allow about another 1 to 2 days.
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, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2019-02-07 18:18:00]
ILIM KIRGIZ - Posts: 187
Is there any update about this development?

I scan through ACSIL trading document and I could view that to determine the status of an order it is first necessary to obtain the Trade Order data with the sc.GetOrderByOrderID or sc.GetOrderByIndex function. The current order status can be determined with the s_SCTradeOrder:: OrderStatusCode structure member.
In the case of having 4 profit targets+common stop in attached orders configuration, Is there a way to determine the moment after Target1,2,3 reached (or only Target3 as it can't fill before Target1 and Target2) but Target 4 is an active status via a study/ACSIL?
Thanks.
[2019-02-07 22:20:31]
Sierra Chart Engineering - Posts: 104368
This is done and documented here:
sc.GetTradeWindowOrderType()

The problem is in 1870 the actual function is misspelled in the header and we apologize for that. We are resolving this in 1871 coming out later today.


In the case of having 4 profit targets+common stop in attached orders configuration, Is there a way to determine the moment after Target1,2,3 reached (or only Target3 as it can't fill before Target1 and Target2) but Target 4 is an active status via a study/ACSIL?
You could look at the order fills themselves to know if they have been reached. Refer to:
Automated Trading From an Advanced Custom Study: sc.GetOrderFillEntry()
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, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2019-02-09 03:24:00

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

Login

Login Page - Create Account