The only index that I can get to work without error in your code is Values[1] for TrueRange. I'm a bit confused by the fact that it would be 4, as the plot indexes are set from 0-2, so logically the next index should be 3. Admittedly I hadn't tried 4 because I thought it was out of range, but I've tried 4 and 3 now and it also doesn't work for me. If the TrueRange index is set to 1 the code compiles, but it always plots this as the 2nd plot.
Edit - I think I figured out what I was doing incorrectly, which was the setting of the 2nd plot. Value[0] sets the primary plot, but for the other plots I should've used Values[index of plot][0]. instead of Value which is for the primary plot. That seems to have fixed the problem.
Comment