How do it create an EA with it's own timer and excute itself every second

 
Currently an EA has to be attached to a chart and the "start" method gets triggered for each ticket. How could I write an EA with it's own timer, and excute piece of code at certain timeframe, for example, every second.
Thanks!
 
You may use endless loope script with Sleep(1000) .
Reason: