I am currently creating my own addon, inspired by an example I found on the NinjaTrader forum: https://forum.ninjatrader.com/forum/...considerations.
The specific example I am using is called 'ChartTraderCustomButtonsExample_NT8,' which I downloaded from this link: https://forum.ninjatrader.com/filedata/fetch?id=909605.
In my strategy, I have tried to retrieve the value of the 'QuantityUpDown' and the state of the checkbox, but unfortunately, I am getting the following error message: 'OnBarUpdate method on bar 0: Object reference not set to an instance of an object.'
As a result, the strategy remains disabled and does not function correctly.
I have attached the addon and the strategy.
How can I resolve this issue?
Thank you in advance for the time you spend helping us
Comment