Are you talking about the DDE data stream?
If so, you can use the MetaStock Developers Kit to make the DDE connection and read the data etc, or you can use an existing application, such as Excel, to read the data and have your macros doing the work through Excel and VBA.
You need to provide a lot more information about what you are trying to achieve if you want a more specific answer.
wabbit
"The question of whether a computer can think is no more interesting than the question of whether a submarine can swim."
Edsgar W. Dijkstra
MS: 6.52 EOD, 7.x EOD, 8.0 PRO, 9.2 PRO w/QC, 10 PRO w/QC C, 11 PRO w/QC & MDK
For custom MetaStock programming : http://www.wabbit.com.au
My SkyPE status : 
My SkyPE account : wabbit.com.au