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 f.saeidi, Today, 08:01 PM
        0 responses
        2 views
        0 likes
        Last Post f.saeidi  
        Started by Rapine Heihei, Today, 07:51 PM
        0 responses
        3 views
        0 likes
        Last Post Rapine Heihei  
        Started by frslvr, 04-11-2024, 07:26 AM
        5 responses
        96 views
        1 like
        Last Post caryc123  
        Started by algospoke, 04-17-2024, 06:40 PM
        6 responses
        49 views
        0 likes
        Last Post algospoke  
        Started by arvidvanstaey, Today, 02:19 PM
        4 responses
        11 views
        0 likes
        Last Post arvidvanstaey  
        Working...
        X