Lines & Rays

Lines Category – Methods

  • trendLine(fromPoint, toPoint, styles?, text?) → draw a trendline between two points

  • rayLine(fromPoint, toPoint, styles?, text?) → line that starts at one point and extends infinitely

  • infoLine(fromPoint, toPoint, styles?, text?) → similar to trendline but can include more info text

  • extendedLine(fromPoint, toPoint, styles?, text?) → line extended in both directions

  • trendAngle(fromPoint, toPoint, styles?) → line that also shows the angle between two points

  • horizontalLine(time, price, styles?, text?) → horizontal line at a fixed price

  • horizontalRay(time, price, styles?, text?) → horizontal line that extends rightward from a point

  • verticalLine(time, styles?, text?) → vertical line at a specific time

  • crossLine(time, price, styles?) → both a vertical and horizontal cross at the same spot

Last updated