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