This script uses the highest high from the current time frame and 4990 period back.
Based on this value and considering that the price has a natural will to breakthrough it, retracments are calculated and draw.
The white line represents a possible next target the price will reach. The grren line the highest price from the current time frame and blue lines the retracemts where the price likely reacts as reflexes in a mirror.