Lipi Reference
Lipi

Constants

order.descending

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

Example


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

Type

const string