Support Board
Date/Time: Mon, 13 Jan 2025 09:26:49 +0000
recalculate on scroll
View Count: 1243
[2015-10-24 12:14:57] |
jesslinn - Posts: 108 |
Is there a way to make a chart or custom study update, even when there is no new market data? In particular, I have a study with a user drawn chart object that I would like to update when the display is scrolled back, even if there is no new data. I can get the desired result by manually pressing "recalculate" or by opening the chart settings, but it would be useful to be able to automatically update after a scroll event or periodically every half second or something.
|
[2015-10-24 13:24:05] |
ejtrader - Posts: 688 |
sc.UpdateAlways = 1; -- This would keep the study updated all the time - whether there are any new ticks or not. You can try it out.
|
[2015-10-24 15:19:16] |
jesslinn - Posts: 108 |
Perfect, not sure why I have never noticed that flag. Thank you ejtrader. |
[2017-04-11 17:17:33] |
User104854 - Posts: 457 |
Hi. I just came across this. I too have a study that I would like to be recalculated like this automatically. Can you please tell me how to apply sc.UpdateAlways = 1 so that my charts update like this? I'm not familiar with the process. Thank you.
|
[2017-04-11 17:26:24] |
Sierra Chart Engineering - Posts: 104368 |
If you have to ask this question, then apparently you are not even familiar with ACSIL. Refer to: http://www.sierrachart.com/index.php?page=doc/AdvancedCustomStudyInterfaceAndLanguage.php We cannot provide further help. 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 |
[2017-04-11 18:03:08] |
User104854 - Posts: 457 |
I'm not familiar but it doesn't mean that I don't need certain studies to update regularly. What about the chart update interval in milliseconds setting? Does that update the studies on the chart automatically? The issue that I have is with the Color Bar Based on Alert Condition study. I want the indicators to show up as the bar is developing but once the bar is complete it is not accurate and I continually have to click on recalculate to update it. Can you help me resolve my problem or did you just want to point out that I don't know ACSIL? What can I do to resolve it? Thanks. |
[2017-04-11 18:07:45] |
Sierra Chart Engineering - Posts: 104368 |
You do not need UpdateAlways. That is not relevant or will solve the problem. I want the indicators to show up as the bar is developing but once the bar is complete it is not accurate and I continually have to click on recalculate to update it.
The only help we can provide with this is to refer you to the relevant documentation which is here:Chart Studies: Study Calculation Precedence And Related Issues It is an issue with the study calculation order and dependencies. It is not part of our support offerings to assist with 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 Date Time Of Last Edit: 2017-04-11 18:08:17
|
[2017-04-14 16:06:36] |
User104854 - Posts: 457 |
Thank you for the info. I found a solution that I'll post in the event that it will help someone else with a similar issue. What I did was make 2 versions of my indicator. The first one calculates the info as the bar is forming. I have number of bars to calculate set to 1 and under the alerts tab I have nothing checked so that it changes in real time. Then I have the same indicator with number of bars to calculate at a high number so that it shows all of them historically. I also have the 'evaluate on bar close' checked under alerts. This solved it and it works and displays perfectly.
|
To post a message in this thread, you need to log in with your Sierra Chart account: