PDA

View Full Version : Out of Memory Error with DashPattern plot


sbgtrading
07-13-2010, 08:39 PM
I recently created a plot with a custom DashPattern (see attached NT7.0.0.18 zip file).

This code runs fine in NT 6.5 (except since OnStartUp() doesn't exist in 6.5, I have the DashPattern statement in the Initialize() method instead).

But in NT 7.0.0.18, the line that gets plotted flickers when the chart is scrolled or resized, and sometimes I get an "out of memory error" because of it and it won't plot at all.

NinjaTrader_Tim
07-13-2010, 10:40 PM
Hi sbgtrading,

I will have someone respond shortly. Thank you for your patience.

NinjaTrader_Bertrand
07-14-2010, 05:11 AM
sbgtrading, could reproduce the flicker effect here but no memory issue so far, which charts / dataprovider / timeframe are you using?