Bullshit. What a nonsense from my part. I won't post today anymore. My brain seems to have gone to sleep...
You are totally right about the TakeProfit and with building the price difference.
He want's TP to be 8 o'clock price so

TakeProfit = (priceClose() - priceOpen())

he doesn't need those additionally 50 pips. That 50pips were for the SL only...