plotshape
Draws a shape on bars where series is true, or a number that is not 0 and not na. With location.absolute the number is the price the shape sits at.
plotshape(series: any, title: const string = na, style: const string = "circle", location: const string = "abovebar", color: color = na, size: const string = "auto", text: const string = na, textcolor: color = na, display: const string = "all", offset: const int = 0, show_last: const int = na, editable: const bool = true, force_overlay: const bool = false)
Parameters
seriesany: a condition (true draws), or a number: not 0 and not na draws; the price with location.absolutetitleconst string: Its name in the legend and the settings.styleconst string: shape.*locationconst string: location.*colorcolor: Shape color.sizeconst string: size.*textconst string: Text drawn with the shape (default none).textcolorcolor: Text color.displayconst string: display.none does not draw it; every other display.* value (default display.all) draws it.offsetconst int: shifts it by this many bars: positive moves it right (into the future), negative left (at most 500)show_lastconst int: draw only on the newest this many bars (na: all)editableconst bool: Accepted for scripts from Pine and ignored: it changes nothing on PROLYNT.force_overlayconst bool: Accepted for scripts from Pine and ignored: it draws in the script pane.
Example
plotshape(ta.crossover(fast, slow), "Up", shape.triangleup, location.belowbar)