@seb-0
also i found out while testing my broker did lock my demo trading account for hedging violation , i didnt know that till just a few minutes ago. i knew something was wrong because an earlier version of my ea that before placed trades didnt anymore . so made just a simple line cross ea and that didn't work. i called my broker mt4 help desk and they said they locked it because it had to many violations on the DEMO account