Support Board
Date/Time: Tue, 16 Dec 2025 10:10:18 +0000
Post From: Custom Study Refreshing
| [2025-01-31 01:18:16] |
| User719512 - Posts: 354 |
|
If your study is calculating intra-bar (when live data is flowing) and setting an SG (subgraph) to a non-zero value and that condition is no longer true on bar close, than the historical bars calculated during a Full Recalculation will not detect those signals. If the signals are valid at bar close, then your code should be recalculating those signals on chart refresh when it re-enumerates from bar index 0 to the last bar (sc.ArraySize-1) on refresh/recalculate. |
