Lipi Reference Lipi

Variables

syminfo.pricescale

Returns a whole number used to calculate the smallest increment between a symbol's price movements (syminfo.mintick). It is the denominator in the syminfo.mintick formula: syminfo.minmove / syminfo.pricescale = syminfo.mintick.

Example


          indicator(title="Price Scale Example", overlay=true)
priceScaleValue = syminfo.pricescale
plot(priceScaleValue, title="Price Scale", color=color.green)
        

Type

simple int