Login Page - Create Account

Support Board


Date/Time: Wed, 12 Feb 2025 18:03:32 +0000



Post From: Detecting if the chart is at the end

[2020-11-07 08:40:32]
ycomp - Posts: 321
I made a study using this code (it would display text if not at the end of the chart).. It worked great.

then I upgraded to 2192 and it stopped working (displaying text).

I then added sc.UpdateAlways = 1; // Set this study to continuously update

as suggested by the docs above and it works now.

just mentioning it in case anyone comes across this thread later.

upon reflection, i think the update had nothing to do with it.. it is probably because the market is dead right now seeing that it is the weekend. So I guess updatealways is not required during the week
Date Time Of Last Edit: 2020-11-07 08:42:52