Its possible to set data as parameters into conditions and studies - though I cant see an easy way to trigger orders as such from within CQG.
We have a product that lets you set up products to trade through CQG, you can then trigger these from Excel or other apps if that helps
John