Is it possible to generate signals on one symbol but execute

Questions about MultiCharts and user contributed studies.
Giffen
Posts: 4
Joined: 10 Nov 2006

Is it possible to generate signals on one symbol but execute

Postby Giffen » 04 Nov 2007

them on another?

That is say use buy/sell signals from a system on stock1 but have the system buy stock2?

Can you do this for many symbols, such as signals on 3 stocks and then buy stock4?

Also can you generate signals on one timeframe and then buy on another between these multiple symbols?

User avatar
gautama2
Posts: 96
Joined: 10 Jul 2007
Has thanked: 1 time
Been thanked: 1 time

Re: Is it possible to generate signals on one symbol but exe

Postby gautama2 » 05 Nov 2007

them on another?

That is say use buy/sell signals from a system on stock1 but have the system buy stock2?

Can you do this for many symbols, such as signals on 3 stocks and then buy stock4?

Also can you generate signals on one timeframe and then buy on another between these multiple symbols?
Maybe you can use Global Variables. System on stock1 does i.e. not generate buy but instead writes into a global variable that can be read by another system on stock 2 that generates the order if global variable has a defined value.
I do this with filters, that ordering only occurs when filtervariable is zero.

http://forum.tssupport.com/viewtopic.php?t=4349

Regards
Robert

User avatar
Marina Pashkova
Posts: 2758
Joined: 27 Jul 2007

Postby Marina Pashkova » 08 Nov 2007

Dear Giffen,

A strategy can reference several data series but it will always generate orders on data1. So if you want to have a strategy reference multiple data series, just make sure that the one you want the orders to be generated on is data1.

Regards.


Return to “MultiCharts”