Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Indicators start to calculate when data is still loading

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

    Indicators start to calculate when data is still loading

    Hello,

    I have a tedious issue..... I have a personalized indicator that take rather some time to compute and unfortunately , when I connect to my data provider .... it seems that that NT does not wait that all the last data is loaded before calculating ....this has the consequence of freezing NT and after that all the charts I try to load and indicators are blank....see enclosed

    As soon as I shut down the application and restart again , all is working again....

    Do you have any trick to prevent this from happening ? Maybe a check to put in place in the indicator ( if data is loading then do not calculate ) ?

    Many Thanks
    Attached Files

    #2
    Hi gabga100, I could unfortunately not point to a simple check you could put into place here - how do you load / add the data in? Would you see any error message in the NT log tab when the issue occurs on first load?

    Comment


      #3
      Hello,

      I open NT and all my charts are working fine, then I connect to bar charts ....

      then I see that data is loading in the down right window and all my charts start to recalculate... and I get the previously enclosed blank screen ( while data is still loading for the security).....

      And I get this message

      Unable to connect to NinjaTrader data server (64.202.118.179/31654): A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 67.215.65.132:31654

      Comment


        #4
        Thanks, would you get any other log error nothing an issue with the specific indicator applied?

        I understand, if you load the same chart for example without indicator standalone, the display would be normal after loading?

        Comment


          #5
          Hello,

          I am sure it is not an indicator specific issue because the indicator works well if I close NT and re-open once all data for last day has been updated (so it will use all the new data it just downloaded). The problem really happens because the data is still loading . Furthermore I have never had any error in the log related to that specific indicator.

          Once I get this blank chart , then everything is jammed meaning that every time I try to load any data in any charts it fails and return a blank chart ....

          Would you have any idea on how I could code in the indicator , do not update if data is still being loaded ?

          Comment


            #6
            gabga100, unfortunately I could not point you to a generic code sample that would clear this issue up. Rather we would need to reproduce on our end and look into with the script if possible. If you don't mind, please contact us directly via Help >> Mail to Support to continue.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by argusthome, 03-08-2026, 10:06 AM
            0 responses
            85 views
            0 likes
            Last Post argusthome  
            Started by NabilKhattabi, 03-06-2026, 11:18 AM
            0 responses
            47 views
            0 likes
            Last Post NabilKhattabi  
            Started by Deep42, 03-06-2026, 12:28 AM
            0 responses
            29 views
            0 likes
            Last Post Deep42
            by Deep42
             
            Started by TheRealMorford, 03-05-2026, 06:15 PM
            0 responses
            32 views
            0 likes
            Last Post TheRealMorford  
            Started by Mindset, 02-28-2026, 06:16 AM
            0 responses
            67 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Working...
            X