Forex Experts - closing a position on the overall profit
An expert who monitors your overall profit. Ovchen useful for those who are experts, many positions are open and you are not able to close the position manually
You set the size of the profit and advisor as soon as income is equal to the set limit - will close all positions.
Exp- Closing of profit or loss to disconnect advisers
Closing of profit, items,% + option to turn off all the advisers in the account after the close
slose = "= 1 - profit, -Item 2, 3 -protsenty =";
TypeofClose = 1; - The type of closure
TypeOrder = "- 1 = All orders 1-Sell, 0 = Buy";
OrderToClose = 1; - The type of position to close
MagiccOrder = "- 1 = All orders";
MagikToClose = -1; Magik position calculation and closing
SymbolOrder = "- 1 = All symbols, 1 Current character";
SymbolToClose = "1", and the symbol to calculate the closing
CloseProfit = true; // Close +
prifitessss = 10; How much amount of close to +
CloseLoss = false; // close -
lossss = -10; How much amount of close to -
Orderdelete = true; // Delete otlozhki in case of closure
OFFAllEaAfterClose = false; // Turn off all advisors and scripts after the close of the profits.
Version updated Added check for re-quotes when closing the order.
Now, orders are closed forcibly, regardless of the server message.
-Copy Expert pope experts your terminal
-Drag Expert on any graph where the experts are not.
Press "Allow live trading.
-In The top menu, click "Expert Advisors". "
-Smayl Upper right corner should smile.
: Experts ready to go! Expert Settings:
Zakrytiepopribyli = true; // Enable expert in the closure of profits
profit = 0; // Number of profit in the deposit currency, total, for closing orders advisor
Zakrytiepoubytku = true; // Enable expert in the closure of loss
Loss = 0; // Number ubytkav deposit currency, total, for closing orders advisor
slippage = 0; // Slippage