We all know that renko doesn't counts time while it's charting. But in the chartIQ and tradinview we see that after increasing and decreasing the timeframe the bricks also get vary. After lot's of research i got to know that they are following a caveman algorithm which makes all the difference. Can anyone explain about the calculation behind this algorithm. And can anyone also help me in making codes for this in python.