Your current setting will send you infinite signals. I guess you don't want that. When do you exactly need it to happen? And how many times is the signal supposed to be delivered?
If you are using the EXACT same bot with the EXACT same code, the problem is the broker cheating on you. Period. That would be a serious red flag for me. Remove your money from them ASAP.
You are requiring the bot to work for 1 only minute every day. Are you sure your broker is offering quotes at that time every day? On the other hand, you are requesting the bot to search what happened to candle ID 1 while drawing the arrow on candle ID 0. That means there will be a one candle delay with the information.
In my example the loop will calculate the average value for ATR from candles 1 to 10 in the past. The calculation will be done at the open of each new candle. You can change the value of 'range' variable if you need longer or shorter periods.