EA works on FXDD but not on FXCM

 

I wrote an EA that works well on FXDD and FXDD Malta. On a FXCM I get the error#130 - invalid stop loss. On FXDD I use ext int =99 and on FXDD Malta I use ext int = 999 and they both work fine. Any ideas???

charlieam99

 

basically with today's brokers you need to craft your EA to first send an order without TP or SL values, then once you have the ticket number follow-up with an ordermodify to actually set your TP and SL