Simple question

 
Is there a way to clear the alert queue programmatically with an expert?  During testing, I can end up with a large number of alerts and the only way I know to clear them is to stop and restart the entire platform; seems there has to be a better way.
 
Alerts can be disabled as well as any other functionality that is not necessary while testing in the first place, e.g.
if (!IsTesting())
    Alert("Live trading event");
Besides this technique can save some processing time
 
Irtron:
Alerts can be disabled as well as any other functionality that is not necessary while testing in the first place, e.g.
if (!IsTesting())
    Alert("Live trading event");
Besides this technique can save some processing time

Thanks for reminding me of that but I actually want the alerts, I just want to clear out the dialog box so I don't have so many. I can get dozens because I am testing an order sending loop. If I run it twice without closing the app to clear the dialog box, it is very difficult to tell where the first set ended and the second set started. I want something like AlertClearDialog :) but cannot seem to find a way to do that short of exiting the terminal and restarting it.

Scott