Support Board
Date/Time: Thu, 30 Oct 2025 10:22:29 +0000
[Programming Help] - Recalculate target study only
View Count: 461
| [2025-04-18 17:23:24] | 
| User200641 - Posts: 8 | 
| I am attempting to use study A to modify the inputs to study B.  I can see that the inputs to study B are being modified correctly but the updates don't take place.  When sc.RecalculateChart(sc.ChartNumber); is added, study A is also also recalculated, which then re-triggers the chart recalculation, which recalculates study A, etc. etc.  My chart freezes until the study is removed. Is there "sc.RecalculateStudy()" function equivalent where I only recalculate study B? Or perhaps a better way to handle updating other study inputs? Thanks | 
| [2025-04-19 19:13:22] | 
| User200641 - Posts: 8 | 
| To anyone reading this in the future: I was able solve this by wrapping the recalculation portion of my study code in the simple if statement below: if(!sc.IsFullRecalculation) { // Your recalculation code here e.g.: sc.RecalculateChart(sc.ChartNumber); // Also can wrap anything else you don't want run during recalculation here } | 
| [2025-04-19 21:57:09] | 
| Sierra_Chart Engineering - Posts: 21258 | 
| It is not possible to calculate a single study. They all must be calculated at once and in the appropriate order. 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 | 
To post a message in this thread, you need to log in with your Sierra Chart account:
