Using the function 'nthMaxList'

Questions about MultiCharts and user contributed studies.
LMC1
Posts: 50
Joined: 28 Apr 2013
Has thanked: 29 times
Been thanked: 1 time

Using the function 'nthMaxList'

Postby LMC1 » 08 Jun 2015

Hi,

nthMaxList cannot handle a list of more than 24 elements.
When I set,
value1=nthMaxList(25, elements1, elements2.......elements25),
it will only store the value at 24th rank into value1 but not the 25th one.

Please fix it. Thanks.

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Re: Bug of the function 'nthMaxList'

Postby TJ » 08 Jun 2015

Hi,

nthMaxList cannot handle a list of more than 24 elements.
When I set,
value1=nthMaxList(25, elements1, elements2.......elements25),
it will only store the value at 24th rank into value1 but not the 25th one.

Please fix it. Thanks.
Which MultiCharts version are you using?

I tested nthMaxList on the latest v9 with no problem found.

See attached.

Image
Attachments
nthmaxlist.jpg
(126.29 KiB) Downloaded 361 times


Return to “MultiCharts”