This is actually easy. and I realized this recently. I think emotions arise because we are not really ready. we are not ready to lose, and fear, and sometimes it is not over. The most dangerous is greed. This can actually be overcome by always placing a stop loss, use a small lot, set a target, do not stare at the screen to see continuous trade. This is proven to be able to overcome emotions. this is why EA can survive more than a trader with a bad system with a good system. it's because of discipline. but unfortunately EA can't solve every problem like a man, that's the weakness of EA.