I want to open 3 positions at the same time - this is my code:
psize = (int) (Math.Round(((risk / (entry - sl)) * kurs) / 1000) * 1000); tag_1 = "KPF LONG 1 M" +ctf; tag_2 = "KPF LONG 2 M" +ctf; tag_3 = "KPF LONG 3 M" +ctf; Order_1 = EnterLongStop(BarsInProgress, true, psize, entry, tag_1); Order_2 = EnterLongStop(BarsInProgress, true, psize, entry, tag_2); Order_3 = EnterLongStop(BarsInProgress, true, psize, entry, tag_3);
Only the first order goes active. The rest is inacitve.
What I am doing wrong? Please support.
Comment