Close@Profit – peritus in MetaTrader 4

0
(0)

Close@Profit - peritus in MetaTrader 4

Jan Kafka

Views:
940
Rating:

votes: 5

Files:

Descriptio

Close@Profit is an EA that close orders after defined profit or loss.

You can define if to close only trades on current symbol or to close all orders on all symbols, to close only opened trades or also delete pending orders.

Based on Close at Profit idea from Matus German but including Commissions, Swaps and changes in UI.

Input variables

  • UseProfitToClose = true; - if it is true the EA will close trades when the profit is greater than defined profit to close
  • ProfitToClose = 100; - the defined profit in account currency, when close trades
  • UseLossToClose = false; - if it is true the EA will close trades when the loss is greater than defined loss to close
  • LossToClose = 100; - the defined loss in account currency, when close trades
  • AllSymbols = true; - if it is true the EA closes trades on all symbols, si falsum- only on current symbol where EA is attached
  • PendingOrders = true; - if it is true the EA closes also pending orders, on all symbols or current symbol depends on AllSymbols setting
  • MaxSlippage = 3; - maximal allowed slippage in pip
  • LegendColor = White; - color of label text
  • VariablesColor = Gold; - color of variables
  • FontSize = 8; - Font size

Close@Profit - expert for MetaTrader 4 1

Ultima commenta | Vade ad disputationem (1)
Hongliang Liu
Moggy | 12 Jul 2014 at 08:19

how to make sure all the orders closed with no error?

OrderClose and OrderDelete maybe wrong when you close or delete orders

if some orders are not closed in for clause,they may not be close later,as the total profit not match your condition anymore

FYI

Quam utile fuit hoc post?

Click on a stella ad rate it!

Mediocris rating 0 / 5. Suffragium Comitis: 0

Nulla suffragia usque! Primus ad rate esto post haec.

Dolemus quod haec posta tibi non utilis fuit!

Emendare post haec!

Dic nobis quomodo hanc postem emendare possimus?



Author: Praenomen to Team
Nos sumus quadrigis maxime peritus congue mercatores [2000-2023] qui vitam nostram vivendo sunt addicti. Primarium propositum nostrum est libertatem ac libertatem attingere, et sui educationem secuti sumus et in Forexino foro peritia multa consecuti sumus ut media ad vitam sustinendam sui sustentandam..