Page 1 of 1

Trade on different IB symbol?

Posted: Mar 11 2008
by JVR
Hi,

I would like to know if it's possible to auto-trade on a different symbol as is plotted/showing in data1 of the chart?

A buy signal from a strategy on GBPUSD would result in a trade in EURUSD.

Regards,
Jo

Posted: Mar 11 2008
by brodnicki steven
Yes, you can, just put Eur as data 1 and Gbp as data2, then say something like " if value1 crosses above value2 then buy next bar at open."
Value1 and value2 must refer to data 2.
Value1= average(c of data2,5)
Value2 = (average(c of data2,15); etc.

The buy sell signals will be placed on data 1.

This is just a simple example of coding, do NOT trade it !

I've never tried auto trading but it should work.

Posted: Mar 11 2008
by jmi88