Trade on different IB symbol?

Questions about MultiCharts and user contributed studies.
Posts: 8
Joined: 09 Sep 2005

Trade on different IB symbol?

Postby JVR » 11 Mar 2008


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.


brodnicki steven
Posts: 407
Joined: 01 Jan 2008
Been thanked: 3 times

Postby brodnicki steven » 11 Mar 2008

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.

Posts: 29
Joined: 31 Jan 2007

Postby jmi88 » 11 Mar 2008

Return to “MultiCharts”