Percentage of Balance - expert for MetaTrader 5
The EA closes all positions and removes all pending orders based on the following:
The check is carried out at each tick - as soon as the size of the Trading Account Funds changes by a specified percentage (in "plus" or
"sine"), the adviser will begin the process of closing all positions and deleting all pending orders. In this case, no exceptions are
made either by symbol or by Magic number. Also, no checks are made on the close location of the stops - the adviser will stubbornly try to
complete his task.