TradeStation Help

Trendline Drawing Object

A trendline is an analytical drawing tool used to track market direction. Trendlines assist in identifying trend breakouts indicating buy or sell opportunities (trendlines are not useful in forecasting market activity) by determining the slope of a trend. Trendlines allow you to easily visualize where a market's price was, is, and where it is going. When a market begins moving away from its current direction (trend), a trend reversal might take place. Often, analysts draw several trendlines on a chart as time progresses in order to monitor up and down market corrections.


You can also use the shortcut menu for a selected object to change the drawing properties such as color, style, weight, and any object specific settings.

Drawing a Trendline Object

Trendlines are commonly drawn along the highs or lows of price activity. In an uptrend, trendlines are commonly drawn underneath rising lows (troughs) or, in the case of a downtrend, drawn above declining highs. Trendlines usually include all price activity and touch the troughs or peaks two to three times.

Drawing objects are applied to a chart to assist with data analysis. See About Drawing Objects for more details.

  1. Activate a Chart Analysis window.
  2. From the Drawing toolbar, select the TrendLine icon. The pointer will change to the shape of a pencil.
  3. Click the exact point where you want to the Trendline to begin
  4. Move the pointer to another location and click again to draw the trendline.
  5. Optional. Use the Drawing > Snap Mode menu sequence to "snap" the drawing object to the open, high, low, or closing price of the first and last bars the drawing object intersects. For more information, see Snap Mode.

Moving a Trendline Object

After a Trendline is applied to a chart, you can reposition the drawing object at any time.

  1. Activate the Chart Analysis window containing the trendline.
  2. Click a square and drag to modify the slope of the Trendline. The Trendline will pivot along the square you select. Clicking anywhere on the Trendline, with the exception of the squares, allows you to move the Trendline horizontally and vertically without changing the Trendline's slope.
  3. Optional. Use the Drawing > Snap Mode menu sequence to "snap" the drawing object to the open, high, low, or closing price of the first and last bars the drawing object intersects.

Formatting the Settings of a Trendline Object

A  trendline can be extended to the left or right.

  1. Select and right-click the trendline (small square on the line confirms the drawing object is selected), select Format 'Trendline'. The Format Trendline dialog is displayed. 
  2. Click the Settings tab.
  3. Under Extend, select the check box pertaining to the direction in which you want to extend the line. If you want to be notified when any trendline alert criterion is met in the future (beyond the length of the trendline drawn), select the Right check box to extend the trendline to the right and click the Alert tab to set up the alert.
  4. Select the Set as Default check box to use this as the default settings for all future trendlines.
  5. Click OK. You can also use the shortcut menu for a selected object to change the Extend Left and Extend Right settings.

Modifying the Calculation Method Used to Draw a Trendline Object

  1. Activate the Chart Analysis window containing the trendline object.
  2. Select and right-click the trendline object, and select the Calculation tab. The Format Trendline - Calculation dialog is displayed.
  3. Select one of the following methods used to calculate a trendline:
Option Description
Freestyle Allows you to draw a Trendline in any angle and in any position you choose. You can reposition a freestyle Trendline without any restrictions.
Extreme Attaches a positive sloping Trendline to the lowest low of the beginning bar and to the highest high of the ending bar included in the Trendline. Attaches a negative sloping Trendline to the highest high of the beginning bar and the lowest low of the ending bar included in the Trendline. When repositioning or increasing/decreasing bar spacing, Trendlines based on extreme values will always attach to the lowest low and highest high of the appropriate bars.
Fixed Point Attaches to a specified price on the beginning and ending bars of a Trendline. For example, selecting Open draws the Trendline from the open of the beginning bar of the Trendline to the open of the ending bar of the Trendline. When repositioning or increasing/decreasing bar spacing, a fixed point Trendline will always attach to the appropriate fixed point setting. To create a Trendline based on fixed points, use the Fixed Point drop-down menu to select the appropriate bar price: open, high, low, or close.
Regression Draws a linear regression line based on the bar price selected for all bars included in the Trendline. This regression calculation is also known as the Best Fit method. For example, selecting Open plots a linear regression line based on the opening prices of all bars included in the Trendline. When repositioning or increasing/decreasing bar spacing, a linear regression line will always recalculate based on the linear regression settings. To create a Trendline based on linear regression calculations, use the Regression drop-down menu to select the appropriate bar price to calculate the linear regression line: open, high, low, or close.
Screen Angle Draws a Trendline to the screen angle you specify. When repositioning this Trendline, it will maintain its specified angle. Since this Trendline is not mathematically calculated, the Trendline will not recalculate when increasing/decreasing bar spacing. Therefore, it is recommended that Screen Angle be used strictly as a visual tool. To create a Trendline based on a screen angle, enter the appropriate angle in the Screen Angle box.
Gann Angle Draws a Trendline based on specified time (Run) and price (Rise) values. Run is represented by the number of bars while Rise is represented by the number of points the Trendline rises (increases along the y-axis) per bar. For example, a Trendline with a Rise of 2 and a Run of 1 has a 2 to 1 price to time ratio. Therefore, for every bar, the Trendline increases in price two points. For a Trendline with a Rise of 1 and a Run of 8, the Trendline increases 1 point for every 8 bars. When you reposition or increase/decrease bar spacing, a Trendline based on Gann Angles will recalculate to maintain the Rise and Run ratio, keeping the slope constant.


 Remember to keep your Rise and Run values within the price and bar range of your Trendline.

  1. Select the Set as Default check box to use these calculation settings as the default for future Trendlines.
  2. Click OK.

Extending a Trendline Object to the Right/Left

You can easily lengthen a Trendline so that it extends to the left or right of its original placement. When you extend a Trendline, its slope remains constant but the length is extended. So, if you wanted to apply a Trendline to future bars, you would extend the Trendline to the right. Conversely, if you wanted to apply the Trendline to additional historical bars, you would extend the Trendline to the right.

  1. Activate a Chart Analysis window containing a trendline.
  2. Select and right-click the trendline, select Format 'Trendline'. The Format Trendline dialog is displayed.
  3. Click the Settings tab.
  4. Under Extend, select the Left check box to extend the trendline to the left.
  5. Under Extend, select the Right check box to extend the trendline to the right.
Related Topics

Formatting the Alerts of a Drawing Object

Formatting the Labels of a Drawing Object

Formatting the Style of a Drawing Object

Formatting the Data of a Drawing Object