i've a nice problem to scale out 2 contract,
i do the enterlong 2 times, one to contract (not setting the quantity at 2) because i want to give at every entry a different name...
EnterLong(1,"Long1"); EnterLong(1,"Long2");
SetStopLoss("Long1",CalculationMode.Ticks, 8, false);
SetStopLoss("Long2",CalculationMode.Ticks, 8, false);
SetProfitTarget(Long1",CalculationMode.Ticks, 8);
SetProfitTarget("Long2",CalculationMode.Ticks, 16);
In this case, which is the mode to do this? Which is the mode to detect profit target of first contract is hitted? Or is there a way to know the number of contract i actually have in market (in this mode, when i have only 1 contract, i change stoploss)?
Another question: when i have 2 contracts in position, the object Position. ... which is the contract to refer this object? Both? Only the first? only the second?
Thanks to all !!
wyatt

Comment