1. Calculates the previousHigh of the previous candle. 2. Calculates the latestClose using the given formula. 3. Plots the price candle. 4. Checks if the current candle's close is greater than the latestClose. 5. If true, adds a green label and box to mark the breakout candle.