Problema no valor do ENUM_SYMBOL_TRADE_EXECUTION e SYMBOL_FILLING_MODE ao executar EA

 

Leonardo, você conseguiu elucidar ou identificar a causa do que descreveu?

Obrigado

 
Conrado Carvalho:

Leonardo, você conseguiu elucidar ou identificar a causa do que descreveu?

Obrigado

É a corretora que define quais modos ela aceita para ordens...

Se enviar o modo errado ela recusará a ordem...

https://www.mql5.com/en/docs/constants/environment_state/marketinfoconstants

;)

Documentation on MQL5: Constants, Enumerations and Structures / Environment State / Symbol Properties
Documentation on MQL5: Constants, Enumerations and Structures / Environment State / Symbol Properties
  • www.mql5.com
To obtain the current market information there are several functions: SymbolInfoInteger(), SymbolInfoDouble() and SymbolInfoString(). The first parameter is the symbol name, the values of the second function parameter can be one of the identifiers of ENUM_SYMBOL_INFO_INTEGER, ENUM_SYMBOL_INFO_DOUBLE and ENUM_SYMBOL_INFO_STRING. Some symbols...
Razão: