Daily Loss/Profit limit (MT4)

 

Is it possible to set a Daily Loss Limit based on Daily Equity in the MT4 platform? 

I would like to have an option that the software Closes all Open and Pending orders once the set Daily Loss or Profit are reached. 

Thanks for help!

 
An Expert Advisor can do that with no problem, yep.