goodestboy1997 / Publications
Forum
Detect New Candle
Hi Guys, I've read the forums, and this question has come up alot. I am trying to detect a when a new candle forms, and my code is simple but for some reason, Time[0] within a while loop does not update. Could you guys explain why please? bool NewBar() { datetime date = Time[0]+PeriodSeconds();