• 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 pstrusi, Today, 02:21 AM
        0 responses
        4 views
        0 likes
        Last Post pstrusi
        by pstrusi
         
        Started by indy73, Yesterday, 10:52 PM
        1 response
        8 views
        0 likes
        Last Post NinjaTrader_EricB  
        Started by priceisking, 05-13-2019, 08:30 AM
        6 responses
        37 views
        0 likes
        Last Post Harry
        by Harry
         
        Started by WgfhqDsdfg, Today, 12:56 AM
        0 responses
        6 views
        0 likes
        Last Post WgfhqDsdfg  
        Started by pjsmith, Today, 12:43 AM
        0 responses
        5 views
        0 likes
        Last Post pjsmith
        by pjsmith
         
        Working...
        X