How can I remove the delay that this countdown sometimes have when compared with the build in countdown?
This is for volume bar charts.
Is it possible?
I tried the intrabarpersist, but the delay continued.
Code: Select all
if CurrentBar = 1 then begin
txtCountdown = Text_New_S(Date, Time, 0, " ");
Text_SetStyle(txtCountdown, 0, 0);
volumeCountdown = barinterval - ticks;
text_setlocation_s(txtCountdown, date, time_s, low);
text_setstring(txtCountdown, numtostr(volumeCountdown, 0) + "V");