I have slightly updated the SqKAMA indicator. However, it is not performance related, it is just solving the warning from the editor.
I have checked the code, the code uses IndicatorCounted to prevent the indicator from recalculating the value. Besides, the logic doesn't contain any long processing logic. There is possible long processing when the user sets a higher value to kama_period which causes the loop longer. I have tested with kama_period 1000 which is okay as well.
I have researched this topic. When the PC memory is low, we can easily get this error even if the indicator is well coded. Too many running EA or indicators can cause it. If that happens, the user needs to monitor the PC memory and consider upgrading the memory size. Besides, some MT4 users have suggested we lower the max bars in the chart to lower the memory.
We cannot hide/ignore the message due to that message is from MT4