I have tried How to execute part of the formula only when new bar is added; however, this method seems not effective to Range Bar Charts. May I have any suggestion?
One way is to code the range bars form scratch, the way you might do with point and figure, renko, kagi, etc.
This way you know where the bar begins and where it ends. There might be other (easier) ways that I am not aware of.