• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

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.

    http://ninjatrader.com/support/helpG...ghtsub=refresh

    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 ballboy11, Today, 05:22 PM
          0 responses
          3 views
          0 likes
          Last Post ballboy11  
          Started by ballboy11, Today, 04:33 PM
          2 responses
          4 views
          0 likes
          Last Post ballboy11  
          Started by dedouglas, Today, 03:16 PM
          1 response
          7 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by TradeMyth, Today, 02:45 PM
          3 responses
          26 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by Ticnician, Today, 01:46 PM
          1 response
          10 views
          0 likes
          Last Post NinjaTrader_Jim  
          Working...
          X