Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

MarketAnalyzerColumn Issue

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

    MarketAnalyzerColumn Issue

    I am having issues with "Unhandled exception: Object reference not set to an instance of an object when populating" the analyzer with a list of symbols. The list of symbols is from a Kinetic data feed of live data of stocks. I use this in the market analyzer to follow a list of stocks to use in my futures trading. I have a full license and a funded futures account with ninjabrokerage, so this feed is secondary to the futures data feed.

    Anyway, I created a simple indicator that gives me a binary output of when a particular instrument in a particular time frame has a current live close at a certain percent of the range of the bar.

    There seem to be no issues with the coding as it populates fine with the symbols so long as the coloring condition of the rows is not included in the setup of the market analyzer. In fact, if the market analyzer is populated with the default columns: bid, ask, last, and net change, then the template is applied, which includes the colorization of the condition of the row then no errors show up. If I apply the template first, then I try to populate the list it throws this "unhandled exception" error.

    One other observation, I also created a template that has the indicator columns and does not have the colorization condition, when this is applied first the analyzer populates without any issue.

    This is a workaround of sorts however if I save the workspace, and open it up the next time the Analyzer throws the same exception, then I have to open up a new market analyzer and populate it to go through the entire process anew.

    I'm not certain but it must have something to do with the data feed not being there before the colorization part, which is a simple trinary option of 1, -1, and 0 to color in three different row colors. Is there an addition to the code that I can make to make sure the data feed is there? Of course, the fact that if the colorization of the rows is not present, as in the template without the colorization, this works fine so I'm not sure if that would help.

    So is this an inherant Market Analyzer issue?

    thanks. YT

    #2
    One addition to the above post. I actually don't have -1, 1, and 0 as the trinary option for colorization. I only have the binary -1 and 1. I do have a "hide the row" condition for 0 output from the code.

    Comment


      #3
      Hello Agora001,

      To eliminate anything custom please try this using the SMA indicator and 1 single instrument in the analyzer. Are you able to make a color condition such as if greater than 0 and then see the error? If so please provide the steps using a system indicator so that we can report that to development.

      Comment


        #4
        Hi Jesse,

        Thanks for the quick response. I tried it with the CCI indicator and there seems to be no issue. So it must be my coding somewhere. I'm not sure what it can be since it only throws the error if I leave out the colorization.

        Any ideas?

        Comment


          #5
          Sorry, I meant to say: It only throws the error if I leave in the colorization.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          647 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          369 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          108 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          572 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          573 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X