XD ratio should be measured as the retracement of XA, but tradingview calculates it as the retracement of XC.