Need to fix ninjatrader error

Job ID: 39630107

Budget: ₹100 – ₹400 INR

Strategy 'name/364554688': Error on calling 'OnExecutionUpdate' method on bar 3251: Index was outside the bounds of the array.
Disabling NinjaScript strategy 'name/364554688'


i wanted to fix this error
code is in Csharp