Hi jansb000, Can you develope 1 more function that allow EA to close all/lossing trades if loss is reaching X% of account balance ?