The question aside, I actually tried a very simple
if (H=L) then { first tick of new bar }
but was surprized to find that this does not trigger when the market is ticking fast! (Of course if I could get the print function to work I might be more sure
