AddRankColumn
- add ranking column(s) according to current sort set by SetSortColumns

Exploration / Indicators
(AFL 5.70)


SYNTAX AddRankColumn()
RETURNS NOTHING
FUNCTION The function adds ranking column(s) according to current sort set by SetSortColumns to exploration result list.
EXAMPLE Filter = 1;
AddColumn( Close, "Close" );
AddColumn( Volume, "BI" );
AddSummaryRows( 31 + 32, 1.5 );

AddRankColumn(); // without prior sorting AddRankColumn just adds line number
SetSortColumns( -4 );
AddRankColumn(); // rank according to 4th column (descending)
SetSortColumns( -3 );
AddRankColumn(); // rank according to 3rd column (ascending)
SEE ALSO SetSortColumns() function

References:

The AddRankColumn function is used in the following formulas in AFL on-line library:

More information:

Updated on-line reference