- February 20, 2015
- Posted by: ChauSelfmvqbxe
- Category: Expert Advisor
No Comments
1715
1578
votes: 24
Description
Close@Profit 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.
Based on Close at Profit concept from Matus German however together with Commissions, Swaps and modifications in UI.
Input variables
- 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
Source URL:https://www.mql5.com/en/code/11473