I'm developing a multi-Instrument strategy and I want to have a unique StopLoss for each instrument with different percentages.
For example:
EnterLong(BIP1, 1000, "Long " + Inst1); //Inst1 is the name of the instrument
EnterLong(BIP2, 1000, "Long " + Inst2); //Inst2 is the name of the instrument
....
Now I want to set for each order a StopLoss
SetStopLoss("Long " + Inst1, CalculationMode.Percent, 0.02)//2% StopLoss for instrument 1
SetStopLoss("Long " + Inst2, CalculationMode.Percent, 0.04)//4% StopLoss for instrument 2
TX,
Roy

Comment