Newby, Arrays question

Questions about MultiCharts and user contributed studies.
arjfca
Posts: 1270
Joined: 23 Nov 2010
Has thanked: 720 times
Been thanked: 222 times

Newby, Arrays question

Postby arjfca » 25 Nov 2010

Hello to all MC friends

I got an interogation using Arrays and manipulations of them

An arrays contained value of the last 10 spikes high ( lower high on each side of the bar)
How can I sort them so the Highest value is at position 1 and the lowset at position 10?

Any help appreciated

Martin

User avatar
Dave Masalov
Posts: 1712
Joined: 16 Apr 2010
Has thanked: 51 times
Been thanked: 485 times

Re: Newby, Arrays question

Postby Dave Masalov » 26 Nov 2010

Dear Martin,

You should use array_sort function. Please see the description in the Help.


Return to “MultiCharts”