The time window almost nobody checks
Nearly every strategy has an hour buried in it somewhere: "only the London open", "close everything before the rollover", "skip the Asian session". That window is usually inherited from somebody else's article, written for somebody else's broker, and almost never checked against the symbol actually being traded.
This shows the rhythm of your symbol on your server: which hours carry the movement, which are dead, and which have no bars at all.
What it shows
A histogram where every bar shows the typical range of ITS hour, so the daily rhythm repeats across the chart and the shape is visible at a glance. In the header, the busiest and quietest hour with their average range in points. And a 24-row table in the Experts log — bars counted and average range per hour — printed once, not on every bar.
Which clock the hours belong to, and this is the part to read twice
Here the two implementations do not say the same thing, because they cannot.
In MetaTrader, bars are stamped with your broker's SERVER time, and servers sit in different time zones: the same symbol can show its busiest hour at 09:00 on one broker and at 16:00 on another. The tool cannot convert them, nor even tell you which zone it is, because the terminal does not expose that. Read the shape, not the number: if you need it to line up with a session, compare one event you know against your own clock and apply the offset yourself.
On TradingView most of that limitation goes away: bars carry the EXCHANGE's time, which is a known quantity, so the script prints it at the top of the table and there is nothing left to guess. What remains is a whole-hour shifter to match your own clock, which does not model daylight saving — so around a DST change the alignment moves by an hour.
That difference is exactly why the port exists and is not a copy: it removes the tool's biggest limitation.
What it does not do
It does not tell you when to trade. It reports where the movement HAS been over the bars you loaded, which is not a forecast of where it will be.
An hour with no bars is not a quiet hour: it is an hour with no history, and it is counted apart instead of being shown as zero movement — which would be the opposite reading.
And it refuses to run above H4. On daily bars every bar opens at the same hour, so the "profile" would collapse into a single slot while still looking like a chart. An honest refusal beats a misleading picture.
The two ports do not draw themselves the same way either
In MetaTrader the indicator walks the whole history at once, so the histogram comes out with each hour's final average already in place. In Pine a script only ever sees one bar at a time, so the histogram builds up as it moves across the chart: early bars show a partial average that settles as more bars of that same hour are counted. The table does not have that problem — it is computed on the last bar, once everything has been counted.
Educational
This is a measurement tool. It does not trade, it does not open or close positions, it does not produce buy or sell signals and it does not tell anyone what to trade.