You may look for the following error codes.
#define ERR_LONGS_NOT_ALLOWED 4110 #define ERR_SHORTS_NOT_ALLOWED 4111Also, doing a AccountFreeMarginCheck() might generate the Error 4110 or 4111. But I'm not sure.
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
I'm Trying to find a function that will tell me the setting of the "Positions" choice box in the "Expert Properties" window -- i.e., only long, only short, or long and short. Can anyone help me?
Thanks.
dennisne