That easy one. take for free and put some money to charity if you have to much #include <stdlib.mqh> extern int myMagic = 555; extern double TakeProfit =100; extern bool PartialClosing = True; extern int TPDivide = 1; extern double StopLoss =30; ...