Login Page - Create Account

Support Board


Date/Time: Fri, 07 Feb 2025 15:17:58 +0000



Post From: color background based on alert condition and the ACSIL equivalent don't update the same!?

[2022-03-09 18:49:15]
User133994 - Posts: 80
Support,

I have 2 identical indicators:
Color Bar based on alert condition:

<snip>
And the ACSIL equivalent:
<snip>
However, ONLY the "Color Background based on Alert Condition" updates as expected...i.e. paints the background in "real-time" as the updates occur.

The ACSIL study when compiled and added to the chart--doesn't paint background in "real-time"; however, if I select Chart->Recalculate, the ACSIL study then paints the highlights exactly as the Color Background study. ?

Please help. I need the "real-time" painting of background highlights, but I want to use an ACSIL study to do it.

Why don't these "identical" studies have the same behaviour? How can I make the ACSIL one behave like the other?

I have already tried adding sc.UpdateAlways =1; in the sc.Defaults of the ACSIL study block--and recompiled..but it still isn't working.

I have applied the Chart Recalculation-Periodic study and that works...but is not manageable. Recalculating the chart every 1 second is not a good practice.

Important note: ID64 is a reference to a study on a higher timeframe chart.

Thanks again for your assistance.
Date Time Of Last Edit: 2022-03-11 14:54:30