RAQ

How to use an MT4 ECN broker

Q: My broker is an ECN broker. Does your EA builder work with ECN brokers?


A: Yes.  With an ECN broker, an EA must open all trades with stoploss and takeprofit values of zero. 


In VTS, when you set the ECN value to true, your EA will open the trade with zero stoploss and takeprofit values (using the MQL function OrderSend),  and on the next tick, the EA will set the values of the stoploss and takeprofit that are defined in the EA (it sets these values using the MQL function OrderModify).


In the VTS application, the ECN value is set using the Input Manager, as shown below.



 



To get notified about the latest questions and answers, follow us!