Just starting out with ninja C#. I have writen the following code,
{
if((High[0] < High[1]) && (High[1] > High[2]));
DrawDot("high", true, 1, High[1], Color.Black);
Print("Condition True");
}
and am getting the following error,
Error on calling 'OnBarUpdate' method for indicator 'HighsTest' on bar 0: Object reference not set to an instance of an object.
Comment