Closing trades by percentage gain per specific pair
Hi, I am working on how to best close positions in my EA. I currently close all positions after a 1% increase in equity. My problem is that I want to close positions only when a specific pair is up 1%. My issue is one pair may be up 2% and another -3% so neither will close and this leads to many positions building up and failing the EA. I attached what I have so far but am struggling with how to rewrite it calculate specifically per pair. Any help is appreciated. Thanks!