Good observation. Harmony is a universal concept that informs everything and is known since Pitagora with his harmony of the spheres. So theorically if you know the melody that price is playing in a given moment you should be able to know next tones ...