...
I can obtain filling and expiration mode values with SymbolInfoInteger (SYMBOL_FILLING_MODE and SYMBOL_EXPIRATION_MODE)
but I don't find property to get "Type of orders" (in the terminal write as "GTC mode")
Do you have any idea?
EXPIRATION_MODE tells you if GTC is allowed or not.
Not sure I understand your problem.
EXPIRATION_MODE tells you if GTC is allowed or not.
Not sure I understand your problem.
Dear Alain,
In a symbol's contract specification from the "Market Watch" there are two properties:
GTC mode and Expiration.
Press F1 and you can see that help says:
Type of orders — types of orders placed (I think this is the GTC mode)
....
Expiration — available types of expiration of pending orders
Thanks in advance
In MQL5 the EXPIRATION_MODE returns the second parameter, or not?
And how can I obtain first property?
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
A part of the symbol specification from the MT5 help:
Type of orders — types of orders placed:
Filling — available fill policies: Fill or Kill, Immediate or Cancel, Return.
Expiration — available types of expiration of pending orders:
I can obtain filling and expiration mode values with SymbolInfoInteger (SYMBOL_FILLING_MODE and SYMBOL_EXPIRATION_MODE)
but I don't find property to get "Type of orders" (in the terminal write as "GTC mode")
Do you have any idea?