Your understanding is correct.
Print output for XYZ:
Print(Time[0].ToString("HH:mm:ss")+"SwingHighest from Indicator XYZ is, " +SwingHighest);
Print(Time[0].ToString("HH:mm:ss")+"SwingLowest from Indicator XYZ is, " +SwingLowest);
Print output as ABC calls on the values of XYZ:
Print(Time[0].ToString("HH:mm:ss")+"SwingH from Indicator ABC is " +SwingH);
Print(Time[0].ToString("HH:mm:ss")+"SwingL from Indicator ABC is" +SwingL);

Comment