How to Add a Trendline on MT4
BY TIOmarkets
|June 9, 2026Trendlines are a two-point drawing tool on MT4: you place an anchor at one point on the chart and a second anchor at another point, and the platform draws a straight line connecting them. They are used to visualise the direction and slope of price movement, to mark diagonal support or resistance, and (when copied in parallel) to construct channels. Unlike horizontal lines, trendlines slope across time and can be extended forward as a ray, projecting the line into the future.
This guide covers the two ways to draw a trendline on MT4, how to customise its appearance and endpoints, how to adjust an existing trendline, and common use cases.
Why Use Trendlines
A trendline connects two price points and projects the slope between them. Common reasons to draw one include marking an uptrend by connecting successive higher lows, marking a downtrend by connecting successive lower highs, identifying diagonal support or resistance where price has reacted multiple times, projecting where a current trend would extend if it continued at the same slope, and serving as one boundary of a price channel (paired with a parallel trendline on the opposite side of the price range).
Trendlines are visual analytical tools. Like horizontal lines, they do not trigger orders or send alerts on their own.
How to Draw a Trendline
MT4 offers two methods.
Method 1: The Insert Menu
With the chart in focus, click Insert in the menu bar, then Lines, then Trendline. The cursor changes shape to indicate that the next click on the chart will start the line. Click and drag from the first anchor point to the second, then release. The trendline appears between the two points.
Alternatively, you can click once to set the first point, then click again at the second point. Both approaches produce the same trendline.
Method 2: The Line Studies Toolbar
MT4 includes a Line Studies toolbar with one-click buttons for the most-used drawing tools, including the trendline. If the toolbar is not visible, enable it via View > Toolbars > Line Studies.
Click the Trendline button on the toolbar, then click and drag (or click two separate points) on the chart to place the line.
Both methods produce the same trendline. The toolbar is faster if you draw trendlines frequently.
Customising the Trendline
To open the line's properties, double-click the trendline first; small square handles appear at each anchor point and at the midpoint, indicating the line is selected. Right-click the selected line and choose Properties.
The Properties dialog has two tabs.
The Common tab covers appearance and behaviour:
Name and Description: optional label and on-chart note. The Description text appears next to the trendline, useful for naming it (e.g., "Uptrend from May low" or "Sep downtrend").
Style: solid, dash, dot, dash-dot, or dash-dot-dot. Dashed lines are common for projected or speculative trendlines; solid is more emphatic.
Color: any colour for the line.
Width: pixel thickness.
Ray: a checkbox. When ticked, the trendline extends as a ray beyond the second anchor point into the future. Without Ray, the line stops at the second point. Most traders enable Ray so the trendline projects forward and can be tested by future price action.
Draw object as background: when ticked, the line draws behind the chart bars rather than in front. Useful for cleaner aesthetics but slightly less visible.
The Parameters tab shows the exact co-ordinates of the two anchor points: a date and a price for Point 1 and a date and a price for Point 2. You can edit these values directly for precise placement (for example, anchoring at exactly the high of a specific bar).
Click OK to apply changes.
Adjusting Trendline Endpoints
Double-click the trendline to select it; small handles appear at each anchor point and at the midpoint.
To move one endpoint, click and drag the handle at that end to a new position on the chart. The other end stays fixed, and the line rotates around the fixed point.
To move the entire line without changing its slope, click and drag the middle handle. Both endpoints move together.
To adjust an endpoint to an exact value, open the Properties dialog, go to the Parameters tab, and type the desired date and price for Point 1 or Point 2.
To deselect, click anywhere on empty chart area.
Removing a Trendline
Click the trendline once to select it, then press Delete on your keyboard. Or right-click the selected line and choose Delete from the context menu. Ctrl+Z reverses an accidental deletion.
To remove all drawings from a chart at once, go to Charts > Objects > Delete All. This is a blanket action and removes every drawing object on the chart.
Common Use Cases for Trendlines
Marking an uptrend. Connect two or more successive higher lows with a trendline sloping upward. The line marks the price floor of the uptrend.
Marking a downtrend. Connect two or more successive lower highs with a trendline sloping downward. The line marks the price ceiling of the downtrend.
Diagonal support or resistance. Where price has reacted from a sloping level multiple times, a trendline drawn across those points visualises the level for future reference.
Channel construction. Draw the primary trendline along one boundary of the price range, then copy it (right-click > Copy, then paste and reposition) or use the parallel-channel object to construct the opposite boundary. The result is a visual channel within which price has been oscillating.
Projecting trend extension. With Ray enabled, the trendline extends into the future, indicating where the same slope would place future price levels. This can serve as a reference for monitoring whether a trend is maintaining its pace.
Trendline by Angle
MT4 also offers a related object called Trendline by Angle, accessible via Insert > Lines > Trendline by Angle. This works the same way as a standard trendline but exposes a numeric angle value in its Properties dialog, letting you set the slope precisely in degrees rather than by anchor placement. For most use cases the standard Trendline is sufficient; Trendline by Angle is useful when angular consistency across multiple trendlines matters.
Practical Considerations
A trendline is only as meaningful as the points it connects. Anchoring to obvious swing highs or swing lows (rather than random intermediate bars) produces more reliable visual references.
Different traders may draw the same trendline slightly differently depending on whether they use candle bodies, candle wicks, or specific price levels as anchors. There is no universally correct anchor; consistency within your own analysis is more important than a fixed rule.
A trendline drawn on one timeframe does not automatically appear on the same chart at a different timeframe in a controllable way. By default, MT4 displays objects across all timeframes; you can restrict this in the object's Visualization tab (Properties dialog) to specific timeframes only, which is useful if you want a trendline relevant only to your chosen timeframe to disappear when you switch.
Trading at TIOmarkets
TIOmarkets offers MetaTrader 4 and MetaTrader 5 on desktop, web, and mobile, across four account types. The Standard account is created automatically on registration with a minimum deposit of $20 or currency equivalent. The Raw and VIP Black accounts are opened separately through the client area. The Nano account is MT5 only with a $20 minimum deposit, USD only. Hedging is supported on all accounts. A swap-free Islamic account is available; contact TIOmarkets for eligibility and instrument requirements. Copy trading is available on both MT4 and MT5.
Orders are executed at the best available market price, which may result in positive or negative slippage. Demo accounts often execute instantly and may not fully replicate live slippage conditions. Spreads are variable and are typically higher than minimum figures shown. Leverage on each instrument is subject to change depending on market conditions and applicable regulatory requirements. You can review the full list of account types on the TIOmarkets accounts page.

FAQ
Risk disclaimer: CFDs are complex instruments and come with a high risk of losing money rapidly due to leverage. You should consider whether you understand how CFDs work and whether you can afford to take the high risk of losing your money. Never deposit more than you are prepared to lose. Professional client’s losses can exceed their deposit. Please see our risk warning policy and seek independent professional advice if you do not fully understand. This information is not directed or intended for distribution to or use by residents of certain countries/jurisdictions including, but not limited to, USA & Countries included in the OFAC sanction list. The Company holds the right to alter the aforementioned list of countries at its own discretion.
TIOmarkets offers an exclusively execution-only service. The views expressed are for information purposes only. None of the content provided constitutes any form of investment advice. The comments are made available purely for educational and marketing purposes and do NOT constitute advice or investment recommendation (and should not be considered as such) and do not in any way constitute an invitation to acquire any financial instrument or product. TIOmarkets and its affiliates and consultants are not liable for any damages that may be caused by individual comments or statements by TIOmarkets analysis and assumes no liability with respect to the completeness and correctness of the content presented. The investor is solely responsible for the risk of his/her investment decisions. The analyses and comments presented do not include any consideration of your personal investment objectives, financial circumstances, or needs. The content has not been prepared in accordance with any legal requirements for financial analysis and must, therefore, be viewed by the reader as marketing information. TIOmarkets prohibits duplication or publication without explicit approval.
Join us on social media
Authors BIO

Behind every blog post lies the combined experience of the people working at TIOmarkets. We are a team of dedicated industry professionals and financial markets enthusiasts committed to providing you with trading education and financial markets commentary. Our goal is to help empower you with the knowledge you need to trade in the markets effectively.





