I don't know MT5 but I know there is no such option in MT4. Not sure whether is there any way to prevent user from opening some position in MT4, even via EA. Myself I use MQL4 self written module in my EA to imidiately close any position which is ...