I'm trying to do this with one cancel another if filled:
a. Set profit target at 300 pips
b. Set initial stop loss at 50 pips (upon entry, it goes up/down 50pips)
c. Set trailing stop loss at 100 pips (after it runs)
I uses the following commands:
SetTrailStop("EntSet1", CalculationMode.Ticks, 100, false);
SetProfitTarget("EntSet1", CalculationMode.Ticks, 200);
SetStopLoss("EntSet1", CalculationMode.Ticks, 50, false);
However, it ignored the SetTrailStop and only recognize the SetStopLoss. If I take away, SetStopLoss, then SetTrailStop will work. Is it posible to have all 3 work together?
Regards,
Toyogo
Comment