....
private double myVar = 0.0;
.....
protected override void Initialize()
{
CalculateOnBarClose = false;
TraceOrders = true;
}
protected override void OnBarUpdate()
{
ADX(8)[0] = MyVar;
Print("Value = " + MyVar.ToString());
}
Reading the help file on error code CS0200 says I should use the set() method. Can somebody enlighten me on this? I cannot find the set() method in NinjaTrader documentation.
Comment