Seeking "Positions Allowed" Property Setting
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.
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