MetaTrader 4 – Experts
(8.sixty nine KB)
[email protected] is an EA that shut orders after outlined revenue or loss.
You can outline if to shut solely trades on present image or to shut all orders on all symbols, to shut solely opened trades or additionally delete pending orders.
- UseProfitToClose = true; – whether it is true the EA will shut trades when the revenue is bigger than outlined revenue to shut
- ProfitToClose = one hundred; – the outlined revenue in account foreign money, when shut trades
- UseLossToClose = false; – whether it is true the EA will shut trades when the loss is bigger than outlined loss to shut
- LossToClose = one hundred; – the outlined loss in account foreign money, when shut trades
- AllSymbols = true; – whether it is true the EA closes trades on all symbols, if false- solely on present image the place EA is hooked up
- PendingOrders = true; – whether it is true the EA closes additionally pending orders, on all symbols or present image is determined by AllSymbols setting
- MaxSlippage = 3; – maximal allowed slippage in pip
- LegendColor = White; – shade of label textual content
- VariablesColor = Gold; – colour of variables
- FontSize = 8; – Font measurement