Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Memory usage

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Memory usage

    Hey guys. I know how useful the PlotColors[] series is in NT7 and why it was needed for line plots. Here is the question. Consider these two options:

    1) Three plots of different colors for a multiple color hash line - NT6.5 and NT7

    2) One plot and three PlotColors for the same scenario - NT7 only

    Number 1 uses three series and number 2 uses 4 series. What are the memory ramifications when using multiple colors as in number 2? If not needing to join line segments would it be better to still use multiple plots to reduce memory requirements?

    I have been curious for some time and finally thought I'd ask.

    Dan
    eDanny
    NinjaTrader Ecosystem Vendor - Integrity Traders

    #2
    Hi Dan, that's good question - thanks for posting it - correct the general series requirement for option 1 would be less, but you also need to figure in the general NT7 optimized handling of dataseries objects as the lookback is not 'infinite' unless explicitly set / coded. For your special need I'd believe option 1 is slightly ahead still.
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Thanks Bert. I guess it is something to weigh when an indicator could use 30 different colored plots (NT6.5/7) versus 38 plots/color series (NT7 only) combinations.
      eDanny
      NinjaTrader Ecosystem Vendor - Integrity Traders

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Mizzouman1, Today, 07:35 AM
      0 responses
      2 views
      0 likes
      Last Post Mizzouman1  
      Started by i019945nj, 12-14-2023, 06:41 AM
      6 responses
      66 views
      0 likes
      Last Post i019945nj  
      Started by aa731, Today, 02:54 AM
      1 response
      8 views
      0 likes
      Last Post NinjaTrader_BrandonH  
      Started by BarzTrading, Today, 07:25 AM
      0 responses
      3 views
      0 likes
      Last Post BarzTrading  
      Started by ruudawakening, Today, 12:58 AM
      1 response
      9 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Working...
      X