Login Page - Create Account

Support Board


Date/Time: Tue, 28 Jan 2025 14:03:02 +0000



Post From: ACSIL

[2017-10-21 17:58:12]
User884396 - Posts: 26
Hello, i would like to know how can i limit how many times the study is being executed per bar. Im using sc.GetBarHasClosedStatus() == BHCS_BAR_HAS_CLOSED but with a counter i can see that is being executed more than once.
I need sc.UpdateAlways = 1, can i limit a fraction of the code in order to execute it only once?