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

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 DJ888, 04-16-2024, 06:09 PM
            6 responses
            18 views
            0 likes
            Last Post DJ888
            by DJ888
             
            Started by Jon17, Today, 04:33 PM
            0 responses
            1 view
            0 likes
            Last Post Jon17
            by Jon17
             
            Started by Javierw.ok, Today, 04:12 PM
            0 responses
            6 views
            0 likes
            Last Post Javierw.ok  
            Started by timmbbo, Today, 08:59 AM
            2 responses
            10 views
            0 likes
            Last Post bltdavid  
            Started by alifarahani, Today, 09:40 AM
            6 responses
            41 views
            0 likes
            Last Post alifarahani  
            Working...
            X