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 warreng86, 11-10-2020, 02:04 PM
        6 responses
        1,359 views
        0 likes
        Last Post mathewlo  
        Started by Perr0Grande, Today, 08:16 PM
        0 responses
        5 views
        0 likes
        Last Post Perr0Grande  
        Started by elderan, Today, 08:03 PM
        0 responses
        9 views
        0 likes
        Last Post elderan
        by elderan
         
        Started by algospoke, Today, 06:40 PM
        0 responses
        10 views
        0 likes
        Last Post algospoke  
        Started by maybeimnotrader, Today, 05:46 PM
        0 responses
        14 views
        0 likes
        Last Post maybeimnotrader  
        Working...
        X