MQT_RenkoBarTimer

Measure How Long Each Renko Bar Takes to Form

MQT_RencoBarTimer tracks the exact amount of time required to form each Renko bar. It displays bar‑formation duration in milliseconds, seconds, minutes, or hours, and optionally shows the live chart time directly on the chart.

Back to Indicators

Key Features

Bar Formation Timing

Measures how long each Renko bar takes to complete.

Multiple Time Units

Display bar time in milliseconds, seconds, minutes, or hours.

Real‑Time Updating

Updates continuously using OnEachTick calculation.

Session‑Aware Logic

Correctly resets timing at session boundaries.

Optional Chart Time Display

Show current bar time as fixed text in the chart corner.

Clean Sub‑Panel Plot

Displays time values as vertical bars beneath price.

Chart Examples

Intraday Renko Timing

Seconds required to complete each Renko bar

Session‑Aware Timing

Accurate bar timing across overnight sessions

Volatility Visualization

Quickly identify fast vs slow Renko conditions

How It Works

1

Track Bar Time

Records the timestamp of each bar transition.

2

Compute Duration

Calculates elapsed time since the previous bar.

3

Normalize Units

Converts time into the selected unit.

4

Plot Results

Displays timing as bars in a dedicated panel.

Indicator Settings

Setting Type Typical Values Description
Time Unit Dropdown ms / sec / min / hrs Selects the unit used to display bar‑formation duration.
Show Current Chart Time Boolean On / Off Displays the live chart time as fixed text in a chart corner (optional).
Text Location Dropdown Top‑Left / Top‑Right / Bottom‑Left / Bottom‑Right Controls where the optional chart‑time text is anchored.
Plot Style Style Bars / Histogram Controls the appearance of the sub‑panel timing plot.
Session Reset Behavior Behavior Default Defines how timing resets at session boundaries to prevent carryover across sessions.
Font / Text Size Style Small / Medium / Large Adjusts the size of any fixed‑text display (if enabled).
Color Settings Style Default / Custom Controls plot and text colors for visibility on dark charts.

Note: The exact parameter names and defaults depend on your current build. If you paste the indicator’s NinjaTrader property section (or C# code), I can convert this into exact names + default values (matching your code 1:1).

FAQ

Does this work on time‑based charts?

It’s designed for Renko bar formation timing. On time‑based charts, “bar duration” is fixed by the timeframe, so the indicator is most useful on non‑time‑based bars like Renko.

Why do some bars show very small or very large times?

Renko bars form faster during high volatility and slower during low volatility. Session transitions and illiquid periods can also create longer formation times.

Does it repaint?

The live (currently forming) bar’s time will change until that bar completes. Once a bar closes, its measured formation duration is fixed.

How can I use this for trade filtering?

Many traders use formation time as a volatility proxy—filtering trades when bars are forming unusually fast (high momentum) or unusually slow (chop/low energy).

Will it reset correctly across overnight sessions?

Yes—session‑aware logic is intended to prevent bar‑time carryover across session boundaries. Your chart’s Trading Hours template still matters.

What unit should I use?

Seconds are a common default. Use milliseconds for very fast markets/bars, or minutes/hours when bars can take a long time to form.

Does it impact performance?

It updates on each tick to keep the timing accurate. On very high‑tick instruments, that can be heavier than OnBarClose indicators, but it’s typically lightweight.

Can I change where the chart time text appears?

Yes—enable the optional chart‑time display and choose the corner location in settings.

Back to Indicators