is there anyone to explain me this paragraph:
trend = (i < Bars) ? (UpperLine[i + 1] < High) ? 1 : (LowerLine[i + 1] > Low) ? -1 : (MidLine[i + 1] < Close && MidLine[i + 1] > Close) ? 0 : trend[i + 1] : 0;
I can't understand it
thanks for your helping