Login Page - Create Account

Support Board


Date/Time: Mon, 08 Sep 2025 16:11:08 +0000



Post From: ACSIL Windows GDI Wrapper functions with sc.DoNotRedrawChartAfterStudyReturns

[2025-09-03 01:45:33]
User719512 - Posts: 321
Interesting post @User346098. Not sure I understand your use case, nor do I understand how this flag should be used as none of the Sierra Chart samples seem to use it and the docs mention using it for performance reasons.
ACSIL Interface Members - Variables and Arrays: sc.DoNotRedrawChartAfterStudyReturns

Are you setting this in certain circumstances in your code?

If your study were to set its own Persistent variable, your GDI function could check for this, then the overhead would be a call to your function which could return right away. Not technically as fast as Sierra checking the flag and not calling your function, but also not that much of a hit overall.