In sample indicator, we see "OnMarketDepth" example usage. However, there is used :
lock (e.Instrument.SyncMarketDepth)
however, per my doubts, that locks and sometimes delays WHOLE NINJATRADER (i spoted that in the DOM for specific symbol, was not being updated when I have applied a complex indicator for that symbol's chart).
So, my question is : is not it better to "clone/copy" that object and continue further code with cloned object, instead of the `e.Instrument.MarketDepth` ?
For example, using Cloning ,so, we didn't used the `lock` at all?
Comment