Thanks pipthe trade, a big help. I'll use your formula; when I enter a market order with MBTrading I cannot set a SL or TP, I have to use the "Modify Order" function after the trade is entered. I appreciate your comments as I will be going live very soon. Thanks again, p.