Hello:
I am a new user of Multicharts and a fairly new programing my own indicators and signals.
I researched the forums and the user guide, but could not find an example on how to acheive the following.
My objective is to do portfolio analysis and optimization on a pairs trading strategy.
As part of this effort, I am trying to execute against multiple data series in a single chart.
An example is as follows:
inputs:
DataSeries1( Close of data1 ),
DataSeries2( Close of data2 ),
PairCondition(Some Logic);
if DataSeries2 <> 0 and PairCondition then
Buy("Pair1_lng") next bar at open market;
SellShort ("Pair2_Sht") next bar at open of DataSeries2 at market;
In summary, my questions are:
- Is it possible to execute orders against multiple data series within the same chart for the purpose of strategy backtesting?
- Is there a best practice for doing this type of pairs analysis?
Thanks for any help in advance.
- DMDC
Orders from several data streams in a single chart..
- deadmandontcry
- Posts: 11
- Joined: 07 Jan 2011
- Has thanked: 5 times
- Been thanked: 1 time
- deadmandontcry
- Posts: 11
- Joined: 07 Jan 2011
- Has thanked: 5 times
- Been thanked: 1 time