Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

putting my indicator on a fresh chart makes the chart sizing incorrect

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

    putting my indicator on a fresh chart makes the chart sizing incorrect

    Hi,

    When I put my indicator on my chart, the chart is not sized appropriately (like when I press the F button, it resizes),... So what I must do is put the indicator on the chart, then i simply drag the chart to the left a touch, then it resizes properly.

    Is there some chart refresh code instruction I should put in to ensure that the chart resizes properly after my indicator is loaded?
    Last edited by KhaosTrader; 09-04-2016, 12:23 PM. Reason: rework title

    #2
    Hello KhaosTrader,

    Thank you for your post.

    You can utilize ForceRefresh() to refresh the chart. However, this could be related to the plots or drawing tools in the indicator's code. Can you list you code here or send it over to platformsupport[at]ninjatrader[dot]com with 'ATTN: Patrick H - 1566438' in the subject line?

    Comment


      #3
      I rather not send you my code, I will try the ForceRefresh(); where do you recommend putting this? in the code? what event(s)?

      Comment


        #4
        Where ever the values are set You would want to try ForceRefresh. Make sure to test this.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by ScottWalsh, Today, 06:52 PM
        3 responses
        17 views
        0 likes
        Last Post NinjaTrader_Manfred  
        Started by trilliantrader, Today, 03:01 PM
        2 responses
        17 views
        0 likes
        Last Post helpwanted  
        Started by cre8able, Today, 07:24 PM
        0 responses
        1 view
        0 likes
        Last Post cre8able  
        Started by Haiasi, Today, 06:53 PM
        1 response
        4 views
        0 likes
        Last Post NinjaTrader_Manfred  
        Started by ScottW, Today, 06:09 PM
        1 response
        6 views
        0 likes
        Last Post NinjaTrader_Manfred  
        Working...
        X