• 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 harjinderjit, Today, 08:24 PM
        0 responses
        16 views
        0 likes
        Last Post harjinderjit  
        Started by Againmain1, Today, 03:04 AM
        1 response
        24 views
        1 like
        Last Post NinjaTrader_ShawnB  
        Started by jmahon, Yesterday, 11:44 PM
        1 response
        17 views
        0 likes
        Last Post NinjaTrader_ChrisL  
        Started by Tomhgriff1, 01-03-2020, 04:07 AM
        4 responses
        49 views
        0 likes
        Last Post bkonia
        by bkonia
         
        Started by cary1267, Today, 09:37 AM
        1 response
        25 views
        0 likes
        Last Post NinjaTrader_ShawnB  
        Working...
        X