• 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

forcing plot to be called

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

    forcing plot to be called

    hi, is there are way to force a refresh of the chart so that plot is called?

    Onn

    #2
    Hello Onn,

    Thank you for your note.

    While Update() will not refresh the chart it will force a call of OnBarUpdate(), you may wish to use this in your code. For information on Update() please visit the following link: http://www.ninjatrader.com/support/h...nt7/update.htm

    Please let me know if I may be of further assistance.
    Patrick H.NinjaTrader Customer Service

    Comment


      #3
      Update kind of does the trick.
      This causes a more immediate refresh though: ChartControl.ChartPanel.Invalidate();
      Just thought to post it for others.

      Onn

      Comment


        #4
        Originally posted by onnb1 View Post
        hi, is there are way to force a refresh of the chart so that plot is called?

        Onn
        Code:
        ChartControl.Refresh();

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Mykro, Today, 01:42 PM
        0 responses
        2 views
        0 likes
        Last Post Mykro
        by Mykro
         
        Started by EF Hutton, Today, 01:19 PM
        1 response
        4 views
        0 likes
        Last Post NinjaTrader_PatrickG  
        Started by Mykro, Today, 01:10 PM
        1 response
        2 views
        0 likes
        Last Post NinjaTrader_PatrickG  
        Started by Velhinho, Today, 12:30 PM
        1 response
        5 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by EF Hutton, Today, 12:36 PM
        1 response
        7 views
        0 likes
        Last Post NinjaTrader_Melissa  
        Working...
        X