Here we use the bgcolor() function to highlight the chart's background. But we don't colour the background of each price bar. Instead we use the conditional operator (?:) and crossover(). When that function returns true, we make the background purple. Else we use na to disable the coloured background.
This site uses cookies to give you the best experience. Using this website means you're OK with this. You can get more information by viewing our cookie policy.
Please close this message and continue to use the site.