The EA/Script shall close all open/pending orders, if equity amount = X is reached.
In general there should be 2 fields, where the amounts can be inserted.
Current Equity = 10k EUR
Field 1: 15k EUR (close all positions if euqity = 15k EUR)
Field 2: 5k EUR (close all positions if euqity = 5k EUR)
Detailed Business Requirement/ Specs will follow...