Choosing to take profit at 2540 is fine, as there is resistance, so defend and wait for a second bottom.
The market does not shift according to human will, so a direct breakout is also possible.
If there is a direct breakout, what we can do is to short at the new resistance level.
However, the overall direction is bullish, and short positions can be taken for quick trades. Holding them long-term is not recommended.
My choice is to wait for a pullback to the new breakout level to go long.
Confirming before going long is more effective than holding without confirmation; these are two different strategies.
I choose the more stable option.