Quote from trademeisters:
in tradelink it would be something like :
Code:public class MyStrategy { public void GotTick(Tick k) { if (k.isTrade && k.hasAsk && (k.trade==100) sendorder(new BuyLimit(k.symbol,k.ask,k.AskSize)); } }
leaving almost everything out, it looks simple.
here for IB all you need to do is implement the tickPrice() method and your done