i run scans on 5 minute bars. however i want to report certain results close to the end of the bar time. i came accross this formula that will ensure that i will report only on complted bars. is there a way to make it report when the seconds left to completion is say 30 seconds. any ideas is appreciated.
barcomplete = BarIndex() < LastValue(BarIndex());
