这个逻辑 是怎么解的?
for(i = 0; i < limit; i++){
max_High=0.0; max_Low=0.0;
for(j = 1; j <= RWI_Period; j++)
{
sqrt = MathSqrt(j + 1);
atr = iATR(NULL, 0, j + 1, i + 1);
if(atr != 0.0)
{
max_1 = (High[i] - Low[i+j]) / (atr * sqrt); // RWI_High Index
max_2 = (High[i+j] - Low[i]) / (atr * sqrt); // RWI_Low Index
if(max_1 > max_High)
max_High = max_1; // Maximum_RWI_High Index
if(max_2 > max_Low)
max_Low = max_2; // Maximum_RWI_Low Index
}
}
RWI_High[i] = max_High;
RWI_Low[i] = max_Low;