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

NT8 refreshing chart area

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

    NT8 refreshing chart area

    Hello

    How to refresh some rectangular area on chart? I mean some Invalidate() method to invoke indicator OnRender().

    #2
    Hello,

    Thank you for the question.

    You could try using ForceRefresh(), if that does not solve the problem I would suggest posting the reason this is needed as it may be more clear what needs to be done to solve what you are questioning.



    I look forward to being of further assistance.
    JesseNinjaTrader Customer Service

    Comment


      #3
      This helps, ty.

      But in NT7 Plot() method had rect parameter wich was area bounds to redraw.
      Redraw all chart might be over and resource intensive.

      Comment


        #4
        Hello,

        Thank you for the reply.

        NinjaTrader 7 and NinjaTrader 8 rendering are very different, NT8 now uses SharpDX for rendering.

        The supported method would be ForceRefresh() to queue a refresh of the chart, if that is too much overhead, potentially the logic being used needs to be adjusted?

        Can you provide more information on the specific use case? there may be alternative ways to do what you are attempting now that NT8 has more options available on what you can do.

        I look forward to being of further assistance.
        JesseNinjaTrader Customer Service

        Comment


          #5
          *250ms is minimal refresh interval.

          Last edited by ren37; 06-06-2016, 02:32 PM.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by CortexZenUSA, Today, 12:53 AM
          0 responses
          1 view
          0 likes
          Last Post CortexZenUSA  
          Started by CortexZenUSA, Today, 12:46 AM
          0 responses
          1 view
          0 likes
          Last Post CortexZenUSA  
          Started by usazencortex, Today, 12:43 AM
          0 responses
          5 views
          0 likes
          Last Post usazencortex  
          Started by sidlercom80, 10-28-2023, 08:49 AM
          168 responses
          2,266 views
          0 likes
          Last Post sidlercom80  
          Started by Barry Milan, Yesterday, 10:35 PM
          3 responses
          13 views
          0 likes
          Last Post NinjaTrader_Manfred  
          Working...
          X