bmw123
05-06-2010, 07:21 AM
I have a strategy, which enters 3 positions simultaneously (say 3 short).
The initial stop is set to 200 ticks.
When the profit target is reached for the first 2, I'd like to move the stop to the entry price.
But I can't seem to get the entry price.
I also can't seem to set a condition that lets it know it has sold 2 of the 3 contracts.
position.avgprice doesn't seem to work here.
position.quantity doesn't seem to work here.
The initial stop is set to 200 ticks.
When the profit target is reached for the first 2, I'd like to move the stop to the entry price.
But I can't seem to get the entry price.
I also can't seem to set a condition that lets it know it has sold 2 of the 3 contracts.
position.avgprice doesn't seem to work here.
position.quantity doesn't seem to work here.