Lipi Reference
Lipi

Constants

order.ascending

Sort order from the smallest value to the largest, for `array.sort` and `array.sort_indices`.

Example


          //@lipi=2
indicator("order.ascending Example", overlay=false)
values = array.from(3.0, 1.0, 2.0)
array.sort(values, order.ascending)
plot(array.get(values, 0), title="Smallest (1)", color=color.blue)
        

Type

const string