Download MetaTrader 5

How do I check if the symbol is trading in normal mode or auction

To add comments, please log in or register
Launch your trading signal and add account monitoring!
Paulo S.
17
Paulo S. 2015.09.29 19:39 

Hello,

There is anyway to check if a symbol is trading in normal or auction mode?

I'm having problens with auctions in the middle of the day in the USD/BRL market at BMF&Bovespa (Brazil). When a auction starts the robot send thousands of orders.

With the ENUM_SYMBOL_TRADE_MODE there are some indentifiers:

Identifier

Description

SYMBOL_TRADE_MODE_DISABLED

Trade is disabled for the symbol

SYMBOL_TRADE_MODE_LONGONLY

Allowed only long positions

SYMBOL_TRADE_MODE_SHORTONLY

Allowed only short positions

SYMBOL_TRADE_MODE_CLOSEONLY

Allowed only position close operations

SYMBOL_TRADE_MODE_FULL

No trade restrictions

 Does anyone know if when the auction starts the symbom change to disabled? SYMBOL_TRADE_MODE_DISABLED

There is any other way to check if it's on auctioning mode? So I can stop trading during this period

 Thank you

To add comments, please log in or register