Commisions and Slippages in MQL5?

Shele  

Are commisions and slippages included in EA automatically?


Thanks.

Eleni Anna Branou  
Shele:

Are commisions and slippages included in EA automatically?


Thanks.

What EA?

Fernando Carreiro  
Shele #: There is no such a thing in OrderSend function as Slippage like in the MT4, so my question is why - is it because it's already implemented into EA or Symbol automatically by MQL5?

Yes, there is also "slippage" in MT5 version of OrderSend. Its called "deviation" in the Trade Request Structure used by OrderSend.

Documentation on MQL5: Constants, Enumerations and Structures / Data Structures / Trade Request Structure
Documentation on MQL5: Constants, Enumerations and Structures / Data Structures / Trade Request Structure
  • www.mql5.com
Trade Request Structure - Data Structures - Constants, Enumerations and Structures - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
Reason: