How To Draw A Line In Tradingview, Make Straight Line Easily 2026
By Impran M NLast checked against official docs
A trend line is one of the simplest tools on a TradingView chart, but it's also one of the most used. It marks support, resistance, and the general direction of a move at a glance, without needing an indicator to do the work. This guide walks through the actual toolbar and settings panel as they appear on a live chart, from finding the drawing tool to adjusting the line's color and thickness once it's placed.
01Open your chart and locate the drawing toolbar
Log into TradingView and open the chart for whatever symbol you're analyzing. The example here is the Dow Jones Industrial Average on a daily timeframe. The drawing tools sit in a vertical strip down the left edge of the chart, separate from the timeframe and indicator controls along the top; this is where every line, shape, and annotation tool lives.

02Select the trend line tool
Click the trend line icon in that left-hand toolbar: a simple diagonal line positioned near the top of the tool list, next to the other line-based tools. Selecting it puts your cursor into drawing mode; the icon stays highlighted in the toolbar until you finish drawing or press Escape.

03Click and drag to draw the line
Click your starting point directly on the chart, hold, and drag to your intended endpoint before releasing the mouse button. Hold Shift while dragging to lock the line to an exact 45-degree angle, a shortcut TradingView documents for its line tools.
In the example, the line runs from a swing low up through the recent price action: anchored to two meaningful points instead of dropped arbitrarily. Once released, the line stays selected with small circular handles on each end, so you can immediately drag either point to fine-tune the angle.

04Adjust the line while it's still selected
With the line selected, a small floating toolbar appears at the top of the chart showing color, line style, and thickness controls: a quick way to change the line's weight (the example shows it set to 1px) without opening a full settings menu. The same toolbar carries a clock icon for setting a price alert on the line and a trash icon for deleting it. This is the fastest path for a small tweak; the fuller settings panel below is better when you want to change several properties at once.

05Open the full settings panel for more control
Right-click the line and choose its settings, or double-click it, to open the full Trend Line panel with Style, Text, Coordinates, and Visibility tabs. The Style tab is where most of the useful options live: line color and dash pattern, checkboxes for Extend Left Line and Extend Right Line if you want the trend to project beyond your two anchor points, a Middle Point toggle, and a Price Labels option, plus a Stats section that can display price range, percent change, change in pips, bars range, and more directly on the line.
The Visibility tab controls which chart timeframes the line appears on. By default a new drawing is often limited to the interval it was drawn on, which is why a line can seem to vanish after you switch from, say, the daily chart to a 4-hour one.

06Remove a line you no longer need
Click the line once to select it and press the delete key, right-click it and choose the remove option from the context menu, or use the trash icon in the floating toolbar from the earlier step. Any of these removes only that line and leaves every other drawing on the chart untouched. Clearing out old trend lines regularly keeps a chart readable, since a handful of unrelated lines from past analysis makes the current setup harder to read at a glance.
When it doesn't work
The tool keeps drawing a new line every time I click the chart, instead of reverting to the cursor
Why: TradingView's "Keep drawing" mode is switched on, which keeps a drawing tool active across multiple placements instead of releasing it after one line.
Fix: Click the pencil icon on the left toolbar to turn Keep drawing off, per TradingView's support article on this exact behavior.
A trend line disappears after switching to a different timeframe
Why: TradingView restricts a drawing's visibility to the interval it was created on by default.
Fix: Open the line's settings, go to the Visibility tab, and enable the additional intervals where you want the line to appear.
Frequently asked questions
How do I draw a straight line on TradingView?
Select the trend line tool from the left-hand toolbar, then click your starting point on the chart and drag to your endpoint before releasing. Hold Shift while dragging to lock the line to a 45-degree angle.
Can I change the color of a line after drawing it?
Yes. Select the line and use the small floating toolbar that appears above it for quick changes, or right-click and open the full settings panel for more color and style options.
How do I delete a line I drew?
Click the line to select it and press delete, right-click it and choose the remove option, or use the trash icon in the floating toolbar that appears when the line is selected.
What is the trend line tool used for?
It's commonly used to mark support and resistance, highlight the direction of a price move, and connect swing highs or lows for a visual read on trend strength.
Can I extend a trend line beyond where I originally drew it?
Yes. Open the line's settings panel and enable Extend Left Line or Extend Right Line to project the trend beyond your original two points.
Can I get an alert when price crosses a trend line?
Yes. Select the line and click the clock icon in its floating toolbar, or right-click it and choose the alert option, to create a price-cross alert tied to that exact line.
Sources and last check
Click path and screens come from a recorded walkthrough on a Dow Jones chart. The Style/Text/Coordinates/Visibility tab structure, the Shift-to-45-degree shortcut, the alert feature, the Keep-drawing behavior, and the default timeframe-visibility limit were checked against TradingView's official support articles in September 2026. No factual errors turned up in the original steps; this pass added the Shift shortcut, the alert feature, and two documented failure modes the original text left out.
About the author

Impran M N
I've been hooked on technology for as long as I can remember — especially the new tools and AI apps that seem to land every other week. Easy Tech Tuts is where I write up whatever I've just worked out: I do the task in the real product, record the screen, and turn it into the guide I wish I'd found first.



