Can anybody help to code the exit? The rules are: Stop Loss is a fixed number of pips (is realised) Take Profit: Take Profit 1 should be a fixed number of pips and close ¾ of the open lots Take Profit 2 should be either a fixed number of pips or should close the trade at a given time at the same day