• Get access

Trade Assistant - page 5

To add comments, please log in or register
Sergey Golubev
Moderator
114867
Sergey Golubev  

Percentage of Balance - expert for MetaTrader 5

----------------

The EA closes all positions and removes all pending orders based on the following:

  • Close and delete all:% of profit from Balance - percentage of profit from Balance.
  • Close and delete all:% of loss from Balance - percentage of loss from Balance.
  • Start Balance ('<= 0.0' -> off) - the initial balance - if it is less than or equal to '0.0' - then the parameter uses the balance of the trading accoun.

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.

Percentage of Balance
Percentage of Balance
  • www.mql5.com
Всего три входных параметра: Close and delete all: % of profit from Balance - процент прибыли от Баланса Close and delete all: % of loss from Balance - процент убытка от Баланса Start Balance (' off) - начальный баланс - если он меньше или равен '0.0' - значит параметр использует Баланс торгового счёта Проверка проводится на каждом тике - как...
To add comments, please log in or register