if (Volume[0] >= Volume[1] * 1.10)
DrawDiamond("Volume Spike" + CurrentBar, 0, Low[0] - TickSize, Color.Red);
it compiles fine but when I apply it nothing shows up on the screen and I get the following error message in the log:
Error on calling the 'OnBarUpdate' method for indicator 'AAATest' on bar 0: Index was out of range. Must be non-negative and less than the size of the collection.
Any ideas on what the problem might be? I am running 6.0.1000.9.
Thanks

Thanks for the incredibly fast answer.....
Comment