plotchar
Draws a character (a letter, digit or symbol) 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 character sits at.
plotchar(series: any, title: const string = na, char: const string = "★", location: const string = "abovebar", color: color = na, offset: const int = 0, text: const string = na, textcolor: color = na, size: const string = "auto", show_last: const int = na, display: const string = "all", 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.charconst string: the character to draw (the first one of the text; default a star)locationconst string: location.*colorcolor: The color of the character (na: the next PROLYNT palette color); a series color colors each bar.offsetconst int: shifts it by this many bars: positive moves it right (into the future), negative left (at most 500)textconst string: A text above (or below) the character.textcolorcolor: Accepted; the text takes the character color.sizeconst string: size.*show_lastconst int: draw only on the newest this many bars (na: all)displayconst string: display.none does not draw it; every other display.* value (default display.all) draws it.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
plotchar(ta.crossover(fast, slow), "Cross", "X", location.abovebar)