http://www.interactivebrokers.com/php/webhelp/webhelp.htm#Interoperability/DDE_Configure_TWS.htm hi I downloaded the excel file. I can create and get market data. I want to be able to automate this system a little. Can somebody help Basically what I want to do is this simple condition 1) Let say I want to buy a pair of spot forex. Eur.usd and usd.gbp when I start the excel. 2) Exit when there is a profit of $50 or more 3) Rebuy the same pair after I exit anybody can help on this?? or share some idea on how I can do it. The excel file seem more complex than i expected