OrderTakeProfit() does not show the actual take profit price if you modify the take profit value of the order, it shows the original value (it was 0 in my case) present there before modifying.
Is this a normal behaviour or known bug?
Of course it's normal. Nothing will ever change until you select the order again. OrderClosePrice won't change until you RefreshRates and then re-select. www.mql5.com/en/forum/158890/page3#comment_3812636
Thank you so much.