Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

MA indicator RAM cost

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

    MA indicator RAM cost

    I'm concerned with RAM usage optimization when running Market Analyzer and got a question along these lines. I've read somewhere in this forum that having one entry in MA with an indicator is like having a graph with that indicator. Now, when loading data for a symbol list with one of them being incorrect, I got two popup error messages about this symbol and four identical error log entries. I had two indicator columns in that MA template. Does this mean that each new indicator column is like yet another chart (rather than plotting the second indicator on the same one)? Correct me if I'm wrong.

    #2
    It is not completely the same. Indicators are calculated to display their values. When adding an Indicator column in the Market Analyzer, the indicator will be calculated to display its value.

    When you have two Indicator columns, two indicators get calculated for the instruments selected in the Market Analyzer.

    Please see the following link that will provide performance tips to reduce RAM usage.
    JasonNinjaTrader Customer Service

    Comment


      #3
      Well, how would you comment on the following case. To save on plotting three different indicators, I am using one indicator IND that has three output values A, B, C. I conduct two tests in identical conditions for same instrument list (having updated historical data beforehand and restarted NT before each test run):

      (i) Connect to data provider, bring up MA, make two columns ("Instrument" and "IND-A"), load data.

      (ii) Connect to data provider, bring up MA, make four columns ("Instrument", "IND-A", "IND-B" and "IND-C", IND in all columns has parameters and time series identical), load data.

      I've counted RAM consumption during these two test hoping it would be equal. Turned out not to be the case, and the second run takes 60% more. Why NT performs several calculations of the same thing? This programming sloppiness may cost me dearly because I'm hitting RAM limit with my tests and it looks like I would have to change my laptop to get more memory, all because of essentially nothing.
      Last edited by billitin; 12-22-2008, 03:31 AM.

      Comment


        #4
        The RAM usage is increased in test 2, since more values are calculated than in test 1.

        NinjaTrader 7 will have improvements in regards to memory consumption.
        JasonNinjaTrader Customer Service

        Comment


          #5
          I think know what you mean, and then things are even worse than I supposed. I tried to load that one indicator with three output values, and displayed only one of them in MA. When loading data, NT stumbled on one symbol and gave me error "can't load data" 3 times. It looks like every new output value I'm creating inside an indicator is initialized with its own copy of bar data, is this right?
          Last edited by billitin; 12-23-2008, 12:48 AM.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by arvidvanstaey, Today, 02:19 PM
          4 responses
          11 views
          0 likes
          Last Post arvidvanstaey  
          Started by samish18, 04-17-2024, 08:57 AM
          16 responses
          61 views
          0 likes
          Last Post samish18  
          Started by jordanq2, Today, 03:10 PM
          2 responses
          9 views
          0 likes
          Last Post jordanq2  
          Started by traderqz, Today, 12:06 AM
          10 responses
          18 views
          0 likes
          Last Post traderqz  
          Started by algospoke, 04-17-2024, 06:40 PM
          5 responses
          48 views
          0 likes
          Last Post NinjaTrader_Jesse  
          Working...
          X