The documentation for OrderType() enumeration suggests 0 through 5. However, there does seem to be two undocumented enumerations, type 6 (balance) and type 7 (credit).
Thanks for your help.
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi everybody,
I'm making a software who works with metatrader, just now I have sended all history at my database, property OrderType is between 0 and 5 but I see who there is other values.
Value 6 like a deposit and 7 like a bonus, have you the complete list of values?
In attachment you can see a screen shot with record of database
Thanks