Continuous alarm for Alert function

When Alert function is used, I know we can customize sound, but I am looking for ideas how can i code a continuous alarm function which only stops when its turned off by user. 

A loop with a button on the chart.

But I would not use Alert (floods the log) but only playsound() with a small sleep.