Error on calling the 'OnBarUpdate' method for indicator 'VolumePRV' on bar 0: VolumePRV.DrawText: startBarsAgo must be greater/equal 0 but was -4
So I changed the value to 4, and another error message:
Error on calling the 'OnBarUpdate' method for indicator 'VolumePRV' on bar 0: VolumePRV.DrawText: startBarsAgo out of valid range 0 through 0
A range of 0 through 0 doesn't sound too helpful... here is my code:
DrawText("PRVnum", "PRV = " + PRVol.ToString(), 0, PRVol+200, Color.White);
Comment