This is an auxiliary Expert Advisor. It closes open positions and removes pending orders when the specified profit or loss conditions are met. Profit and loss levels are set in the EA settings in % of an account balance. Only the current profit or loss are taken into account. Additional info on the EA status is displayed in the chart's main window: the current profit/loss of buy orders both as values and the floating scale. The current profit/loss of sell orders and the current total profit/loss are displayed similar way. Margin Call and Stop Out levels are specified as well.
- TakeProfit_Percent - profit level in %
- StopLoss_Percent - loss level in %
- MagicNumber - magic number of orders. If <=0, all orders of a currency pair are taken into account
- color_text - color of text labels
- Slippage - maximum allowed price slippage