How can I modify the symbol trade execution property ?

 

Hi,

By default, the SYMBOL_TRADE_EXEMODE on the EURUSD symbol is set to SYMBOL_TRADE_EXECUTION_INSTANT. I need to change it to SYMBOL_TRADE_EXECUTION_MARKET and I can't do that.

I have tried with this:

 

   long myMarketExecution = SYMBOL_TRADE_EXECUTION_MARKET;
  
   bool symbolMarketExecution = SymbolInfoInteger("EURUSD",SYMBOL_TRADE_EXEMODE,myMarketExecution);

 

after executing the previous two lines of code the bool variable symbolMarketExecution is true but SymbolInfoInteger("EURUSD",SYMBOL_TRADE_EXEMODE) is still SYMBOL_TRADE_EXECUTION_INSTANT.

 

Thanks to whoever will answer!

Reason: