Trade Assistant - page 5

Sergey Golubev
Moderator
125754
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' - значит параметр использует Баланс торгового счёта Проверка проводится на каждом тике - как...
Sergey Golubev
Moderator
125754
Sergey Golubev  

Trailing Activate - expert for MetaTrader 5

Trailing Activate - expert for MetaTrader 5

For trailing, a new parameter ' Trailing activate if profit is >= ' is used - this is essentially a breakeven for trailing. Trailing activates only after the position reaches profit in ' Trailing activate if profit is >= ' Points.

Trailing Activate
Trailing Activate
  • www.mql5.com
Assistant - works on the current symbol, has the 'Trailing activate if profit is >=' parameter in the trailing parameters