Feature guide · 5 min read

HTF Candle Overlay

Puts the last few higher-timeframe candles in the blank space to the right of price, so you get an HTF read without changing the chart period.

Settings toggle
Enable HTF Candle Overlay
NinjaTrader 8 name
ToredaHtfOverlay
Ships enabled
No

What it does

Draws the last `Number Of Candles` higher-timeframe candles in the chart's blank right margin, so an HTF read is available without changing the chart's period or opening a second chart.

The rightmost candle is the live forming HTF bar and moves with price on every tick. The others are the most recent closed HTF bars.

Chart · 5mRight margin · HTF 1HFormingSweepHTF open
Chart bars on the left; the same price action as hourly candles in the right margin.

The extras

  • Open line — a dashed horizontal from the forming candle's open, so you can see at a glance whether the HTF bar is currently up or down on its own open.
  • Sweep lines — drawn where a candle takes out the prior candle's high or low on a reversal: at the prior low when a bear→bull candle undercuts it, or at the prior high when a bull→bear candle exceeds it.
  • TF label and time label — the period, and the forming candle's open time.

Give the chart room

The candles are drawn into the chart's right margin, so set one first: chart properties → Right side margin. Start Offset then positions the block inside that space.

Inputs

InputDefaultMeaning
HTF Minutes60Higher-timeframe period, used when Auto TF is off.
Number Of Candles6Candles drawn, including the forming one.
Start Offset (bar slots)25Gap between the last chart bar and the first HTF candle, in bar widths.
Spacing (bar slots)1Gap between HTF candles.
Draw VisualsOnMaster drawing switch.

Style inputs

InputDefaultMeaning
Body Up / Body Down / Wick Color#008000 / #808080 / #808080Candle colors.
Show Open Line / Style / ColorOn / Dashed / #FFFFFFHorizontal line at the forming candle's open.
Show Sweep Lines / Style / ColorOn / Solid / #FFFFFFLine at the prior candle's low when a bear→bull candle undercuts it, or at the prior high when a bull→bear candle exceeds it.
Show TF Label / Show Time LabelOn / OnPeriod label and the forming candle's open time.
Label UTC Offset (hours)−4Offset applied to the time label.

Auto timeframe

With Auto TF on, the higher timeframe is picked from the chart period rather than fixed, so the overlay stays a sensible step up as you change charts.

Chart periodHTF minutes
< 5m5
< 15m15
< 1H60
< 4H240
< 1D1440
< 1W10080
≥ 1W43200

Adding it to a chart

  1. Right-click the chart → Indicators… → find ToredaHtfOverlay, click Add, set the inputs, click OK.
  2. Color inputs shown as #RRGGBB are typed as hex text, e.g. `#6FA8DC`. An invalid value falls back to a default and prints a note in the NinjaScript Output window rather than failing the indicator.
  3. Give the chart some right margin (chart properties → Right side margin) so the candles have room. Start Offset positions them inside it.
  4. The indicator runs On Each Tick by default so the forming candle is live. Switching it to On Bar Close still works, but the forming candle then updates only at chart-bar closes and is excluded from sweep detection.

Notes and limitations

  • Open-line and sweep-line styles are accepted but always rendered solid.
  • The time label is a fixed UTC offset, not a timezone, so adjust it across DST changes if you want it exact.

For strategy builders

NinjaTrader 8 only

No shipped strategy consumes this indicator, but its plots are available to your own. Every plot is registered transparent, so it changes nothing on a chart until you color it in the indicator dialog. Levels are NaN when there is no value, and flags are 1/0.

PlotMeaning
HtfOpen / High / Low / CloseThe live forming HTF bar. Under On Each Tick these move with price.
PrevHtfOpen / High / Low / CloseThe last closed HTF bar.
SweepUp1 once the current HTF bar has taken the prior bar's low. Latched for the HTF bar, so its rise is the entry edge.
SweepDown1 once it has taken the prior bar's high.
SweepLevelThe swept price. NaN when neither has fired.
MinutesIntoHtfBarElapsed minutes into the forming HTF bar.

This content is for educational purposes only and is not financial advice. Trading involves substantial risk of loss. See our risk disclosure for details.

Disclaimer

Toreda is a product of Bearcat Solutions, a company registered in the U.S. and its affiliates (collectively, the “Company”). Toreda is a trade journaling, performance analytics, and AI coaching platform designed to help traders log, review, and improve their trading. None of the information provided by the Company or contained herein is intended as investment advice, as any offer or solicitation to buy or sell securities of any kind, or as a recommendation, endorsement, or sponsorship of any security, company, or fund. Nothing contained herein constitutes a solicitation of any kind or an offer to buy or sell futures, options, forex, or any other derivative security. The performance dashboards, trade scores, AI coach insights, and analytics provided through Toreda are for informational and educational purposes only and are not intended to be relied upon for making investment decisions. Any use of the information on the Company's websites and platform is strictly at your own risk, and the Company assumes no responsibility or liability for any use or misuse of such information. Past performance is not indicative of future results, and every investment involves risks, including the possibility of total loss of the amount invested. You should always seek professional advice before making any investment decisions. The Company is not a financial broker, financial advisor, financial manager, or a financial representative, and does not accept client deposits.

Toreda does not offer or provide trading or investment recommendations. The AI Coach feature provides analytical insights based on your own trade history — it does not recommend specific trades, securities, or strategies. Any trading or investment decisions you make are entirely your responsibility and at your own risk. The results of any services provided by Toreda are directly related to each individual's professional skill level, trading discipline, and their capacity to apply the insights provided.

Disclosure on Performance Data

The performance metrics, scores, equity curves, and analytics displayed within Toreda are calculated from trade data imported from your connected broker accounts or manually entered by you. These metrics reflect historical results and have inherent limitations. No claim is made that any trading approach tracked in Toreda will achieve or is likely to achieve future profits or losses comparable to those shown. Actual trading results can differ significantly from historical performance data. Performance analytics benefit from hindsight and cannot account for all market factors, emotional decision-making, or evolving market conditions that affect real-time trading. Many factors — including slippage, commissions, market liquidity, and individual execution — can adversely affect actual trading results beyond what is reflected in the platform's analytics.


NinjaTrader® is a registered trademark of NinjaTrader Group, LLC. No NinjaTrader company has any affiliation with the owner, developer, or provider of the products or services described herein, or any interest, ownership or otherwise, in any such product or service, or endorses, recommends or approves any such product or service.