Login Page - Create Account

Support Board


Date/Time: Fri, 03 May 2024 17:07:13 +0000



Trade Management by study not working with multiple chart replay

View Count: 947

[2020-04-10 16:28:08]
User355030 - Posts: 163
After trial and error, I notice that it works when I "Single Chart" reply, but if I replay "All charts in chartbook" it does not work....
[2020-04-10 21:11:38]
Sierra Chart Engineering - Posts: 104368
That makes no technical sense at all.

The study has a "Detailed Debugging" option that you can set to Yes for detailed debugging to see what the issue is.
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
[2020-04-10 21:35:22]
User355030 - Posts: 163
It amazes me how unprofessional and condescending "Sierra Chart Engineering" is. Especially when "Sierra Chart Engineering" doesn't solve the majority of questions/issues that are posted on the supported board. Those questions/issues are generally solved by the community. Furthermore, I already used the "Detailed debugging" feature and the message log displayed "The 'Controlling Subgraph Reference' value is 0 at the last bar." The value it's referencing is not "0" so the debugging wasn't very helpful. I then began to do some trial and error and found out that if the chart is in "Single Chart" replay mode there are no issues with the "trade management by study," but when I did a replay in "All charts in the chartbook" then the "trade management by study" would not work.
[2020-04-11 06:55:18]
Sierra Chart Engineering - Posts: 104368
It amazes me how unprofessional and condescending "Sierra Chart Engineering" is. Especially when "Sierra Chart Engineering" doesn't solve the majority of questions/issues that are posted on the supported board.
This is just completely and totally untrue. Anyone can observe that.

And we have no idea what you mean by "unprofessional", but our vast expertise and technical help and vast knowledge because we wrote that study, is second to none. You are speaking to the engineer who worked on that study. We know it inside and out. When we say it does not make technical sense based upon the information you provided, that is a definite fact. Keep in mind, you are not providing surrounding details. We are providing a definite fact based upon the information given.


Those questions/issues are generally solved by the community.
This is completely and totally untrue either. Sometimes we have to delete posts from other users, when they are posting incorrect help to other users.

It is true that we do not provide programming help and then mark those as Programming Help or User Discussion but that is completely something separate. Perhaps that is what you are referring to, so in that case, yes we are leaving that for the community because that is not within the scope of our support. Users are not paying for that. And it is very detrimental for us to get involved in that.

The value it's referencing is not "0" so the debugging wasn't very helpful.
The debugging could could not be inaccurate. If that is what it says, then this must be correct. However, we do see what the issue is. The log line is not entirely accurate with what it is saying.

Since you have Adjustment Timing Input set to On Bar Close (we can infer this based upon what you said in your second post), the correct log message is as follows:
The 'Controlling Subgraph Reference' value is 0 at the bar prior to the last bar.

So we are going to update that message in the next release. So apparently there are studies on the chart which are making reference to other charts and there is some problem related to that.
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: 2020-04-11 07:00:13
[2020-04-11 07:35:15]
Sierra Chart Engineering - Posts: 104368
and the message log displayed "The 'Controlling Subgraph Reference' value is 0 at the last bar." The value it's referencing is not "0" so the debugging wasn't very helpful.
The other possibility is that you are looking at the value after the study is accessing the subgraph value which could be different between the two points in time. The reason for this has to do with the order of calculation of studies:
Chart Studies: Study Calculation Precedence And Related Issues
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: 2020-04-11 07:39:48
[2020-04-11 15:45:08]
User355030 - Posts: 163
"Since you have Adjustment Timing Input set to On Bar Close (we can infer this based upon what you said in your second post), the correct log message is as follows:
The 'Controlling Subgraph Reference' value is 0 at the bar prior to the last bar."



- The adjustment timing input has always been set to "Every N Seconds" and with the other possibility you listed "The other possibility is that you are looking at the value after the study is accessing the subgraph value which could be different between the two points in time. The reason for this has to do with the order of calculation of studies:" I just don't understand how there is no issue with a single chart replay and there is an issue with all chart replay...
[2020-04-11 15:52:15]
User355030 - Posts: 163
@tomgilb
[2020-04-11 22:27:55]
Sierra_Chart Engineering - Posts: 14204
What Study and Subgraph is the Controlling Subgraph Reference set to? It is that study dependent on any other chart or study?

You can determine the calculation order as explained here:
Chart Studies: How Calculation Order of Studies Is Determined

Is the Study Subgraph being referenced calculated first?

We will change the calculation precedence for the Trade Management by Study to very low in the next release. That should not cause a problem because there should not be any other study depending upon it.
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
[2020-04-11 23:00:25]
User355030 - Posts: 163
The Trade Management by study is referencing P3 cell within the spreadsheet trading. The P3 formula is =IF(K3,D4,IF($J$8<0,0,P4)).

When my buy entry gets triggered, this formula grabs the price level, and my stop loss is based off of it.
[2020-04-12 01:57:07]
Sierra Chart Engineering - Posts: 104368
Ok that is most likely the problem then. It is hard to say without detailed testing and analysis. If it is, this should solve it:
We will change the calculation precedence for the Trade Management by Study to very low in the next release. That should not cause a problem because there should not be any other study depending upon it.

So as you can see, tomgilb was not able to help you here. Only we can. After the update you will need to move the Trade Management By Study to the end of the Studies to Graph list to ensure it is calculated last.
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: 2020-04-12 01:58:36
[2020-04-12 02:37:25]
User355030 - Posts: 163
Thank you, what is the ETA for the next release?
[2020-04-13 19:34:23]
Sierra Chart Engineering - Posts: 104368
It has already been released. Update with Help >> Download Prerelease.

If you still have a problem the next question is does the Spreadsheet Study you have created have a dependency on another chart than the chart it is on?
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
[2020-04-14 00:59:16]
User355030 - Posts: 163
I just did some testing and it looks to be working as expected now, thank you!

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

Login

Login Page - Create Account