The new array.median() function calculates the wrong result.
In the example script below, the median calculated by PineScript is 12.20 The correct result should be