how can i have a mt5 code without repaint? your indicator is wrong with alter function because it have a lot of noise message. maybe you can have another code to write a code to record the content of the previous alarm. The current alarm content cannot be the same as the previous alarm content.