Login Page - Create Account

Support Board


Date/Time: Wed, 15 May 2024 13:06:09 +0000



Post From: Autoloop call function

[2020-03-02 18:41:01]
stephane1 - Posts: 110
I created a study that works well with historical data .... but in real time or in replay the intended alarms are not displayed. I think I am not well understood how the function is called in real time. If I understood correctly ... at each tick change the function is called? or at each bar? it depends if autoloop is on 0 or 1? In my study, I have a vector and variables which must not be initialized each time the function is called ... should we use persistent variables? but for the vector?
thank you