Thanks.mrtools wrote: Tue Jan 10, 2023 4:30 am In the newest code looks like absHighest was replaced by
Code: Select all
double absVal = 0; for (int k=0; k< 3*inpTrendPeriod&& (r-k)>=0; k++) absVal = fmax(absVal,fabs(wrk[r-k].tdf));
r-k I don't know how to work with rates_total.
I found a solution.