Are you sure about your TakeProfit? I think you wan't the price at 8 o'clock. So it think TakeProfit = priceOpen(); !?