If I understand what you are asking, you want to simply move your indicators inside the loop. The values will be updated every time you run through the loop. If you want to check that they are updated at each iteration, add a Wait function inside your loop.