I needed to duplicate the MA window to get the colors to update properly. This can be seen in the "Duplicated Analyzer Example".
Is there something I need to add in the OnBarUpdate() to refresh this window? I do not update the "CurrentValue" variable on each bar, but only when the value is changed. This happens maybe every 10 bars.
Comment