Updating EA calculations

 
We know that the EA will update the calculations within the start function block when new tick arrives. However, sometimes for thinly traded pairs, there are lot of times when there are no new ticks coming in for a while. However, I want to force my EA to update the calculations within the start block every 10 seconds even if there is no updated ticks. I know I can use refreshrates, but it should be within some kind of loop. I am not getting that right. Can someone help me?

Thanks,
Maji
 
Use Scripts.
 
Use Scripts.


Can you provide an example?

thanks,
Maji