I kindly ask for help with these 2 codes.
One colors the background of the graph, pink and green depending on the direction of 2 averages, and the other draws vertical lines in white and black.
The overlapping of the 2 codes colors the vertical lines on the main graph in a different color than the one programmed, as can be seen from the attachments.
Thank you