Possible to set up a more advanced stop for IB?

Discussion in 'Automated Trading' started by ggreggerh, Mar 26, 2010.

  1. Does anyone know of a way to setup a more advanced stop than IBs current trailing stop? For example I would like to attach a Parabolic SAR or Chandelier stop to my long GBPUSD position based on my 15 minute chart.

    Of course I know this is not possible using IBs current interface/charting, the only way is through a 3rd party vendor using IBs API.

    Thanks for any suggestions you guys might have.
  2. tradelink works with IB and many other brokers, has a simulated trailing stop that you can plug any indicator into.... eg:

    public class SmarterStop : ResponseTemplate
      TrailTracker _tt = new TrailTracker();
      override void GotTick(Tick k)
          // get distance to set stop from your custom indicator
          double traildist = CustomModule.CustomIndicator(k);
          // set updated distance for symbol
          _tt[k.symbol] = new OffsetInfo(0,traildist);
           // enforce trailing stop if needed
      public SmarterStop()
          _tt.SendOrder+=new OrderDelegate(sendorder);
      override void GotFill(Trade fill) { _tt.Adjust(fill); }
      override void GotPosition(Position p) { _tt.Adjust(p); }