Lipi Reference
Lipi

Types

size

Six sizes for a marker: `auto`, `tiny`, `small`, `normal`, `large` and `huge`. Used by the `size` parameter of `plotshape` and `plotchar`. `auto` is a member like the rest, not the absence of a choice.

Fields / Members

auto Allows automatic size adjustment based on the chart's zoom level and resolution.
tiny Smallest size
small Small size
normal Default (medium) size
large Large size
huge Largest size

Example


          //@lipi=2
indicator("size Example", overlay=true)
plotshape(talib.crossover(close, talib.sma(close, 20)), title="Cross Up", location=location.belowbar, shape=shape.triangleup, color=color.green, size=size.small)
plotshape(talib.crossunder(close, talib.sma(close, 20)), title="Cross Down", location=location.abovebar, shape=shape.triangledown, color=color.red, size=size.large)