I’m not able to maximize my good trades because I exit too late. How do you detect the end of a trend?
Really depends on your strategy or how you trade as to what is ‘too late’.
But I would define an end of a trend as a new lower low for an uptrend or a new higher high for a downtrend.
If you are in a position that is following a trend, get out and ban your profits as soon as price pulls back against the trend. You can consult the average true range indicator if you want guidance on far is far enough, or you could set a short-term moving average and get out when price breaks through this in the opposite direction to the trend.
If and when the pull-back ends, get back in with the trend direction and start again. Price pull-backs are both exit and entry signals - they are a sign the trend is ending but if the pull-back fails its a sign the trend is continuing.
Although it would kind of depend on the strategy you follow, but you can exit when the price pulls against the trend.
Set take profits based on your strategy and skills. Don’t wait for the trend to end or to reach at the end. Ask yourself how far you can predict market. If you can predict 20 pips that 20 pips is yours. No matter how much market is moving. So focus on what you are good at.