Login Page - Create Account

Support Board


Date/Time: Sat, 23 Nov 2024 17:29:28 +0000



What is the correct way to refresh a trade configuration attach to a study?

View Count: 2217

[2013-07-22 11:12:02]
flyboy615 - Posts: 56
Hi,

In my automated trading strategy i use an input to allow me to change the configuration file name. The name is set outside of the defaults so is constantly reset.

On numerous occasion I have changed the configuration of the trade configuration file only to find that is it no longer changed after a few minutes. It would seem the this information is embedded within the chart.

My sequence of events:
1. select the chart.
2. Open trade window for chart
3. modify the configuration
4. Save the configuration
5. Close the configuration
6. Press the insert key to refresh and recalculate

This seems not to swap the trade configuration file and when I return after a few minutes the old setting are still active.

What sequence should I be doing instead to insure that my changes take effect immediately?

Thanks.
[2013-07-22 17:51:59]
Sierra Chart Engineering - Posts: 104368
5. What do you mean by this?
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
[2013-07-22 20:20:01]
flyboy615 - Posts: 56
What I meant was that I closed the Trade window opened in step 2

Thanks
[2013-07-22 21:52:51]
Sierra Chart Engineering - Posts: 104368
Did you give the trade window configuration a different name? Is it the same name that you specified in the Custom trading 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, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2013-07-22 22:42:32]
flyboy615 - Posts: 56
No, I modify the twconfig file and save it under the same name. The scenario is that I notice a change in volatility and want to change targets and/or stops for the remainder of the day.
[2013-07-23 04:39:50]
Sierra Chart Engineering - Posts: 104368
Are you saving the Trade Window configuration from the chart that contains the trading study which is programmatically specifying the configuration file?
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
[2013-07-23 10:38:00]
flyboy615 - Posts: 56
I have tried both way and it seems to have the same result
[2013-07-24 22:29:04]
Sierra Chart Engineering - Posts: 104368
We need to test this.
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
[2013-07-25 04:28:01]
Sierra Chart Engineering - Posts: 104368
We really are kind of lost as to what exactly you are doing. So we do not know really how to test this. Also a test would seem futile because we cannot imagine anything would be wrong with some basic testing of changing settings on the trade window, saving them and programmatically specifying a configuration file.

You should have absolutely no trouble at all with any changes you make to the settings on the trade window. Those are going to remain unless you select a different trade window configuration from the list box at the top of the Trade window or programmatically specify a different file.
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
[2013-07-25 10:35:18]
flyboy615 - Posts: 56
Here is a scenario that I just did. This is the most consistent.

2 charts both using an automated study both using the same twcondig file

on the first chart modify and save the config file. Refresh the the data and recalculate. This is ok.

On the second chart press Refresh and recalculate. The values for the twconfig file are not changed and remain set to the old values. I shit down sierra and reload. They remain the same regardless of values set in the twconfig file.
[2013-07-25 10:43:47]
Sierra Chart Engineering - Posts: 104368
OK, now we understand your scenario and this makes complete sense. There was no way we would've ever figured this out with what you originally specified.

On the 2nd chart what you need to do is reselect the trade window configuration file name in the list of configurations at the top of the Trade Window. That is the only way to reload a configuration. It's not going to automatically change. There does not exist the kind of linking that you are perceiving.
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: 2013-07-25 10:44:07
[2013-07-25 15:14:55]
flyboy615 - Posts: 56
Ok, So really what you are saying is that the configuration file has very little use other then as an initial setup. Although that really doesn't make since if you have 30+ charts over several chart books all using the same configuration, which several of my associates do have BTW. Too often charts get missed and that can cost people money and a lot of confusion.

Let me as this then. Is there a way to programmatically force the configuration file to reload that could be executed during an If (sc.Index == 0) type of approach?

Thanks
[2013-07-25 17:51:39]
Sierra Chart Engineering - Posts: 104368
The only way you could do this programmatically is to change the configuration file to a different one and then go back to the previous one. The name actually has to change.
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

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

Login

Login Page - Create Account