Skip to main content

Bug in creating straight (horizontal) line

Steps to repeat the buggy behaviour when creating a straight line:

  1. use trend line icon and click once on chart

  2. click shift to make the trend line straight

  3. release the click and make the line permanent (still holding shift key)

  4. However, when releasing the “shift” key, the trend line becomes non-horizontal.

  5. Press the “shift” key without the mouse click, again it will become horizontal.

Expected behaviour:

When releasing mouse click, the line should stay horizontal, while still holding shift key and after releasing shift key.

Hope this helps.

How does this impact your experience?
Status: Planned3 comments

Comments3

  • Diana Zhoshko

    Team•

    Jul 30

    Hi @Henry Chan,

    Sorry for the delayed update.

    We’ve checked the behavior, and it matches how TradingView handle the Shift key with trend lines. This is expected behavior, not a bug.

  • Ravichandiran S

    •

    Jul 30

    even when i press shift key still not able to straight the trend line

  • Diana Zhoshko

    Team•

    Sep 17, 2025

    Hi @User ,


    Thanks for the detailed explanation.

    We’ll keep you posted as soon as we have feedback or next steps.

    Appreciate your patience in the meantime!