noted that when converting the vertical axis into degrees, the reaching of price line to the degree (0) was followed by a swing high and if it reaches the degree (360), this is followed by swing down.
My conclusion, hopefully accurate, that there should be a sort of equation to convert price into degrees and vice versa.
Am I right?
No, you are not.
There is no any conversion of price to longitude or vice versa. Just two graphs scaled to fit a same grid.
Price line reaches not a degree 0°, but a minimum value for given date range. This minimum is got from historical data from start date to end date.
That's why after reaching minimum, price graph always goes higher.

Planets usually orbit by circles, that's why their coordinates appear as sloping lines and after 360° they move to zero degree.