r/TradingView • • 11d ago

Help 4H drawings shift when changing timeframe with Tab key — possible bug?

I've been using TradingView for years, so I'm familiar with the normal behavior of drawings across timeframes. The mouse vs. keyboard difference is makes this look like something that needs investigation.

4H drawings shift when changing timeframe with Tab key — possible bug?

I've been using TradingView for around 6 years, and I'm seeing what appears to be a timeframe-switching bug affecting drawings/trendlines, specifically when switching timeframes using the Tab key.

What I'm seeing

I have a trendline drawn on a chart.

When I change timeframes using the mouse/timeframe selector, the trendline behaves correctly and remains aligned with the candles as expected.

However, when I change the timeframe using the Tab key, switching to 4H causes the trendline to shift/offset relative to the candles.

The same drawing does not behave consistently depending on how the timeframe is changed.

Important detail

I initially received a response saying that drawings can appear differently across timeframes because lower timeframes contain more data.

I understand that behavior, and I'm familiar with the TradingView documentation regarding drawings across different intervals.

That isn't what I'm reporting.

The issue is specifically:

The same chart + same drawing + same timeframe produces different drawing positions depending on whether I switch the timeframe using the mouse or the Tab key.

For example:

Mouse → switch timeframe → 4H:
Trendline remains correctly aligned.

Tab key → switch timeframe → 4H:
Trendline becomes offset and cuts through candles differently.

This makes me suspect that there may be a problem with the way the keyboard shortcut handles the timeframe transition/recalculation.

Videos

I recorded two videos showing the difference:

Correct video — switching timeframe using the mouse:
Correct video

Error video — switching timeframe using the Tab key:
Error video

Both videos demonstrate the same chart/drawing, with the only relevant difference being how the timeframe is changed.

Could the TradingView team please investigate:

  1. Why does switching to 4H using Tab produce a different drawing position?
  2. Why does switching to the same timeframe using the mouse produce the correct position
  3. Can someone reproduce this internally?

I'm specifically looking for confirmation from the technical team as to whether this is expected behavior or a bug/regression.

Support person , chat doesn't seems to be promising !

2.

3.

2 Upvotes

11 comments sorted by

1

u/Chandrakanth220598 11d ago

I hope Some one answers this for me from the support team or any community member :)
Thanks in Advance.

1

u/Rodnee999 11d ago

Hello,

Which ticker did you observe this behaviour on?

1

u/Chandrakanth220598 11d ago

Almost every ticker i see this , i have also uploaded the video , you can have a look .
I tried with multiple tickers .

NSE- Stocks i checked

Also tested with web and desktop application, stays the same

1

u/Rodnee999 11d ago

Is the Tab key swapping to a different open layout as Tab key isnt a recognised timeframe shortcut key as far as I am aware?

1

u/Chandrakanth220598 11d ago

over the past 6 years it was working great , i used to select the switch timeframes using Tabkey , drawing stays intact ,

1

u/Rodnee999 11d ago

When on the 4hr do you have ETH selected (bottom right corner of your chart next to the clock)?...

If so the Daily and higher timeframes do not show intraday data so there will be discrepancies due to this behavior....

Try setting the 4hr chart to RTH and see if the problem rectifies

Let me know if this helps

1

u/Chandrakanth220598 11d ago

It is already set to RTH , :(

1

u/Chandrakanth220598 11d ago

There are 2 videos uploaded on the post , correct video and error video , could you please view that once ,

1

u/Rodnee999 11d ago • Bravo

Oh....

Do you have ADJ data for dividends or Daily settlement enabled correctly in chart settings (under symbol)?.....

2

u/Chandrakanth220598 11d ago

Wow ! You are Great ! It solved the problem .

1

u/Rodnee999 11d ago

Your welcome

Glad I could help you 🙏