What stopped you when the price was low? don't let the sudden increase make you rush into the market- learn to control your emotions.
This mistake is mostly common to newbies or inexperience traders seeing market green triggers their emotion to enter the market and buy not minding the fact that the price is the peak and about to retrace or pullback thus the consequence is watching their entry turn Red therefore they will have to wait till the price resume or continue with the initial trend or dump massively which result to losses.
One of the challenges of some traders is that they don't know when is the right time to enter the market. Some traders feels when the market is red it is always a wrong time to get into the market to trade. If the green should only be considered as the best time to enter the market, I think it won't always be a right decision. Going into the market when it is green is just greedy sentiment for trading.
This is where experience in trading is utilized a good trader enters the market at the beginning of the trend and target a Take Profit and exit quickly because of high volatility of price i .e a price reversal is imminent.
Sometimes when the market is red it can also be a good time to enter the market if carefully watched. Not all green ends up with profit and not all red ends with loss too.
Traders needs to learn when is the right time to enter the market and not to judge when to enter with a particular signal. Signals are unprecedented and may change faster than it's expected.
Truly at times when the market is green it can be profitable as well but the overall sentiment of the market will have to be bullish thus the trader will enter the market in pullbacks or reversal, however this can be achieved with knowledge in Price Action with the aid of candlestick patterns.