I am getting an "Object reference not set to an instance of an object" error from the following simple line of code:
ChartControl.ChartStyle.Pen.Color = Color.LightGray;
I cannot understand why this line would throw an error since it is the syntax recommended in the following NT guide:
http://ninjatrader.com/support/helpG...er_11_2010.pdf
Suggestions?
Thank you.
Comment