plotarrow

Draws an arrow on each bar where series is not 0 and not na: up below the bar for a positive value, down above it for a negative one. Larger values get longer arrows: the largest absolute value on screen gets maxheight pixels, the others in proportion, never below minheight.

plotarrow(series: float, title: const string = na, colorup: color = na, colordown: color = na, offset: const int = 0, minheight: const int = 5, maxheight: const int = 100, show_last: const int = na, display: const string = "all", editable: const bool = true, force_overlay: const bool = false)

Parameters

Example

plotarrow(close - open, "Body")