I want to have the background color of my chart change colors for any given bar IF the following holds true. IF the high of any given bar is higher than the previous 5 bars then change color. I know how to change the color if the statement is true, the issue is that I am only able to make the program look at the 5th bar (offset -5) and it is not looking at bars -1 through -4. I have tried and tried and cant figure out this one very simple step. Please help.
Announcement
Collapse
No announcement yet.
High of the previous 5 bars - true??
Collapse
X
Comment