mirror of
https://github.com/raa251/Liquidity_Predator.git
synced 2026-07-06 13:42:02 +00:00
12 lines
298 B
MQL5
12 lines
298 B
MQL5
|
|
void ArraySortDesc_double(double &arr[])
|
||
|
|
{
|
||
|
|
int n = ArraySize(arr);
|
||
|
|
for(int i = 0; i < n-1; i++)
|
||
|
|
for(int j = i+1; j < n; j++)
|
||
|
|
if(arr[i] < arr[j])
|
||
|
|
{
|
||
|
|
double t = arr[i];
|
||
|
|
arr[i] = arr[j];
|
||
|
|
arr[j] = t;
|
||
|
|
}
|
||
|
|
}
|