Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

fuzzy candles

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

    fuzzy candles

    I created an indicator with 2 time addseries and when I activate the 2nd series the candles get fuzzy. Does anyone know if this an NT8 issue?
    Attached Files

    #2
    Hello ballboy11,

    Thank you for your post.

    Can you provide the AddDataSeries() function calls from your code? Can you also detail what you mean when you "activate the 2nd series"?

    I look forward to your response.

    Comment


      #3
      if(sInstrumentName == "" || sInstrumentName == null )
      {
      nDataSeriesIndex =0;
      }
      else
      {
      AddDataSeries(sInstrumentName, Data.BarsPeriodType.Minute, nTimeFrame, Data.MarketDataType.Last);
      nDataSeriesIndex = 1;
      }



      when the instrument name is activated and when it reads the market data the candles can get fuzzy if the timeframes are different

      Comment


        #4
        i might have a timeframe of 1 minute on the chart but my second series can be greater than 1 minute and thats when the candles get fuzzy
        not all the time but sometimes

        Comment


          #5
          Hello ballboy11,

          Thank you for your response.

          Would you be willing to let us test out the full code for this on our end? If so, please send the exported file (instructions belows) to platformsupport[at]ninjatrader[dot]com with 'ATTN: Patrick H' in the subject line and a reference to this thread in the body of the email.

          You can export your indicator by going to Tools > Export > NinjaScript Add On > Add > select your indicator > OK > Export > name the file 'NTsupport' > Save. The file will be located under Documents\NinjaTrader 8\bin\Custom\ExportNinjaScript.

          I look forward to your response.

          Comment


            #6
            Hello ballboy11,
            During the indicator development cycle, I have also encountered many of the "fuzzy candles" issues. Each time, it is a result of accessing data that is out of the valid range. After this event, NT8 will continue to display the chart but without completing other additional activities. The appearance of the chart looks "fuzzy". I was able to find the delinquent code by using the Visual Studio debugger, which would stop at the code and provide a description of the error. The data values can then be viewed to find the culprit.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Geovanny Suaza, 02-11-2026, 06:32 PM
            0 responses
            648 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