"This is extremely serious offending and the victims are very lucky to be unharmed," said Detective Constable Tom Willis of Hamilton CIB.
"Additionally, there are many residential properties in the area and the offender has put the local residents at risk, due to the possibility of bullets ricocheting off of moving vehicles.
"We are absolutely committed to identifying those responsible and holding them to account."
Police have been searching the area and speaking with local residents, and road policing staff will have a strong presence in the area over the weekend.
Anyone with information that can assist police in their enquiries is encouraged to call 105 and quote file number 200624/1133.
Information can also be provided anonymously via Crimestoppers on 0800 555 111.